Enquire Button Leads to Contact Info

Enquire Button Leads to Contact Info

ADG-Ireland
New Member
8 0 0

Hi,

 

I have an "inquire now" button on my site at the moment but it just leads to a blank "contact us" page for a customer to add their contact info and the info about the product they want manually.

 

So I was wondering how I might go about having it so that when the inquire now button is pressed the info about the product is added to the contact form as well.

 

Thanks for any help in advance.

 

 

Replies 4 (4)

GTLOfficial
Shopify Partner
263 50 51

Hello @ADG-Ireland 
Please provide the URL of your website, so that i can check.

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
ADG-Ireland
New Member
8 0 0

Hi,

 

The store is not currently live as we speak but I plan on launching it soon but I wanted to get this sorted out first. I can however share a preview link with you.

 

Thanks.

Small_Task_Help
Shopify Partner
528 16 36

Hi,

 

URL parameters can pass product details directly to the contact form.

 

Example of code

<a href="/contact?product_title={{ product.title | url_encode }}&product_id={{ product.id }}" class="btn">Inquire Now</a>
Click here to Contact and Get Shopify Store Help
E-mail - hi@ecommercesmalltask.com
We are Shopify Experts   from Ecommerce Small Task Company.
ADG-Ireland
New Member
8 0 0

Hi,

 

That sounds like exactly what I am looking for, where would I be putting this code just to be sure?

 

Thanks.