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
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