How to edit the text on a button

Topic summary

  • Issue: After previously changing a product-page button label from “Sold out” to “Coming soon” in the Dawn theme, the poster couldn’t find where to revert it.

  • Suggestions: Check either the buy-buttons.liquid template or the en.default.json locale file for the text.

  • Outcome: The text was located in en.default.json and successfully changed back to “Sold out.” A request for store URL/password was unnecessary as the problem was already fixed.

  • Notes: en.default.json is the theme’s language/translation file (Locales) that controls UI text such as button labels. buy-buttons.liquid controls button rendering and may contain hardcoded text if previously customized.

  • Status: Resolved; no open questions or further action items.

Summarized with AI on December 15. AI used: gpt-5.

A while back I manipulated my button text code in the dawn theme from ‘sold out’ to ‘coming soon’ and for some reason I am no longer able to search for that nor can I find it in any of the script files to change it back to sold out. Can someone please help me?

Hi @brklynpark ,

Can you confirm that you changed the text from the code? If yes then either you might have change the text from buy-buttons.liquid file or changed the text from the en.default.json file.

Let me know how it goes.

Was my reply helpful? Click Like to let me know!

Was your question answered? Mark it as an Accepted Solution and click like.

hi-

I did in fact change it in the code. But I tried your solution and I did find it in the en.default.json to change it back!

THANK YOU :heart:

Hi @brklynpark

Could you please share your store URL and password with me if your store has one?

Best,

Daisy

@BrewBrains ’ solution of editing the text in ‘en.default.json’ fixed it. Thank you!