Why are only default selections being added to my cart?

Why are only default selections being added to my cart?

Shane_m
Visitor
2 0 0

Hey All,

 

I'm having some issues adding the correct variants of products to the cart. For almost all items in my store no matter what options are selected, only the default selections are added to the cart. My understanding is that this is a Jquery error. I've tried reverting theme.liquid and other files to their original version to no avail. Console points to line 303 of the gps-custom.js file, but since I'm not particularly proficient in Jquery or the backend of Shopify I'm not sure where to go from there.

 

Each dictionary in the list "icons" should contain a non-empty UTF8 string field "sizes".
good-vibes-feel-good-t-shirt-purple-t-shirt-751199914:1 
Each dictionary in the list "icons" should contain a non-empty UTF8 string field "type". gps-custom.js:303 Uncaught TypeError: Cannot read properties of undefined (reading 'open') at showSuccessAddToCartPopup (gps-custom.js:303:23) at Object.success (gps-custom.js:164:15) at c (jquery.min.js:2:28447) at Object.fireWith [as resolveWith] (jquery.min.js:2:29192) at l (jquery.min.js:2:80176) at XMLHttpRequest.<anonymous> (jquery.min.js:2:82630) showSuccessAddToCartPopup @ gps-custom.js:303 success @ gps-custom.js:164 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 l @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 load (async) send @ jquery.min.js:2 ajax @ jquery.min.js:2 refreshMiniCart @ gps-custom.js:139 success @ gps-custom.js:375 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 l @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 load (async) send @ jquery.min.js:2 ajax @ jquery.min.js:2 (anonymous) @ gps-custom.js:365 dispatch @ vendor.js?v=17187895924092149771688437569:14 g.handle @ vendor.js?v=17187895924092149771688437569:14 jquery.currencies.min.js?v=103050267152202608791688437568:23 Uncaught TypeError: jQuery.cookie is not a function at Object.write (jquery.currencies.min.js?v=103050267152202608791688437568:23:178) at Currency.convertAll (jquery.currencies.min.js?v=103050267152202608791688437568:23:13270) at Object.success (gps-custom.js:170:20) at c (jquery.min.js:2:28447) at Object.fireWith [as resolveWith] (jquery.min.js:2:29192) at l (jquery.min.js:2:80176) at XMLHttpRequest.<anonymous> (jquery.min.js:2:82630)

The gps-custom.js error occurs when adding an item to the cart, and the jquery.currencies.min.js error occurs when removing an item from the cart. Is anyone able to help me out with this? The theme I'm using is Amely 2.0, and the store's URL is https://ozarkapparel.com

 

I've put a lot of work into readying this theme for use and would hate to have to start over.

 

Thanks for reading this and potentially helping me,

Shane M.

Reply 1 (1)

Shane_m
Visitor
2 0 0

Resolved. I looked for a way to delete this post but don't see anything obvious.