Shopify themes, liquid, logos, and UX
Dear community, I need your help in changing the text of the "Buy it now" button because my customers speak Hebrew and my entire website must be in Hebrew. I could not find a way to change the text on the button without coding capabilities.
I would appreciate your help, I have the text I want to have instead of "buy it now". Thanks
Hi @Yonatan1
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: paste bellow code in tag </body> -> save.
<script>
const list=document.querySelectorAll('.shopify-payment-button__button ')
list.forEach(l=>{
if(l.innerHTML==='Buy it now'){
l.innerHTML=''
l.innerHTML='קנה את זה עכשיו'
}
})
</script>
Hope that my solution works for you.
Best regards,
Henry | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
hello dear, it doesnt work, i dont know why, can you take a look on the code your self? if yes, send me your email i will add you as staff member
hello dear, i understand that you want to help but you don't have any solutions tags so i will give up your help this time, thank you
You can try again with this code:
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @Yonatan1 ,
To update the "Buy it now" text, we will have to update the translation files as well as template files if required. Pointing out which file to changes is very tricky without looking into the actual theme.
Hello dear @theycallmemakka , thank you for replying, so what you suggest to do?
I just reviewd the site and found that "Buy it now" button is not present on the product page. Di you make any changes to the buttons?
No dear , I haven’t , I guess it depends on the device you are using 🤷 I don’t know why it is different in your device
Can you provide access to your store?
Yes of course, please send me email
Please check the email
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024