Product template
Last updated
Last updated
The section is static on a product page template, it was added initially and cannot be removed.
Enable zoom
- the setting allows you to enable the Zoom function that appears when you click on the image;
Show arrows on mobile
- the setting is responsible for whether the slider arrows will be shown in the mobile version;
Media layout
- the setting allows you to choose the appearance of the product image gallery:
Carousel
- horizontal slider;
Stacked
- vertically stacked images one below the other;
Stacked 2 columns
- vertically stacked images, two images in one row below the other.
Stacked 2 columns with big image
- vertically stacked images, one big image and 4 small ones, then repeat.
⚠️ Only for Product layout: Two columns. For a Three Columns value, the media will always be a Carousel
Thumbnails position
- setting allows you to select the location for the thumbnails, only works if the media layout is a carousel. Has two options: left and bottom;
Media height
- the setting allows you to select the size of the image. Has several options: Full size, Square, Fit to screen. Note: Fit to screen” on the mobile will be the same as “Full size”;
Make smooth scroll for stacked gallery
- in the Stacked
, Stacked 2 columns
, Stacked 2 columns with big image
gallery mode, it has Thumbnails on the left, clicking on which will scroll to the desired image. This parameter will determine whether the movement will be instantaneous or smooth.
Layout
- setting is responsible for the structure of the template:
Two columns
- setting divides the template into 2 columns, with media on the left and blocks on the right;
Three columns
- setting divides the template into 3 columns, with blocks on the left and right and media in the middle;
Show message of taxes included
- if taxes are included in the price of the product in the store, then this parameter will control the visibility of the corresponding message;
Show pay installments
- if the store has the right to sell by installments and this feature is enabled in the store settings, then this parameter will control the visibility of the installment block;
Enable sticky add to cart
- shows sticky add to cart when the main add to cart is not visible.
Allow customers to view a size-guide button. The content for the size guide can be unique for each product based on the metafields.
Show size guide
- the setting is responsible for showing/hiding the popup and the button for opening the popup;
Button label
- popup button text;
Button icon
- the icon of the size guide button;
Popup heading
- the title of the size guide popup;
General tab label
- the text for size guide general tab;
Model tab label
- the text for the size guide model tab.
To show the size guide:
Create product metafield with Name: “Size guide page”, Namespace and key: size_guide.page
. Content type must be Page
;
Create a page with content for a size guide (you can select a unique page with a size guide for every product. For shorts, skirts, etc);
Add a page in the product meta field (page content must not be empty);
In the Size guide popup you can add information about the product model information:
Follow the steps:
Create product metafield with Name: “Size guide model image”, Namespace and key: custom.size_guide_model_image
. Content type must be a file
(images only);
2. Create product metafield with Name: “Size guide model info”, Namespace and key: custom.size_guide_model_info
. Content type must be Multi-line text
;
3. Go to the product in the admin and add values to these metafields. You can set both or one of these fields to see tabs in the size guide popup;
4. Now when you open the Size guide popup on the product you will see tabs with the default size guide and size guide for the product model.
UI button color
- the setting allows you to set the UI button's color. Will also be used for shadow color;
UI button background color
- the setting allows you to set the UI button's background color;
UI buttom border color
- the setting allows you to set the UI button’s border color.
Container width
- a container width of the section. If the “Inherit” value is selected then the container width is based on the group 'Layout' settings in the Theme settings;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
The block displays tags added to the product according to the template - label__%tag%:modifer
:
label__
- tag prefix by which tags are selected for output;
%tag%
- display tag;
:modifer
- color modifier;
The modifier can have 2 values: primary
and secondary
or completely absent;
For example, if you want to add two labels: “Sale” and “Top” with primary and secondary styles you need to add these tags for the product:
label__Top:secondary
label__Sale:primary
HINT: you can also add an icon to the your labels.
To do this you need:
Copy the name of the label from the admin product page without color identificator (”:primary”, “:secondary”). For example, if your label is “label__top:secondary”, just a copy “label__top”;
2. Prepare an image file with the name in next format: [label name].png . Where [label name] is a name of your label that you copied in the previous step. “PNG” format is important. So your file name must be a “label__top.png”. If you have a product tag with few words, like a “label__Top sale:secondary”, you need replace a white space with a “-” symbol. So a file name for the “label__Top sale:secondary” tag will be “label__Top-sale.png”. The size of the image must be 40x40 pixels;
3. Upload an image in the admin panel “Content / Files”.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
To show the badge images:
Create product metafield with Name: “Badge images”, Namespace and key: custom.badge_images
. Content type must be File
as List
;
Add badge images to the product:
General
Show SKU
- the setting that allows to show SKU of the product;
SKU text
- the text of the SKU field. You need to include the “{SKU}” in the text field, which will be replaced with the product’s SKU number;
Show vendor
- the setting that allows you to show the product’s vendor;
Make vendor link to collection
- the setting that allows to wrap a vendor into a link.
Layout
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Text
- the text before the countdown timer;
Icon
- the image before the countdown timer. (Recommended size 48x48 px).
Text
- the text before the countdown timer color;
Timer text
- the timer cells’ text color;
Timer background
- the timer cells’ background color.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
To show the countdown timer:
Create product metafield with Name: “Promo time”, Namespace and key: custom.promo_timer_date
. Content type must be Date and time
;
Add promo time to the product
Variant picker
- select a view of variant options type. Note: if you have enabled a color swatch option then the option that is related to color swatch will be always like a button. You can select “Buttons” or “Dropdown”.
Layout
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Layout
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
It displays the price of the product or the selected option. Also outputs the unit cost if the product has a unit cost instead of a quantity cost.
In this block, a message will be displayed stating that taxes are included in the price;
In this block, the installment purchase form will be displayed.
Layout
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
General
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Button style
- add to cart button style;
Button 'Buy it now' style
- 'Buy it now' button style;
Show additional payment buttons
- add "Buy it now" buttons;
Show recipient information form for gift cards
- allows customers to send gift cards on a scheduled date along with a personal message (works only on a gift product).
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
The block has no settings, it reflects the addresses where the product is available for pickup.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Displays up to 3 additional buttons with a popup:
Description
- the setting allows you to output the product description;
Custom drawer 1
- the setting allows you to choose any page to show its content in the drawer;
Custom drawer 2
- the setting allows you to choose any page to show its content in drawer 2.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
.
Show description
- the setting allows you to show the product description button;
Button label
- the setting allows you to set the button label for the drawer toggler;
Drawer heading
- the setting allows you to set the heading for the drawer.
Page
- the setting allows you to select a page to show its content in the drawer;
Button label
- the setting allows you to set the button label for the drawer toggler.
Layout settings allow you to select offsets of the section.
With this block, you can show complementary products of the current product. To configure upsell products you can use the “Search & Discovery” APP.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Heading
- setting allows you to set heading for the block.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
With this block, you can add simple text content with an icon.
You can add a simple text block with an icon.
Block column position
- specifies the column in which the block is located when section setting Layout
in value Three column
;
Icon image
- the setting allows you to set an icon for the message;
Text
- the text of the block.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
With this block, you can show a message about product variant’s inventory status.
You can help customers detect which product variant has a low/high stock inventory.
If a variant is not available - the block will be hidden.
Block column position
- specifies the column in which the block is located when section setting Layout
in value Three column
;
Low stock text
- the text that appears when variant inventory quantity is less or equals ”Low stock threshold” value;
Low stock icon
- the icon of the “Low stock text”;
High stock text
- the text that appears when variant inventory quantity is more than the “Low stock threshold” value;
High stock icon
- the icon of the “High stock text”;
Low stock threshold
- the setting that allows you to select the minimum number of variant inventory quantities to show a “Low stock text” message. If the variant inventory quantity is more than the value of the setting, then “High stock text” will appear.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Add a block to show the “Add gift box” button in the product section. This block doesn’t have any settings. You can learn more about the “Gift wrap button” in the “Gift wrap product” section.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
.
Button label
- the text for the button. Required field;
Button icon
- the icon for the button.
Heading
- the popup title text field. Required field;
Email label
- the label for the input. Required field;
Button label
- the label for the submit button. Required field;
Button style
- style of the submit button;
Success message
- the message that the form was sent successfully. Required field.
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
Translations settings:
Product notify me message
- the message that will be sent to the email when the user submits the form. Using "{{ product_title }}" in the message allows you to replace it with the product title Required field.
The "Stock Alert" button is displayed when the product is "Sold out";
When clicking on the "Stock Alert" button, a popup with a form will be displayed;
The user can enter the "Email" form;
The form has two hidden fields. Message - contains the message that is specified in the translations in the "Product notify me message" field. ProductURL - contains a link to the variant of the current, selected "Sold out" product;
If the form is sent successfully, the email will be sent and a "Success message" will be displayed;
If the form is sent unsuccessfully, an "Error message" will be shown.
With this block, you can add a button to the product form that triggers a popup with the Shopify contact form (but with some additional fields).
That allows customers to send emails to you with questions about the current product. The field with the product URL is filled automatically based on the product and his selected variant.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
.
Button label
- the text for the button. Required field;
Button icon
- the icon for the button.
Heading
- the heading for popup form;
Email label
- the label for the email field. Required field;
Name label
- the label for the name field. Required field;
Phone label
- the label for the phone field. Leave blank to hide;
Product URL label
- the label for the product URL field. Required field;
Message label
- the label for the message field;
Success message
- the text of the success message after the form is submitted;
Submit button label
- the text for the submit button;
Button style
- style of the submit button.
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
With this block, you can display a text field (input type='text
'), which will represent the line_item
property of the product. When a product is added to a cart with a filled field, the value of this field will be added to the cart, checkout, and order.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Field label
- the setting is responsible for the label text for the input;
Required text
- the setting is responsible for the label text for the checkbox.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
If the Required text
is not filled in, only the text input will be displayed. In this case, if the field is filled - the user information will be added to the order.
If Required text
is filled in, a checkbox will be displayed under the Custom Text Box
, with a message from that field. If the checkbox is not clicked OR the Custom field
is empty, the product cannot be added to the cart, and the corresponding error is displayed.
With this block, you can allow customers to share your product page.
Block column position
- specifies the column in which the block is located when the section setting Layout
in value Three columns
;
Show Facebook
- show a Facebook social share link;
Show X (Twitter)
- show a X(Twitter) social share link;
Show Pinterest
- show a Pinterest social share link.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
With this block, you can add three blocks with some short information about your services, guarantees, or something like that.
Block column position
- specifies the column in which the block is located when section setting Layout
in value Three column
.
Benefits
You can add max 2 blocks of this type and 3 “Benefit” items per block. They have the same settings:
Icon
- the icon of the benefit item;
Heading
- the title of the benefit item;
Link label
- the link text of the benefit item;
Link url
- the link URL of the benefit item.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
The block allows you to connect applications, such as Reviews, etc.
Show block on the third column when section setting Layout
in value Three column
.
Block column position
- specifies the column in which the block is located when section setting Layout
in value Three column
;
Custom liquid
- setting allows you to add your liquid code.
You can learn more about liquid here - https://shopify.dev/api/liquid.
Layout
Desktop offset top
- the top indent of the section on the desktop;
Desktop offset bottom
- the bottom indent of the section on the desktop;
Mobile offset top
- the top indent of the section on the mobile;
Mobile offset bottom
- the bottom indent of the section on the mobile.
To select complementary products, add the Search & Discovery app (Shopify app). Learn more