Shopify themes, liquid, logos, and UX
Hi everyone!
Previously, I had to change the "add to cart" button text (the white button) into "donate" in the locales >> en.default.json. But, I changed my mind, because it was directed to the cart section and I wanted to skip that. So, I just want the "buy it now" button to only appear and change the text into "donate", but I couldn't find it in the locales section. Could somebody help me with this matter? Thank you so much in advance!
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find theme.js and paste this at the bottom of the file:
setTimeout(function(){
$('.shopify-payment-button__button').text('SHOP IT NOW');
},1000),
Hi!
Thanks for the reply, but I couldn't find the location of theme.js. There's only theme.liquid on the Layout folder. Could you tell me the exact location? Thanks!
Dawn theme uses a .liquid theme file.
This means adding a .js function will not work.
Do you have a fix that works for dawn?
Thanks!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024