Hi there,
On our homepage, I would like the add to cart button to say “VIEW TRACK” on below section. This should not affect any other buttons on the website though.
How do I achieve this best?
Thanks so much!
passw: chaos
A user needed to change the “Add to Cart” button text to “VIEW TRACK” for a specific homepage section without affecting other buttons site-wide.
Initial Attempts:
</head> tag, but this did not work.Successful Solution:
<head> tag successfully changed the button text.Resolution: The issue was resolved with the second CSS approach, and the user confirmed it worked as intended.
Hi there,
On our homepage, I would like the add to cart button to say “VIEW TRACK” on below section. This should not affect any other buttons on the website though.
How do I achieve this best?
Thanks so much!
passw: chaos
Hi @INFRA
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Richard | PageFly
hi there, unfortunately this didn’t have an effect. Is there anything else we can try?
Thanks for your help ![]()
Hi @INFRA
Do you know in which exact theme file is the code for this section? If you know, you can change the text from there. Just locate the add-to-cart-btn class in the file and find the child element that holds the text.
Let me know if you need any help there.
that worked great, thank you!!
You are very welcome!