Shipping rates or totals are not updated after some action

Shipping Rates Calculator+ does a neat job of detecting when the cart contents have changed and updating the shipping rates and cart total displayed in the app widget.

However, the extreme variability of Shopify themes, apps, and customizations may fail to update the widget contents after some actions. These actions may include:

  • Opening a drawer cart, a mini-cart, or a pop-up cart
  • Modifying the product quantities, or removing products, in a dynamic cart

If you detect one of those cases, just contact us, and we will fix it for you.

However, if you are tech-savvy and want to fix it yourself, you can do it by following these instructions.

First, identify the jQuery selector of the element that should trigger the widget update:

In our example, the selector for the 'Remove' link would be p.cart__remove

Now, go to the app 'Advanced preferences' and use that value in the 'Refresh the widget when these elements are used' field:

This way, we ensure that the widget content will be refreshed after clicking on the 'Remove' link.

If you need to configure several elements, you can separate their selectors with commas.