• Resolved tores54

    (@tores54)


    Found a problem on my site, I’m using cloudpanel V2, it’s compatible with woocommerce and Varnish Cache. Everything works fine except regenerate_product_attributes_lookup_table when Varnish cache is enabled. The product availability is updated, but the product filter has outdated data. It is obvious that regenerate_product_attributes_lookup_table does not work and is most likely cached. Perhaps you can tell me what exceptions to add to Varnish so that regenerate_product_attributes_lookup_table works (if you disable Varnish, this function works)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tores54

    (@tores54)

    I’m sorry !

    Having tested my site more thoroughly, I found that the problem is not in the cache, but in updating the product through WP ALL IMPORT.

    That is, when the product is updated through the plugin every day by cron, the regenerate_product_attributes_lookup function does not work.

    I specifically created a new site for testing https://sraka.store, without caching and everything superfluous.

    I update the product through wp all import and go to the filter of products, the variations of which are not available in the filter, but if you update the product manually, then everything is OK, immediately the variants of which are not available are sold from the filtering, and also if you press regenerate the table in the settings all OK.

    Hi @tores54

    Thanks for reaching out!

    I’m glad you were able to find a solution to your issue here and thanks for sharing it with the community too! ??

    I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘regenerate_product_attributes_lookup_table + Varnish Cache’ is closed to new replies.