D
D
Dr Zhmurge2021-09-18 14:45:43
WordPress
Dr Zhmurge, 2021-09-18 14:45:43

What is the optimal way to display all attributes in a Woocommerce category?

Now in the category I cycle through all the products, get the taxonomy terms, remove the repetitions, display the necessary ones . Everything is ok, everything works.
But in categories in which, for example, 40 thousand products, this process takes 7-10 seconds. Even if I load them asynchronously, it still feels like brakes.
Maybe there is some optimal way to get all the attributes of products in a particular category?
Or at least optimize it visually, in terms of user experience.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question