How can I change the label of a dynamic checkout button?

Hi there,

I could not change the dynamic checkout button label. I am looking for it for almost one week but there is no option to change it?

Not it says:
Buy it now

I want to change it like:
BUY NOW

Thanks

(I checked the codes and edit the language options.)

1 Like

Hello There,

  1. In your Shopify Admin go-to online store > themes > actions > edit code
  2. Find Asset >assets/product-form.js and paste this at the bottom of the file:
setTimeout(function(){
$('.shopify-payment-button__button').text('BUY NOW');
},3000);

Screenshot:-Screenshot by Lightshot

1 Like

Hello There,

Thank you so much for your answer, it works very well :slightly_smiling_face:

@ZestardTech

1 Like

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.

1 Like