Skip to content

Commit 28dc962

Browse files
authored
Update Snippet.php
1 parent a5c7ffc commit 28dc962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Block/System/Config/Form/Field/Snippet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract
2828
// $html = $element->getElementHtml();
2929
$html = '';
3030
$value = $element->getData('value');
31-
$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"}}';
31+
$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"}}';
3232

3333
$html = '<ul class="categories-snippet" style="list-style: none;"><li>';
3434
$html .= '<p>' . __('Add Widget name "Magiccart Magicslider widget" and set categorie for it.') . '</p>';
@@ -40,4 +40,4 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract
4040

4141
return $html;
4242
}
43-
}
43+
}

0 commit comments

Comments
 (0)