Featured product
Featured product brings one product to any page, such as the home page, with its media gallery and the same blocks as the product page: price, options, quantity and buy buttons. Shoppers can choose a variant and add the product to the cart without leaving the page, and a “View full details” link under the blocks takes them to the product page.
The media and the product details sit in two panels side by side, each with its own color scheme. On mobile the media comes first.
Add the section
Section titled “Add the section”Online Store → Themes → Customize
- In your Shopify admin, go to Online Store → Themes and select Customize on Cosmero.
- At the top of the theme editor, open the template you want to change, such as the home page.
- In the sidebar, select Add section.
- Choose Featured product. It starts with the Vendor, Title, Price, Variant picker, Quantity and Buy buttons blocks.
- Choose a product in Product, then select Save.
You can add it to any template, but not to the header or the footer.
Settings
Section titled “Settings”- Product: the product to feature. Until you choose one, the section shows a placeholder.
- Media position on desktop: Left (the default) or Right.
- Media ratio: Adapt to media, Square or Portrait (4:5, the default). Adapt uses the ratio of the first media. Every image shares that frame, so images of different shapes don’t shift the layout.
- Media fit: Contain (the default) shows each image whole inside the frame. Cover fills the frame and crops what doesn’t fit.
- Show thumbnails on desktop: shows thumbnails when the product has more than one image, video or 3D model: in a column beside the media on desktop, and below it on tablets. On mobile, shoppers swipe through the media instead.
- Show zoom: lets shoppers click or tap an image to see it full screen. Videos and 3D models play in place.
- Enable video looping: product videos start over when they end.
- Media color scheme: the colors of the media panel. You edit color schemes in Theme settings.
- Product information color scheme: the colors of the panel with the product details.
- Panel style: Panel keeps the two rounded panels inside the page margin. Flush spans the full page width with square corners.
- Enable full width on mobile: on mobile, the panels run from edge to edge with square corners. Shown when Panel style is Panel.
- Top padding: space above the product details, from 0 to 120 px (default 48).
- Bottom padding: space below the product details, from 0 to 120 px (default 48). On mobile, both paddings are scaled down: 48 px becomes 30 px.
Blocks
Section titled “Blocks”The section takes the same blocks as the product page, and they work the same way, plus blocks from apps you’ve installed. A block with nothing to show for the product, such as a rating on a product without one, stays hidden.
Vendor
Section titled “Vendor”The product’s vendor, as a small label above the title.
The product’s title, shown in full.
Rating
Section titled “Rating”The stars, rating and review count that a reviews app saves to the product’s standard Product rating and Product rating count metafields. Hidden on products without a rating.
- Link to reviews: the id of your reviews app’s block on the product page, such as #reviews. Leave empty to show the rating without a link.
Subtitle
Section titled “Subtitle”The product’s subtitle, from the standard Product subtitle metafield. Hidden when the product has no subtitle.
The selected variant’s price, with its compare-at price and unit price. Under it, “Taxes included.” shows when your prices include tax, and “Shipping calculated at checkout.” links to your shipping policy when you have one.
- Show sale badge: shows a “Sale” badge next to the price while the product is on sale.
- Show Shop Pay Installments banner: shows Shopify’s installments banner below the price, when Shop Pay Installments is turned on for your store.
Variant picker
Section titled “Variant picker”One control for each product option. Hidden on products with only one variant.
- Style: Buttons (the default) or Dropdown.
- Show swatches: shows color and image swatches, using the swatches set on your product options.
Purchase options
Section titled “Purchase options”One-time purchase and the product’s selling plans, such as subscriptions from an app like Shopify Subscriptions, with each plan’s price and savings. Hidden on products without selling plans. If your app adds its own plan picker block, remove this one so the page shows one picker.
Quantity
Section titled “Quantity”A quantity field. It follows the variant’s quantity rules, such as a minimum or an increment.
Buy buttons
Section titled “Buy buttons”The add to cart button, with Shopify’s dynamic checkout buttons below it.
- Show dynamic checkout buttons: shows the payment methods available in your store, such as Shop Pay or PayPal. Shopify sets the button colors.
- Show recipient form for gift cards: lets shoppers send gift card products to someone else by email, with a personal message.
Pickup availability
Section titled “Pickup availability”Shows the selected variant’s pickup locations when local pickup is set up for your store.
Benefits
Section titled “Benefits”A row of short claims, each with an icon or an image, such as vegan or cruelty-free. Add a Benefit block inside it for each claim. A benefit without text is hidden, so connect its text to a product metafield to show it only on the products that have it.
Each Benefit has:
- Icon: Vegan, Cruelty-free, Fragrance-free, Dermatologist tested, Sensitive skin, Hydrating, Recyclable, Refillable, Natural origin, Paraben-free, Clinically tested, Made in (location pin) or None.
- Custom image: replaces the icon. A square .png or .svg with a transparent background works best.
- Text: the benefit’s text; keep it to two or three words. Connect a product metafield to show this benefit only on products that have it.
Description
Section titled “Description”The product’s description from your Shopify admin.
- Display: Collapsible row (the default) or Inline.
- Heading: the row’s heading. Shown when Display is Collapsible row.
- Open by default: shows the row open when the page loads. Shown when Display is Collapsible row.
Ritual
Section titled “Ritual”Shows this product as step 1, then its complementary products (set in the Search & Discovery app or the product’s Complementary products metafield), with one button to add them all. Hidden when the product has no complementary products. In the Ritual section, by contrast, you choose every step yourself.
- Heading: the block’s heading.
- Text: a short line under the heading.
- Maximum products to show: how many steps show after this product, from 1 to 4 (default 2).
- Show total price: shows the total of the steps after this product.
A share button. It opens the device’s share options, or copies the product link where those aren’t available.
A line of text.
- Text: the text.
- Text style: Heading (the default), Subheading, Normal text or Small text.
- Alignment: the text’s alignment.
Divider
Section titled “Divider”A line between blocks.
- Style: Subtle (the default) or Strong.
Collapsible tab
Section titled “Collapsible tab”A collapsible row with a heading and content, such as how to use or shipping and returns. It shows once it has a heading and content.
- Heading: the row’s heading.
- Content: the row’s text. Connect it to a product metafield to show different content on each product.
- Page content: a page from your store, whose content shows below the text.
- Open by default: shows the row open when the page loads.
Holds other blocks in a row or a column. In the block list it appears as Column and Row, under Layout.
- Layout direction: Horizontal or Vertical (the default).
- Alignment: Left (the default), Center or Right. Shown when Layout direction is Vertical.
- Padding: space at the start and end of the group, from 0 to 200 px: left and right in a row, top and bottom in a column.
Custom Liquid
Section titled “Custom Liquid”Your own code among the product details.
- Liquid code: app snippets or other Liquid code for advanced customizations.