How to customize placeholders in Shopify?

Hi, I’d like to ask how to customize these placeholders in Shopify? Is that possible? I know that in a Schema for us to turn text fields customized we have to set the type as textarea:

{

“type”: “textarea”,
“id”: “title”,
“label”: “Title”
}
But as for placeholder how can we do that?

You either need to find and edit where the text is rendered, or in some cases change the locale string in the language editor.

This will vary wildly between themes, sane themes often have the placeholder UI/content at the end of a code block after an {% else %} cover the case of when there is no data; i.e. no products.

See the shopify.dev docs on translating themes, or see the dawn reference theme on github for placeholder logic in code.

1 Like