From 28dc96217a1dcf5212d9b2338830327900e8c50a Mon Sep 17 00:00:00 2001 From: magiccart Date: Wed, 27 Sep 2023 22:52:20 +0700 Subject: [PATCH] Update Snippet.php --- Block/System/Config/Form/Field/Snippet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Block/System/Config/Form/Field/Snippet.php b/Block/System/Config/Form/Field/Snippet.php index cda5530..5dc0f7d 100644 --- a/Block/System/Config/Form/Field/Snippet.php +++ b/Block/System/Config/Form/Field/Snippet.php @@ -28,7 +28,7 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract // $html = $element->getElementHtml(); $html = ''; $value = $element->getData('value'); - $shortcodeWidget = '{{Block class="Magepow\Categories\Block\Widget\Categories" title="Magepow Categories Widget" subtitle="Magepow Categories Widget" template="categories_widget.phtml" sort_attribute="name" description="1" thumbnail="1" item_amount="1" categories="25,11,22,33" slide="1" vertical="false" infinite="true" autoplay="true" arrows="true" dots="false" speed="300" autoplaySpeed="3000" padding="15" rows="1" mobile="1" portrait="1" landscape="2" tablet="3" notebook="3" laptop="4" desktop="4" widescreen="4" visible="5"}}'; + $shortcodeWidget = '{{block class="Magepow\Categories\Block\Widget\Categories" title="Magepow Categories Widget" subtitle="Magepow Categories Widget" template="categories_widget.phtml" sort_attribute="name" description="1" thumbnail="1" item_amount="1" categories="25,11,22,33" slide="1" vertical="false" infinite="true" autoplay="true" arrows="true" dots="false" speed="300" autoplaySpeed="3000" padding="15" rows="1" mobile="1" portrait="1" landscape="2" tablet="3" notebook="3" laptop="4" desktop="4" widescreen="4" visible="5"}}'; $html = '