I sell towing parts and we sell sidepullers which are thousands of dollars. I want to change the add to cart button to a “request a quote” button that opens up a form for them to fill out. Is there an app that can do this or can i make some simple modifications to my code to make this work? I have a little bit of experience coding but I’m not an expert
Topic summary
A merchant selling high-value towing parts (specifically sidepullers costing thousands of dollars) wants to replace the “Add to Cart” button with a “Request a Quote” button that triggers a form submission.
Two main approaches suggested:
-
Third-party apps: Multiple recommendations provided including Globo Request a Quote, Request a Quote & Hide Price, Cart2Quote, and Quotify. Apps offer easier management dashboards and more configuration options.
-
Custom code modification: A manual solution was proposed involving editing the product-template.liquid file to replace the button with a link to a quote request page.
Key concern raised: The merchant needs the quote button for only one specific product, not all products. The basic code modification would affect all products site-wide.
Current status: Quotify was suggested as a solution that allows selective product targeting, offering both theme builder integration and manual code options. The discussion remains open regarding which approach the merchant will choose.
I suggest you to use a third party app because it provides multiple options aswell as easy dashboard to manage options.
It can be done by some custom code as well but it will not have much options.
Thanks
Hi @Parts2 ,
For Shopify, you can use an app or make some simple code modifications. Here are your best options:
**Apps:**1. Globo Request a Quote – Adds a “Request a Quote” button and a form.
- Request a Quote & Hide Price – Lets you replace “Add to Cart” with a quote request.
- Cart2Quote – Allows customers to request quotes and negotiate prices.
Manual Code Change (Without an App):
If you prefer a code tweak, you can modify your Shopify theme:
-
Go to Online Store → Themes → Edit Code.
-
Find the file product-template.liquid (or similar, depending on your theme).
-
Locate:
<button type="submit" class="btn">Add to Cart</button> -
Replace it with:
<a href="/pages/request-a-quote?product={{ product.handle }}" class="btn">Request a Quote</a> -
Create a Request a Quote page (under Online Store → Pages) and embed a form (Shopify’s built-in contact form works).
I would rather do it by modifying the code but wouldn’t replacing the add to cart button with a link change the button for all of the products? I just have one product that i want to change to request a quote
You could also take a look at Quotify
You can select specifically for which products you want to enable the request quote button. It offers theme integration via the theme builder but it also has the option to add code manually.
You just need a conditional check in your theme so the “Request a Quote” button only replaces the Add to Cart button on the specific product you choose.
Something like:
{% if product.handle == 'your-product-handle' %}
<a href="/pages/request-a-quote?product={{ product.handle }}" class="btn">
Request a Quote
</a>
{% else %}
{{ original_add_to_cart_button_code }}
{% endif %}
This way everything stays the same for the rest of your catalog, and only that one product shows the quote button.
If you’d rather avoid editing the theme, some apps let you enable the quote button on selected products only — for example the Request a Quote & Hide Prices app worked well for that in my case.