Re: Prestige Theme - add to cart not working!

Solved

Prestige Theme - add to cart not working!

PV_store
Tourist
8 0 2

Hi there is anyone else experiencing this issue with prestige theme? slightly stressed as no customers are able to add to cart all of a sudden! a loading bar just appears up top. store is - planetvintage.store

Accepted Solution (1)
BSSCommerce-B2B
Shopify Partner
1739 524 584

This is an accepted solution.

@PV_store , You can download your theme and send it to me in the private chat, and I'll try to locate the issue for you if it's present. If that's not convenient for you, you can contact theme support, or this error-causing tag might also be coming from an app you’re using.
I'm pretty sure that it causes your problem. I can add to cart when I remove it

BSSCommerceB2B_0-1724556360691.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 8 (8)

Guleria
Shopify Partner
3403 679 963

Hello @PV_store ,

 

There is a JS conflict in the store. You can check the browser console to check the errors.

 You need to find and fix these errors manually then this button will start working.
If you are not good with code. Revert the changes you did recently or call a developer to fix it.

 

If you need me to fix it please contact me by my email for services.
Contact info in forum signature.

 

Thanks

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder
PV_store
Tourist
8 0 2

Hi Guleria, I haven't changed any code so not sure why this would be? I just spend hours remaking the website from scratch and the add to cart button decided to stop working again.. 

Guleria
Shopify Partner
3403 679 963

Agree but the button will not work until these console errors will not fixed.

If you are not sure about the errors you can try to install a fresh copy of the theme .   

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder

BSSCommerce-B2B
Shopify Partner
1739 524 584

Hi @PV_store ,

I notice that an html tag was added to your theme

BSSCommerceB2B_0-1724553780930.png

This <base> tag changed the base URI of your homepage to the Shopify domain, which is causing the CORS error when you call api : add to cart, fetch something ...

BSSCommerceB2B_1-1724553930390.png

I don't know where it is in your code. You can try to find it in main-product.liquid,...

Hope it helps

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

PV_store
Tourist
8 0 2

Thank you! I can't search or find 'base' in the main-product.liquid - do you recommend I search something in particular? Or do you think I can contact Shopify? And do you know what may have added an html tag? could it be something as simple as changing font or something like that? 

BSSCommerce-B2B
Shopify Partner
1739 524 584

This is an accepted solution.

@PV_store , You can download your theme and send it to me in the private chat, and I'll try to locate the issue for you if it's present. If that's not convenient for you, you can contact theme support, or this error-causing tag might also be coming from an app you’re using.
I'm pretty sure that it causes your problem. I can add to cart when I remove it

BSSCommerceB2B_0-1724556360691.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

PV_store
Tourist
8 0 2

Thanks for your help ❤️ just sent a message, was my first time sending a message here - did you receive it? files ive got is assets, config, layout, locales, sections, snippets, templates. let me know if you need a specific one 

 

BSSCommerce-B2B
Shopify Partner
1739 524 584

yes i received your message, waiting for your response

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now