Checkout Buttons Keeps Spinning When Certain Quantities Are Added

Hello Shopify Community,

I am currently managing a Shopify website that sells ice cream products: https://ketopint.com

It’s using a modified Brooklyn theme.

I am have just started to help them and one of the issues is to fix is the checkout process. Right now, for ice cream pints and ice cream bars, there are minimum quantities that need to be ordered due to shipping. The ice cream pints need to be ordered in amounts of 8, which they can mix and match. If they order 9 - 15, a popup comes up saying that the need to order in amounts of 8, but once you add in 16, the checkout button just spins and spins.

This does the same for the ice cream bars, which need to be ordered in quantities of 6. Once you add 12, the same thing happens.

It’s using Ajax cart and there is a script:

Thanks much in advance for this.

Todd