Re: 'Add to Cart' button spinning forever (not working) + other website questions

'Add to Cart' button spinning forever (not working) + other website questions

xdAydenxd379180
Visitor
1 0 0

I just noticed an essential part of my clothing brand website is not working correctly; the 'add to cart' button. Upon clicking it, it spins forever!

 

It's still spinning as I type. If somebody knows how to get this button to work correctly, let me know. I'm using the default Dawn Theme. My domain name is 'Hoferr.co.'

 

------ side questions ------

 

There's a few other things wrong with my website I'd like help. I just haven't bothered to ask because Shopify has no customer service email/number aside from these community forums. However I might as well ask them now.

 

- My website displays my products as a list/column. I'm ok with this on mobile, but I'd like the computer web interface to have rows. At least 2-wide

 

- The front page of my website's header says 'enter using password,' with a lock symbol... How do i get rid of this?

 

- I  remember entering descriptions for my clothes in the products menu, where I also assigned prices and sizes. The 'view full details' link under the 'add to cart' button on my websites interface next to each product doesn't show that, or ay info. It only refreshes the page.

 

- Is there a way to get rid of the 'pay in 4-interest payments with shop-pay' button thats next to each product by default?

 

That's it! I'm willing to pay my hard earned college for help with the website. I will seriously pay 20$+ for anybody who's knowledge on this stuff is second nature. Thank you guys anyway 🙂

Replies 5 (5)

Sweet_Savior_3
Shopify Partner
1336 102 138

Hello @xdAydenxd379180 

 

Welcome to Shopify Community

 

There is an error when adding the product to cart. It seems you have altered the code to show the products on the password page. Which is not feasible. 

Sweet_Savior_3_0-1710955847326.png

 

If you are looking to for a developer you can drop the query to the inbox mentioned below to solve the bugs.

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!

beauxbreaux
Shopify Partner
263 21 45
 I notice that in the URL we have the /password. Have you tried entering the password for the login and then clicking the add to cart button? 

The error you're encountering is likely due to the routes.cart_add_url and window.routes.cart_url references within the onSubmitHandler function. The routes object seems to be expected to contain URLs for cart operations, but it's not defined within the provided code or the surrounding context.

We would need to first test to make sure the order of calls aren't being blocked from the fact the user is not logged in. 
Beaux Barker
Developer
Hire me on Fiverr

beauxbreaux
Shopify Partner
263 21 45

For your other changes:

 

- My website displays my products as a list/column. I'm ok with this on mobile, but I'd like the computer web interface to have rows. At least 2-wide

(This is how Dawn works out of the box) Have you changed the code for these elements? For example when you go to customize for the drag and drop editor there is a widget called Featured Products. This allows you to list items in a grid and then these items will go down to a single column in mobile. You can change the amount of column's within the editor.  

 

- The front page of my website's header says 'enter using password,' with a lock symbol... How do i get rid of this?

This is normal for development sites. It looks like you are styling the password page instead of the main landing page. 

Solution: If your store is ready to go live, you can remove the password protection by going to your Shopify admin dashboard, navigating to Online Store > Preferences, and disabling the password protection under the Password protection section.

 

- I  remember entering descriptions for my clothes in the products menu, where I also assigned prices and sizes. The 'view full details' link under the 'add to cart' button on my websites interface next to each product doesn't show that, or ay info. It only refreshes the page. 
I still think this has to do with the site being on the password page blocking users from redirecting. 

 

- Is there a way to get rid of the 'pay in 4-interest payments with shop-pay' button thats next to each product by default? Yes remove Shop Pay as an option for payment. 

 

 

 

 

Beaux Barker
Developer
Hire me on Fiverr
trailblazer2407
Visitor
2 0 0

Hi there 

Im also having the issue whereby some users are seeing the add to cart button spinning and others have tested the product page and are able to add to cart. What could e causing this.  https://firstclassmobility.com/products/journey-universal-cane-holder-08353,

Thank you

Sweet_Savior_3
Shopify Partner
1336 102 138

Hello @trailblazer2407 

I have also checked with add to cart button on the product page it is working properly for me and i am able to add to cart on the checkout page.

Can it be possible that i can get some screen recording where the other users facing the issues? And after we need to debug it.

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!