Placeholders files
The placeholders
files are the source for storefront labels across drop-in components. The placeholders
files have two columns: Key and Value. The Key column contains the text variables that are replaced at runtime. The Value column contains the text values that replace the variables. These files provide a quick and easy way for content creators and merchants to make changes to the site’s labels without developer involvement.
Placeholders default values
The initial values in the placeholder
file within the boilerplate’s starter content provides the default out-of-the-box labels for the drop-in components.
You can view the current placeholder values for each drop-in component in the following JSON files:
- Global placeholders
- Account placeholders
- Auth placeholders
- Cart placeholders
- Checkout placeholders
- Order placeholders
- Product Details Page placeholders
- Search placeholders
- Wishlist placeholders
- Recommendations placeholders
These JSON files contain all the current placeholder keys and their corresponding values. The global.json
file contains placeholders that apply to the entire storefront, while the other JSON files contain placeholders specific to their respective drop-in components. You can reference these files to see the exact structure and values used in the boilerplate.