Shopify - How to edit "Buy It Now" Button

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

 

/* for desktop view */

setTimeout(function(){
$('.shopify-payment-button__button').text('DONE SHOPPING');
},1000),


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

6 comments

  • Thanks for this I think. I Want a buy it now button not add to cart. Buyaflag.co.uk

    Buyaflag.co.uk
  • cashman casino slots http://onlinecasinouse.com/# casino game casino online slots vegas casino slots

    Peaddypiopind
  • KMwJBjmDeECsLRUn

    umBHVRJGhUWsMbdf
  • PObypKxfQHZl

    DcnCpHLRejhEu
  • jCZBFyLTuvUA

    UAlhuOFB

Leave a comment