Answer the question
In order to leave comments, you need to log in
How to solve the problem with sorting goods when caching is enabled?
Hi all!
Added sorting by prices, name, new products, etc. on the site. Ajax included. Everything works great if caching and access rights are disabled. If enabled, then sorting starts working only when the cache is reset and only under the admin panel. Who has experienced this? Tell me where to dig in this case?
Answer the question
In order to leave comments, you need to log in
How is sorting done? If through the sorting parameters of the catalog.section component in the catalog complex component template (section.php and sections.php files), then there should not be such a problem. If you do sorting using php in the catalog.section template (result_modifier.php or template.php files), then this is not the right solution, because. the data is cached there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question