How to change Buy it now button text to Buy now

Shivam97
Pathfinder
132 0 53

Hi, tried everything but no solution 

My website Url - https://www.portronics.com/products/ufo-pro

I make to make Buy it now button text to buy now.

And 2nd. How i can change my currency symbol Rs. to ₹ on my product page.

Thanks buyy nowww.PNG

dmwwebartisan
Shopify Partner
7308 1726 2302

@Shivam97 

Basically you add the following code to your 'theme.js' file (at the bottom but before '$(theme.init);') and change the words 'Buy it now' to whatever you want

 

/* for desktop view */
setTimeout(function(){
$('.shopify-payment-button__button').text('buy now');
},1000),


/* for mobile view */
setTimeout(function(){
$('.shopify-payment-button__button--unbranded').text('buy now');
},2000),

 

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
Shivam97
Pathfinder
132 0 53

Thanks for the help @dmwwebartisan ,

I added the code in theme.js before theme.init, but still show buy it now.

0 Likes