My Edit Button on my Cart Page doesn't allow customers to change product quantity

Chris_Yen
Tourist
10 0 0

Hi there,

I'm having some trouble with an edit button on my cart page. On a desktop, changing the quantity of products is easy. However in mobile version, it goes from a number indicator to an "edit" button, which in turn, does nothing.

https://www.wesco-shop.us/cart 

If anyone could try this on mobile and let me know how I can fix this, I would greatly appreciate it.

Thank you,

Chris

0 Likes
Ninthony
Shopify Partner
1975 296 784

You have an error in your theme.js file that is preventing the rest of the javascript from running. Open theme.js and scroll to about line 2538. Alternatively just look for this code:

 

 

      $(this.selectors.SKU).html(variant.sku);
  });

Change that to this:

 

 

 

      $(this.selectors.SKU).html(variant.sku);
  }
  });

Something didnt get closed out so you just have to add an additional closing curley brace after that line of code. Should fix your problem.

 

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes
JurenBeauty
New Member
1 0 0

Hi I am having the same problem, but I am not very good at coding this is what mine looks like

 

},

_updateSKU: function(evt) {
var variant = evt.variant;

// Update the sku
$(this.selectors.SKU).html(variant.sku);
},

 

 

Thank you 

 

 

0 Likes