Slide Out Cart Not Reloading Discounted Price
-
Hi there,
We are using “WooCommerce Dynamic Pricing & Discounts” plugin, if you add the items to the basket 5 boxes at a time the first discount level is reflected in the slideout cart when it is reached (10 boxes) but the second level of discounts (15 boxes) is not shown unless you do a refresh of the page.
I have spoken to the plugin developer and it is an issue with the cart not updating. Is there a JS hook or function we can use to update the cart price when the item is added to the basket?
Thanks for any help
Hello,
Our theme doesn’t have any custom events or hooks in JS when the item is added to cart. It uses standard WooCommerce actions so they should be able to attach their hook to the WooCommerce action.
Best Regards
Thanks you. Is there a JS function to refresh the cart total and mini cart in full?