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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024