Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

magento 2 get layout create block with cache

{{block name="explore-color-section" class="CompanynamePackagenameBlockProductCustomProductCollection" product_id="51,52,53,54,55,56,57,58,59,60,40, 41, 42, 43, 44, 45, 46, 47, 70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90 ,91,92,93,94,95,96,97,98,99,100,101,102,103" cacheable="true" cache_lifetime="86400" template="Magento_Theme::html/explore_color_code.phtml"}}
Source by aureatelabs.com #
 
PREVIOUS NEXT
Tagged: #magento #layout #create #block #cache
ADD COMMENT
Topic
Name
1+1 =