Product templates
Published 3 days ago
WallTropic includes four product templates. Each one starts with the blocks that suit that kind of product, and you can change any of them in the theme editor.
| Template | Use it for | What's different |
|---|---|---|
| Default product | Roll and panel wallpaper | Calculator, Sample panel, Inventory status, Product details, Installation and Shipping & returns tabs, Feature icons and Related products. |
| mural | Scenic murals | Size cards and the mural size finder, Product details, landscape related products ("More scenic murals"). No Sample block. |
| wall-decor | Art prints, mirrors, decals and other wall decor | No calculator, sample or product details. A "Hanging and care" tab and "More wall decor" related products. |
| gift-card | Gift card products | Gift card recipient form, a "How gift cards work" tab. No inventory status. |
Assign a template
- In Shopify admin, go to Products and open a product.
- In the Theme template box (on the right, under Online Store), choose a template.
- Click Save.
To change many products at once, select them in the product list and use Bulk edit. See Assign templates.
Edit a template
- Go to Online Store > Themes > Customize.
- In the page selector at the top, choose Products and then the template.
- Change sections and blocks. Changes apply to every product that uses the template.
Templates and product formats
The template controls the layout. The walltropic.product_format metafield controls the wallpaper features: which calculator shows, whether size cards appear, and what the price unit and card buttons say. Use them together:
| Product format | Template |
|---|---|
roll or panel |
Default product |
mural |
mural |
sample |
Default product (the Sample block and calculator hide themselves on samples) |
wall_decor |
wall-decor |
Tips
- You can create more templates in the theme editor (Create template in the page selector), for example a wallpaper template without the sample panel.
- Gift card products must use the gift-card template to show the recipient form.