Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • This still does not work properly, it will be related to the fact that WooCommerce disabled the cart fragments script from being enqueued on all page routes of a WooCommerce store by default.

    You will need to either enqueue it yourself or write your own js to re-load the mini-cart yourself on each page load

    Is it not possible to make Breeze auto-purge cache for products updated via REST Api? The functionality for Breeze to see product changes made via the REST Api exists within the woocommerce hooks. This would help with people who integrate custom EPOS or CRM software to control their website

    • This reply was modified 2 years, 10 months ago by scotweigh.
    Thread Starter scotweigh

    (@scotweigh)

    Hi, I added the below lines of code which seems to have stopped the error:

    Inside function purge_post_on_update_content of the purge-cache.php I added “global $wp_rewrite;” as the first line inside the function, and then I added “$wp_rewrite = new wp_rewrite;” after “if ( true === $update ) {“

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