Shopify themes, liquid, logos, and UX
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
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.
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
User | RANK |
---|---|
136 | |
94 | |
88 | |
61 | |
51 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By