• Resolved prk13

    (@prk13)


    Hi,
    I use this shortcode for random order products
    [products limit=”4″ column=”4″ category=”name_category” orderby=”rand” order=”rand”].
    This works well only when I refresh page with WPBakery Page Builder/because it doesn’t cache data/. I use caching plugin – WP Fastest Cache/with excluded file – products.php/.
    I would like the products to change at random when the page reloads. Can you help me please ?

    Regards: PRK13

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Caching plugins by their very nature means that the products displayed with be cached (along with the order in which they’re displayed). Practically this means that that showing a random order is only possible when the cache is cleared/flushed.

    Thread Starter prk13

    (@prk13)

    What can I do to automatically delete cache only from products?

    • This reply was modified 4 years, 9 months ago by prk13.
    Plugin Support abwaita a11n

    (@abwaita)

    Hi @prk13,

    Just to give some input here, you will want to check with the plugin support of the cache plugin you’re using on how to achieve that. Here’s their support forum: https://wordpress.org/support/plugin/wp-fastest-cache/

    Hopefully, they will be able to guide you further on how to configure their plugin.

    That said, this thread has been inactive for a while so I will go ahead and mark it as resolved. However, please feel free to create a new thread if you have any core WooCommerce plugin questions.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cache problem with random order products’ is closed to new replies.