Magento 2: How to use cacheable=false in referenceBlock?
-
14-04-2021 - |
Pergunta
I want to set cacheable=false
in referenceBlock, Can anyone help to set up this, please.
Any help would be appreciated. Thanks in advance.
Solução
The referenceBlock does not support cacheable as an attribute
You have to define cacheable="false" within <block>
not <referenceBlock>
The referenceBlock tag does not support the cacheable attribute. Hope this info helps you.
Let me know if you still have any queries.
Thank You
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange