Redirect To Cart Page After I Click Add To Cart Button - Streamline Theme

I would like to skip the cart popup notification and redirect the customer directly to the cart page. I’m using the Streamline theme.

Appreciate your help!

Hi @seazonedph

Hope you are doing great!

To Redirect To Cart Page After Click Add To Cart Button on Shopify, please help to follow the detailed guide here:

https://www.youtube.com/watch?v=t_xeblzdxtY

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any questions

@seazonedph

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));

comment this code like this

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

I’ve seen this one but upon checking our theme’s Assets we don’t have the "product-form.js"

This seems to be helpful! However when I searched for “_addItemToCart” on our codes nothing seems to appear. I just don’t know what’s the exact equivalent of this code on our theme :disappointed_face:

did you ever find out how?