Thousands of variations per product causing failed backend queries.
-
Some Context
Our client has products that are provided by fire departments all over Washington and Oregon. There are only 12 products being offered, however these products have 300-9,000 variations – 50k+ in total.
The department attribute is responsible for a majority of the variations and is quite important, as it allows users to know which products are available based on their location/jurisdiction.
The Issues
The store listings and product page on in the admin would often crash, so I custombuilt both views to avoid WooCommerce having to run through all variations to determine a price range. I couldn’t find a way around that without having to touch the plugin’s code itself.
Outside of that, I continue to experience long load times when filtering the products on the product pages and see a ton of killed queries in our WPEngine Error Logs.
Here’s an example:
Any recommendations on how to get around this would be greatly appreciated! I can also provide a full error report if necessary.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.