Supply Theme: How do I change the text on the ADD TO CART button?

New Member
13 0 0

I would like to change the text on the ADD TO CART button to SEE PRICE for all products tagged with MAP?

 

Anyone know how this can be done?

 

Thanks!

0 Likes

Hello @TomSSE,

Please follow below refferal link

https://community.shopify.com/c/Shopify-Design/How-to-show-Add-to-cart-to-see-price/td-p/277124

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
New Member
13 0 0

Thanks for sharing. Unfortunately the post doesn't provide any information on modifying the product template to hide the price and modify the text on the "Buy" button.

0 Likes

@TomSSE.,

1. Go to Online Store->Theme->Edit code
2. Snippets->product-grid-item.liquid

Add below code

  {% if product.tags contains "MAP" %}
  <p><strong><font color="black">Add to cart for price</font></strong></p>
{% else %}       

See below screenshot

2020-01-13_20-28.jpg

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
New Member
13 0 0

@oscprofessional 

 

product-list-item.liquid.JPG

 

However, when you click to go to the product page the price is displayed:

product-page.JPG

I want to hide the price and replace the text in the button with "SEE PRICE"

0 Likes

@TomSSE.m

For product page

Go to product-template.liquid file

Add below code

{% if product.tags contains "MAP" %}
  <p><strong><font color="black">Add to cart for price</font></strong></p>
{% else %}      

2020-01-16_12-53.jpg

endif tag as shown in below screenshot

2020-01-16_12-56.jpg

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes