Shipping rates or totals are not updated after some action

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

However, due to the extreme variability of Shopify themes, apps and customisations, it 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:

That way, we ensure that the widget content will be refreshed after the 'Remove' link is clicked on.

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