Change "Buy it now" product button text [Dawn Theme]

New Member
2 0 0

Hi everyone!

Previously, I had to change the "add to cart" button text (the white button) into "donate" in the locales >> en.default.json. But, I changed my mind, because it was directed to the cart section and I wanted to skip that. So, I just want the "buy it now" button to only appear and change the text into "donate", but I couldn't find it in the locales section. Could somebody help me with this matter? Thank you so much in advance!1636337915412.jpg


Replies 3 (3)
Shopify Expert
2458 411 532

Hello There,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find theme.js and paste this at the bottom of the file:

$('.shopify-payment-button__button').text('SHOP IT NOW');
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Shopify Apps URL :-
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
New Member
2 0 0

Thanks for the reply, but I couldn't find the location of theme.js. There's only theme.liquid on the Layout folder. Could you tell me the exact location? Thanks!

New Member
1 0 0


Dawn theme uses a .liquid theme file.

This means adding a .js function will not work.

Do you have a fix that works for dawn?