Home Forums Basel support forum Slide Out Cart Not Reloading Discounted Price

Slide Out Cart Not Reloading Discounted Price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #128498

    engineroomweb
    Participant

    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

    #128509

    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

    #128510

    engineroomweb
    Participant

    Thanks you. Is there a JS function to refresh the cart total and mini cart in full?

    #128528

    Artem Temos
    Keymaster

    Here is a solution that should help you to refresh the cart widget manually https://stackoverflow.com/questions/41782403/force-woocommerce-to-update-fragment

Viewing 4 posts - 1 through 4 (of 4 total)