Shopify themes, liquid, logos, and UX
Hello,
I'm facing an issue with the product page and the cart.
When I modify the text in the ADD TO CART button, the text in the Cart is modified too.
So, for example, if I have the ADD TO CART text in the product page, I get the same ADD TO CART text in the cart button.
I would like to have ADD TO CART in the product page button and CHECK OUT in the Cart button.
Thanks to anyone who can help! 🙂
Locate the code for the "Add to Cart" button on the product page. This code is typically found in the product template file, such as product.liquid
or product-template.liquid
.
<button type="submit" class="add-to-cart-btn">ADD TO CART</button>
@NomtechSolution I can't actually find that line inside product.liquid.
I'm using Turbo Theme and, at first, these buttons were empty and there was no way to add text through the editor.
I was told to add this code in sections.js.liquid:
Code can be added in theme files by clicking edit code and then you can add js code in theme.js file
@NomtechSolution Sorry but that doesn't work. When I tried it deleted all the buttons in the product page.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024