What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: "Add to cart" isn't working

Solved

"Add to cart" isn't working

Gustavmuller
Tourist
10 0 1

Hi, my "Add to cart" button isn't working on my page. 

When I try to add anything to the cart after choosing size the "add to cart" button isn't working, like you cant click on it.

My webside is Mizplaced.com

Accepted Solution (1)
lynth
Shopify Partner
140 6 16

This is an accepted solution.

Did you fill in the metafields correctly? Are you sure there’s nothing unusual pasted there? It’s hard to pinpoint the cause of the problem. Try clearing the metafields for one product, adding them again, saving changes, and then checking if it works.

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!

View solution in original post

Replies 17 (17)

lynth
Shopify Partner
140 6 16

Hi, could you please give me the URL for your store? I'll take a look at it using the webdev console (mizplaced.com doesn't work)

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Gustavmuller
Tourist
10 0 1

https://mizplacedcph.com/ 

Sorry here is the right one

 

Gustavmuller
Tourist
10 0 1

Password: Gum-garments

lynth
Shopify Partner
140 6 16

Have you made any changes to product-form.js? It'd be great if you could check that your product looks okay in the CMS. It might be that you haven't filled in some of the necessary fields. I think there might be a few issues when changing a product's variant too.

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Gustavmuller
Tourist
10 0 1

I just tried with a fresh theme from shopyfi so without any coding, the problem is stil there so is it maybe something with my products?

 

Gustavmuller
Tourist
10 0 1

It is working with the first product but not with the others

 

lynth
Shopify Partner
140 6 16

Try to duplicate the working one, changing the name or something, and then try adding it to the cart. It might just be a bug, and you will be force to add products again.

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Gustavmuller
Tourist
10 0 1

Tried that, and I have found out that it is working, the problems seems to be when I add Product metafields, as the different items have different information/description, do you know why or how to fix that? appriaciate the helt so far

 

lynth
Shopify Partner
140 6 16

Did you fill in the metafields correctly? Are you sure there’s nothing unusual pasted there? It’s hard to pinpoint the cause of the problem. Try clearing the metafields for one product, adding them again, saving changes, and then checking if it works.

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
lynth
Shopify Partner
140 6 16

This is an accepted solution.

Did you fill in the metafields correctly? Are you sure there’s nothing unusual pasted there? It’s hard to pinpoint the cause of the problem. Try clearing the metafields for one product, adding them again, saving changes, and then checking if it works.

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Gustavmuller
Tourist
10 0 1

I found the solution, thank you!

lynth
Shopify Partner
140 6 16

No problem! Please mark my answer as the solution if it was helpful. Was the issue with the metafields?

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Gustavmuller
Tourist
10 0 1

Yes it was a problem with the pages attached to the metafields, don't know what exactly what the problem was though. 

Dan-From-Ryviu
Shopify Partner
10320 2046 2118

Hi @Gustavmuller 

Website you provide is incorrect! 

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Gustavmuller
Tourist
10 0 1

https://mizplacedcph.com/ 

Sorry here is the right one

The password is Gum-garments

Dan-From-Ryviu
Shopify Partner
10320 2046 2118

Hi @Gustavmuller 

Did you get the issue after changing something in any of liquid files? Please revert them to the original version one by one and check if it can solve the issue. Screenshot 2024-10-31 at 16.02.19.png

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Gustavmuller
Tourist
10 0 1

I tried from a fresh theme rebuilding the webside without any coding changes, but its only one of the products that works