Products price and cache
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Products price and cache
Hi,
I'm having cache troubles with the prices of the products. When I add/change/disable/enable a price, it's not updated on the frontend unless I empty the cache. By consequence, I've different prices depending on the view and language.
I wonder if there is a way to overcome this issue without disabling the cache. I've taken a look at the function modifyBody() but I don't know how can I use it for this purpose.
I'm using aimeos 2019.10 version with Laravel ^6.0 and PHP ^7.2.
Thanks a lot for your help.
I'm having cache troubles with the prices of the products. When I add/change/disable/enable a price, it's not updated on the frontend unless I empty the cache. By consequence, I've different prices depending on the view and language.
I wonder if there is a way to overcome this issue without disabling the cache. I've taken a look at the function modifyBody() but I don't know how can I use it for this purpose.
I'm using aimeos 2019.10 version with Laravel ^6.0 and PHP ^7.2.
Thanks a lot for your help.
Re: Products price and cache
The content cache should be automatically cleared when you save the product by this decorator:
https://github.com/aimeos/ai-admin-jqad ... /Cache.php
Please note that 2019.10 isn't supported any more and you should upgrade to a later version. Alternatively, the Aimeos company offers extended LTS support up to five years: https://aimeos.com/support#c428
https://github.com/aimeos/ai-admin-jqad ... /Cache.php
Please note that 2019.10 isn't supported any more and you should upgrade to a later version. Alternatively, the Aimeos company offers extended LTS support up to five years: https://aimeos.com/support#c428
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Products price and cache
My bad!!
Actually, I've had overridden the product decorators configuration when adding my own decorator and I didn't notice that I was missing the Cache decorator.
Thank you so much for your help and fabulous work.
Actually, I've had overridden the product decorators configuration when adding my own decorator and I didn't notice that I was missing the Cache decorator.
Thank you so much for your help and fabulous work.