Cart Drawer Does Not Update Automatically (Dawn Theme)

Alternatively if you really don’t want that counter there, you can add this line of Javascript in product-info.js line 61, right where the fetchQuantityRules() function begins.

if (!this.querySelector('.quantity__rules-cart')) return;

This will ensure that the cart still updates even though you don’t have the counter.

1 Like