Closed dmitryzar closed 8 years ago
Hello @myZmage this isn't that easy.
category.one
: {{Block type="catalog/product_list" template="catalog/product/list.phtml" name_in_layout="category.one" category_id="1"}}
local.xml
:<block type="catalog/product_list" template="catalog/product/list.phtml" name="category.one">
<action method="setCategoryId"><category_id>1</category_id></action>
</block>
category.one
to the dynamic blocks.Please note in general, I wouldn't recommend this way. Can you explain why you need to exclude the prices from caching?
Thanks for the reply all happened. Dynamic price is loaded with XML requests from other resources and can, in the case of the cache, do not correspond to reality.
Hello Gordon. Please help me I insert product category on the home page through the CMS.
{{Block type="catalog/product_list"template="catalog/product/list.phtml"category_id="1"}}
I need to exclude from caching the price of goods. I added to the Dynamic Blocks - catalog_product_price_template, but it does not work for CMS pages.Tell me how can I eliminate from the cache in the price derived in this way categories. thank