Magento 2: How to use cacheable=false in referenceBlock?
-
14-04-2021 - |
質問
I want to set cacheable=false
in referenceBlock, Can anyone help to set up this, please.
Any help would be appreciated. Thanks in advance.
解決
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
所属していません magento.stackexchange