This question already has an answer here:

I want disable cache for price block. I was trying for last 2 days but I can't achieve it yet. I almost read all blogs and articles regarding this. And I realize that there is no block for price thing at all. I just looked up in my layout files and there is no block for this except only one thing,

<block type="catalog/product_price_template" name="catalog_product_price_template" /> 

But when I remove this nothing was happening. Is there any specific block for it ? Or I missed something ?

And I tried template path hints to view the block name. It shows the class name of that block like Mage_Catalog_Product_Price

Please help me guys.

marked as duplicate by Fabian Blechschmidt, Marius May 29 '15 at 8:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Did you find a solution for this. If yes, feel free to answer your own question – Rajeev K Tomy Feb 15 '15 at 8:31
  • Use below code . It maybe work for you <block type="catalog/product_price_template" name="catalog_product_price_template" > <action method="setCacheLifetime"><lifetime>1</lifetime></action> </block> – Shorabh Jul 21 '18 at 6:35

Instead of this

<block type="catalog/product_price_template" name="catalog_product_price_template" />

use this ...........

<block type="catalog/product_price_template" name="catalog_product_price_template" >
         <action method="setCacheLifetime"><s>null</s></action>

I would recommend reviewing your theme/template in more detail. To help facilitate this https://github.com/AOEpeople/Aoe_TemplateHints is great at identifying blocks that are being cached or not.



Cache problem - prevent my module block to be cached

Not the answer you're looking for? Browse other questions tagged or ask your own question.