How To Change The Text Of The "Buy It Now" Button In Impulse Pro theme

Yonatan1
Excursionist
17 0 4

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

Replies 11 (11)

PageFly-Henry
Astronaut
790 215 189

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.

PageFlyHenry_0-1698674548011.png

 

 

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

Yonatan1
Excursionist
17 0 4

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

Yonatan1
Excursionist
17 0 4

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

PageFly-Henry
Astronaut
790 215 189

You can try again with this code:

<style>
.shopify-payment-button__button {
  visibility: hidden;
  position: relative;
}
.shopify-payment-button__button::before {
content: 'קנה את זה עכשיו';
  position: absolute;
  visibility: visible;
  top: 0;
  left: 0;
  bottom: 0;
font-size: 14px;
    display: contents;
}
 
</style>

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.

theycallmemakka
Shopify Partner
1158 249 268

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. 

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store
Yonatan1
Excursionist
17 0 4

Hello dear @theycallmemakka , thank you for replying, so what you suggest to do?

theycallmemakka
Shopify Partner
1158 249 268

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?

makkaomakka_0-1698852385873.png

 

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store
Yonatan1
Excursionist
17 0 4

IMG_5580.png

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 

 

theycallmemakka
Shopify Partner
1158 249 268

Can you provide access to your store?

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store
Yonatan1
Excursionist
17 0 4

Yes of course, please send me email

theycallmemakka
Shopify Partner
1158 249 268

Please check the email

❤️❤️

Buy me a coffee


For quick response - Message Me


For easy store customization, try PageFly
Add Winter vibe to your store