Appearance
Product pages and custom fields
Oriel comes with five product page layouts (templates). Text that is different for every product, like How to use or Ingredients, comes from custom fields on the product. Set the fields up once, fill them in on each product, and every product page shows its own content.
The five product templates
| Template | Use it for | What's on it |
|---|---|---|
Default product (product) | Most products. Built for skincare. | Breadcrumb, badges, rating, price, icons with text, variant picker, stock status, buy buttons, delivery checkpoints, payment icons, description, How to use, Ingredients, Shipping & returns, share. |
| conversion | Your hero product, or a product you send ad traffic to. | Adds a review platform badge, quantity breaks, subscriptions, product upsells, price in the add to cart button, a clickable discount, a testimonial and a bundle offer. |
| apparel | Clothing and accessories with sizes. | A Size chart popup, Materials & care and Size & fit rows. |
| kit | Sets and gift boxes. | What's included (open by default), How to use, and Complete the set upsells. |
| simple | Small extras, samples, gift cards. | Only the title, price, variant picker, buy buttons and description. |
Every template has the same blocks available, so you can add, remove and reorder anything. See Product page blocks.
Check the conversion template before you use it
It comes with sample content: a testimonial ("My skin has never felt this soft…", Customer name, Verified buyer), a clickable discount code GLOW15 and quantity breaks of 15% and 25%. Replace the testimonial with a real review or remove it, create the code and discounts in Discounts (see How offers work), or remove those blocks.
Assign a template to a product
- In your Shopify admin, go to Products and open a product.
- In the right column, find Theme template.
- Choose the template, for example apparel, and click Save.
Products without a choice use Default product.
To edit a template, open the theme editor, pick Products in the page picker at the top, then the template name. Changes apply to every product that uses it.
Custom fields the templates use
The templates read these product custom fields (Shopify calls them metafields). Create the ones you need. You can skip any field you don't use: rows connected to an empty field hide themselves.
| Name | Namespace and key | Type | Used by |
|---|---|---|---|
| How to use | custom.how_to_use | Rich text (or Multi-line text) | Default product, kit, home page Featured product |
| Ingredients | custom.ingredients | Rich text (or Multi-line text) | Default product, conversion, home page Featured product |
| Materials & care | custom.materials_care | Rich text (or Multi-line text) | apparel |
| Size & fit | custom.size_fit | Rich text (or Multi-line text) | apparel |
| What's included | custom.whats_included | Rich text (or Multi-line text) | kit |
| Size chart | custom.size_chart | Page (a page reference) | apparel: the Size chart popup |
Rich text or Multi-line text?
Rich text lets you use bold, lists and links, which suits ingredients and step-by-step instructions. Multi-line text is plain text. Both work.
1. Create the fields
Do this once for each field in the table.
- In your Shopify admin, go to Settings → Metafields and metaobjects (Custom data in some stores) and click Products.
- Click Add definition.
- Name: for example How to use.
- Namespace and key: Shopify fills this in from the name. Make sure it matches the table exactly, for example
custom.how_to_use. Names with&or'(Materials & care, What's included) can get a different key, so type it yourself. - Type: click Select type and choose Rich text. For Size chart, choose Page.
- Click Save.
The key is what connects the field to the theme. If it's different (for example custom.what_s_included), the row stays hidden. In that case, either fix the key or connect the block to your field as described below.
2. Fill them in on each product
- Go to Products and open a product.
- Scroll down to Metafields. Your fields are listed there.
- Click a field and add the text. For Size chart, first create the chart as a page in Online Store → Pages (a table works well), then pick that page.
- Click Save.
3. Check the product page
Open the product in your store. Each filled-in field appears as its row (or as the Size chart link). Fields you left empty don't show anything.
Collapsible row, Content tabs (each tab), Popup link and Description hide themselves when they have nothing to show. In the theme editor, empty rows, tabs and popup links stay visible with a note: "Hidden on your store: there is no content for this product yet." That's so you can still find and edit them. Shoppers don't see them.
Connect a block to a custom field
Use this for your own fields, for example Skin type or Scent notes, or to connect a field whose key doesn't match the table.
- Create the field as in step 1, any key you like.
- In the theme editor, open a product template and click Add block → Collapsible row (or select an existing one).
- Type a Heading, for example Skin type.
- Next to Text, click the Connect dynamic source icon (it looks like a small stack of disks).
- Choose your field and click Select.
- Click Save.
The same works for the text of Content tabs and Popup link, and for Page content settings if your field is a Page type. To remove a connection, click the × on the connected field.
Text that's the same on every product
Shipping and returns information is usually the same for all products, so the templates type it straight into the block. Edit it once per template. Or create a page with it and pick that page under Page content.
Star ratings from a reviews app
The Rating block and the stars on product cards read Shopify's standard review fields:
| Name | Namespace and key | Type |
|---|---|---|
| Product rating | reviews.rating | Rating |
| Product rating count | reviews.rating_count | Integer |
Most review apps fill these in for you, so the stars appear as soon as a product has reviews. Products without a rating show no stars.
No reviews app? The Rating block has a Manual rating group: Rating (if no reviews app) and Number of reviews. It's used only when a product has no reviews.rating. It's a block setting, so every product on that template without app reviews shows the same number. Only enter ratings that come from real customer reviews, and put it on a template used by one product.
Product cards show stars only from the review fields, not the manual rating. Turn them on in Theme settings → Product cards → Show rating.
The Featured product section
The home page Featured product section uses the same blocks. It reads custom fields from the product you pick in its Product setting, so How to use and Ingredients work there too.