All things Shopify and commerce
I would like to know how can I make my add to cart button also add the same product to the request a quote page, since it does not do that automatically.
can you please elaborate your concern in a more detailed way. So that it can help me to understand what you are actually looking for and if possible please share a reference also.
On my products page i have two buttons, one add to cart and another to request a quote, what i wanted was to when a customer adds a product to the cart to that same product go to the request a quote page.
Ok so what you want is whenever a customer visits your product page, then he should be able to add the products to the cart and also be able to take them to a request quote page(I assume which is already added by you at the backend) ?
Yes, the item added to the cart should be added to the request a quote.
And yes the request a quote page already exists.
Ok so in that scenario you need someone who can modify the JS code for custom button so that after the product is added to the cart he can redirect the page to the request quote page.
Else if you are familiar with coding then look for where the code for add to cart button functionality is added, if it is already enabled as ajax add to cart then you need to just add code for redirection else you have to first implement ajax add to cart and after that you have to redirect it to request quote page.
You can take reference for POST CART API for implementing ajax cart:
If you want I can work out this for you.
I am trying to add both Add to Quote & Add to Cart buttons per item for my store, can I have a look at your store to see this?
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...By Jacqui Mar 30, 2023
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023