I want to add a different button in product page

Hi,

I would like to create a button on the product page to add a product to the card so customers continue to shop instead of going to the card page.

Tks

Hi,

If you are using modern themes like dawn then in theme settings, under cart settings, there will be an option like cart type to choose between page/notification or drawer, notification and drawer both options keep you on same page. There is similar settings in every theme. Please check there, if you are using some old theme then this option needs to be developed and for that you will need some technical knowledge of liquid and javascript

I am using Sense theme.

But I want to use the page/notification option

You can select from there
Theme settings → Cart → Cart type
Thanks!

Notification or drawer both works
page option will redirect to cart page

And is possible to code and put the page option not redirect to cart page?

Is drawer option not working for you ?
This is theme feature, you can easily switch between the two

No, I don’t want to use the drawer option.

Do you think is possible to change the behavier of the button? Add to card and stay in the product page? In the page option?

Yes, it is possible

It will require some custom coding.

So, you don’t need any notification and even you don’t need to redirect to cart page

You just want to stay at the same point

It is still possible

Correct. I think the name of the button is “quick add button” correct?

Can you show me where I can change the event?

I think, in case of type page, it is not through javascript, it is simple post request, so you have to manipulate that request and add your custom js to achieve this in case of type page