Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Redirect to products to Cart page

Redirect to products to Cart page

Petalsfloral
Visitor
2 0 0

Hi I am trying to redirect my customers when they click Add to Cart to go straight to the Cart page. This is my website petalsfloralandeventdesign.com Any help will be really appreciated.

Replies 2 (2)

Sweet_Savior_3
Shopify Partner
1361 104 144

Hello @Petalsfloral 

 

Welcome to Shopify Community.

 

Please check the theme settings. There must be an option available to disable the side cart redirect to cart page,  Else you will need help to edit the code.

 

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 !!!

BSSCommerce-HDL
Shopify Partner
2305 834 908

Hi @Petalsfloral 

You can follow this instruction:

 

Step 1: Go to Online store > Themes > Actions > Edit code. -

Step 2: Go to Assets >product-form.js and find this code 

 

this.form.addEventListener('submit', this.onSubmitHandler.bind(this));
Copy

 

comment this code like this 

 

/* this.form.addEventListener('submit', this.onSubmitHandler.bind(this)); */
Copy

We're happy to support you. If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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