Der Shop wird nicht richtig funktionieren, wenn Cookies deaktiviert sind.
Widget Test
Product Attachment for SKU 2S1000:
Sample Code for template.phtml Integration including Parameters widget_type (Type Value) & product (Product ID):
<?php echo $this->getLayout()->createBlock("Amasty\ProductAttachment\Block\Widgets\AttachmentsList")->setWidgetType("4")->setProduct("58")->toHtml(); ?>
References:
- Widget Logic and required Params: app/code/Amasty/ProductAttachment/Block/Widgets/AttachmentsList.php
- Widget Types: app/code/Amasty/ProductAttachment/Model/SourceOptions/WidgetType.php
© 2023 GSAB Elektrotechnik GmbH - Alle Rechte vorbehalten.