Schema Location
File:sections/featured-product.liquid:95-205
Features
- Single product showcase
- Split layout (media left or right)
- Responsive media gallery
- Constrained height for visual consistency
- Structured data for SEO
- Full product information display
Settings
Product Selection
Select the product to featureRequired: This setting determines which product is displayed
Layout
Position of product mediaOptions:
media-left- Media on left, content on rightmedia-right- Content on left, media on right
Appearance
Color scheme for the section
Padding
Top padding in pixelsRange: 0-100px, step 1
Bottom padding in pixelsRange: 0-100px, step 1
Static Blocks
The Featured Product section includes two static blocks:1. Media Block (_media-without-appearance)
Type: _media-without-appearance
Displays the product’s media gallery (images and videos).
Settings:
- Uses product’s aspect ratio
- Responsive image sizing
- Gallery navigation
2. Featured Product Block (_featured-product)
Type: _featured-product
Contains product information and purchase interface.
Child Blocks:
product-title- Product name_featured-product-price- Price display_featured-product-gallery- Additional gallery viewswatches- Color/variant swatches
Implementation
Structured Data
featured-product.liquid:1-3, the section outputs JSON-LD structured data for SEO.
Layout Logic
featured-product.liquid:5-44, media and content order changes based on layout setting.
CSS Custom Properties
Grid Layout
From the stylesheet atfeatured-product.liquid:48-92:
Preset Configuration
The default preset includes: Section Settings:- Color scheme: scheme-3
- Layout: media-left
-
Media Block
- Type:
_media-without-appearance - Displays product images/videos
- Type:
-
Featured Product Block
- Type:
_featured-product - Child blocks:
- Product title (H5)
- Price display
- Gallery thumbnails
- Variant swatches
- Type:
Product Information Display
Title Block Settings
Swatches Block Settings
Responsive Behavior
Mobile Layout
Mobile Layout
On mobile (< 750px):
- Media always appears first (order: -1)
- Single column layout
- Padding: 20px block and inline
Desktop Layout
Desktop Layout
On desktop (≥ 750px):
- 50/50 split layout
- Content width constrained to aspect ratio
- Padding: 40px block and inline
- Centered content alignment
Content Sizing
SEO Benefits
Structured Data: The section automatically outputs Product schema markup for improved search engine visibility and rich snippets.
Usage Examples
New Product Launch
Feature a new product with full details and high-quality imagery. Settings:- Layout: media-left
- Color scheme: scheme-3 (accent color)
- Product: Select your new product
Hero Product Showcase
Highlight your best-selling or flagship product. Settings:- Layout: media-right
- Add descriptive blocks in the product content
- Enable swatches for variants
Accessibility
- Product images include alt text from product settings
- Proper heading hierarchy with H5 title
- Color contrast maintained via color scheme
- Keyboard accessible variant selection
- Screen reader friendly price announcements
Performance Optimization
Image Loading
Image Loading
- Product media uses responsive image sets
- Lazy loading for below-fold images
- Aspect ratio preserved to prevent layout shift
- Gallery aspect ratio calculated:
product.featured_media.preview_image.aspect_ratio
Height Constraints
Height Constraints
The section uses dynamic viewport height calculations:This ensures the section doesn’t overwhelm the viewport while maintaining visual impact.
Customization Tips
Related Sections
Product List
Display multiple products in grid or carousel
Product Recommendations
Dynamic product suggestions
Product Information
Full product page layout