Looking for some help from you Shopfiy coders out there.
This issue seems to have just cropped up, but in IE and Chrome only, our add to cart buttons are suddenly just adding random quantities to the cart. We have a pretty heavily customized theme, but the issue is new. We've tried stripping down the product.liquid and cart.liquid pages to bare bones and still the issue persists.
Complicating matters is the fact that we have the exact same code on the dev version of the store and it behaves differently - not necessarily correct, but differently. VERY frustrating. Any help would be much appreciated.
Here's the site so you can see the behavior:
Try add to cart directly from the collection page or from the product detail page, both exhibit the behavior in Chrome and IE.
When I click the Add to Cart button there seems to be multiple requests sent to the add url which will add a product to the cart.
Hi Ryan, thanks for the reply. We are the developers, and we're completely stumped. We've disabled everything we can think of, and still we're getting this behavior in Chrome and IE. Was hoping someone might have run into this before and could shed some light because we have tried just about everything to resolve this.
On first glance it looks like the script from recurhub.com is the cause. You can track the source of the add calls back to their script.
I don't see the issue with js disabled.
To further that thought you can see your store has multiple instances of the recurhub code being added:
var urls = ["https:\/\/www.recurhub.com\/shopify.js?shop=salazon-chocolate-co.myshopify.com","https:\/\/www.recurhub.com\/s..."];
Multiple additions likely mean multiple instances in which their code will run. Time for you to talk to recurhub I think.
I'll definitely check into the recurhub script.