Can I change my 'Add to Cart' button to an 'Inquiry' button?

Hello everyone,

I just have quick question.

I am trying to change the ‘Add to Cart’ button into ‘Inquiry’ button. Is there anyway I can change the button? And If it is possible, is there a way when the customers click the ‘Inquiry’ button, it directs to send e-mail to me directly?

Thank you very much !

Thank you for your reply. I have no knowledge in coding so if it is possible, can you code it for me and let know me know step by step?

Hello @yenchoi010 ,

You can try to follow these steps:

Go to Online Store → Themes → Actions → Edit code

Go to product-template.liquid file

Locate the section that renders the ‘Add to Cart’ button. It could look like this:


Replace the ‘Add to Cart’ button text with ‘Inquiry’ text:


To set up Inquiry button to direct customers to send an email to you directly when they click on it.

Add the following code snippet to the page content:

{% form 'contact' %}
  
  
  
{% endform %}

Save and preview

Hope this can help.

Transcy

https://thestroll.gallery/collections/on-the-wall/products/lime-tree-forest-%EB%9D%BC%EC%9E%84%EB%82%98%EB%AC%B4%EC%88%B2

Here you go. Thank you.

1 Like

Hello Transcy,

I found Product-template.liquid file but I am having hard time finding

Add to Cart code in the file.

Is it possible that the code is not in the file ?

Hello,

I am very new to Shopify and I have no idea what request you sent me.

Is it through email? or on Shopify website?