Skip to content

Single Product Template

The Single Product template controls the layout and structure of individual product detail pages. This template determines how customers view product information, images, pricing, and purchase options.

The Single Product template applies to:

  • Individual product pages (e.g., /product/running-shoes/)
  • All product detail views across your site
  • Product permalink pages linked from grids, search results, and categories

Does NOT apply to:

  • Product listings or grids
  • Search results pages
  • Category archive pages

Those use the Product Search Results template instead.


Out of the box, the Single Product template includes:

Left Column (Images):

  • Product image gallery
  • Main product image (large)
  • Thumbnail navigation
  • Lightbox zoom functionality

Right Column (Product Information):

  • Product title (H1)
  • Product rating and review count
  • Product pricing (regular, sale, calculated)
  • Product description
  • Variant selectors (size, color, etc.)
  • Buy button (“Add to Cart”)
  • Product reviews section
    • Review form
    • Review list (sorted by date)
    • Star ratings
  • Related products carousel

  1. Navigate to Appearance → Editor in WordPress admin
  2. Click Templates in the left sidebar
  3. Filter by “Author is: wpe-mustang” to show Commerce Connect templates
  4. Click Single Product to edit

Single Product template in Site Editor


Change Column Ratio:

  • Default: 50/50 split (images | info)
  • Options: 40/60, 60/40, or 70/30
  • Adjust by selecting columns block and changing width percentages

Stack on Mobile:

  • Default: Images on top, info below
  • Reverse order if needed via block settings
  • Adjust breakpoint for stacking behavior

Single Column Layout:

  • Remove columns block entirely
  • Stack all elements vertically
  • Better for minimal designs or text-heavy products

Gallery Position:

  • Left (default) - Images on left, info on right
  • Right - Images on right, info on left
  • Top - Images full-width above info
  • Bottom - Images below product info

Gallery Style:

  • Thumbnails Below - Main image with thumbnails underneath
  • Thumbnails Side - Main image with thumbnails on left/right
  • Slider - Carousel with navigation arrows
  • Grid - All images in grid layout

Image Size:

  • Square - 1:1 aspect ratio
  • Portrait - 3:4 aspect ratio
  • Landscape - 4:3 aspect ratio
  • Custom - Set exact dimensions

Title Placement:

  • Move title above/below other elements
  • Adjust heading level (H1 default, can change to H2-H6)
  • Change alignment (left, center, right)

Pricing Display:

  • Stack - Regular price, sale price, calculated price vertically
  • Inline - Show prices side-by-side
  • Hide regular price - Only show sale/calculated price
  • Add “Save X%” badge - Display discount percentage

Description Position:

  • Above buy button (default) - Better for product details
  • Below buy button - Better for short descriptions
  • Tab interface - Use tabs for description, specs, shipping info
  • Accordion - Collapsible sections for long descriptions

Review Placement:

  • Below product (default) - Full-width reviews section
  • Right sidebar - Show reviews alongside product info
  • Tabs - Reviews in tabbed interface with description
  • Hide entirely - Remove reviews section

Review Settings:

  • Sort order - Newest, highest rated, lowest rated
  • Reviews per page - 5, 10, 20
  • Form position - Top, bottom, or hidden
  • Moderation - Require approval before display

Position:

  • Below reviews (default)
  • Sidebar - Show related products in right column
  • Above reviews - Place before reviews section
  • Hide - Remove related products entirely

Display Options:

  • Carousel - Horizontal scrolling carousel
  • Grid - Static grid layout (2, 3, or 4 columns)
  • Product count - How many related products to show (4, 6, 8, 12)
  • Criteria - Same category, same tags, manually selected

Goal: Simple, clean layout with essential info only.

Changes:

  1. Remove related products section
  2. Hide reviews (or move to tab)
  3. Use single-column layout
  4. Reduce image gallery to single main image
  5. Simplify description (short, scannable bullets)

Use case: Digital products, services, or simple physical products


Goal: Maximize product information and social proof.

Changes:

  1. Add product specifications block (custom fields)
  2. Enable reviews and display 10+ per page
  3. Show related products in carousel (8 products)
  4. Add product video block
  5. Include shipping/return policy callout

Use case: High-ticket items, complex products, or B2B sales


Goal: Emphasize visuals and variant selection.

Changes:

  1. 60/40 layout (images larger)
  2. Image gallery with 6+ product photos
  3. Prominent variant selectors (size, color swatches)
  4. Add size guide link
  5. Show model measurements

Use case: Clothing, shoes, accessories


Goal: Optimize for mobile shoppers.

Changes:

  1. Stack all elements vertically on mobile
  2. Fixed “Add to Cart” button at bottom of screen
  3. Collapse description into accordion
  4. Reduce image gallery to swipeable carousel
  5. Hide related products on mobile (performance)

Use case: High mobile traffic sites


Enhance the Single Product template with additional blocks:

Add any Commerce Connect block:

  • Product SKU - Display product SKU
  • Product Weight - Show shipping weight
  • Product Dimensions - Display size info
  • Product Brand - Link to brand page
  • Product Categories - Show categorization

How to add:

  1. Click + in template editor
  2. Search for block name
  3. Drag to desired position
  4. Configure block settings

Mix in standard blocks:

  • Spacer - Add vertical spacing between sections
  • Separator - Visual divider lines
  • Buttons - Custom CTAs (“Request Sample”, “Contact Us”)
  • Columns - Create multi-column layouts for specs
  • Image - Add brand logos, certifications, badges

Third-party integrations:

  • Video embeds - YouTube product demos
  • Comparison tables - Spec comparisons
  • Trust badges - Security, warranty, satisfaction guarantees
  • Social proof - Instagram feed, customer photos

Each block in the template has customizable settings:

Settings:

  • Aspect ratio - Square, portrait, landscape, custom
  • Gallery layout - Thumbnails below/side, slider, grid
  • Lightbox - Enable/disable zoom on click
  • Image size - Thumbnail, medium, large, full
  • Lazy loading - Improve performance for pages with many images

Settings:

  • Show regular price - Display original price when on sale
  • Show sale badge - “Sale!” badge when price reduced
  • Price format - $XX.XX, XX,XX €, etc.
  • Tax display - Include/exclude tax in price
  • Currency symbol - Before/after price amount

Settings:

  • Button text - “Add to Cart”, “Buy Now”, “Add to Bag”
  • Button style - Fill, outline, text only
  • Button size - Small, medium, large
  • Width - Auto, full-width, custom
  • Icon - Cart icon, arrow, none

Settings:

  • Layout - List, grid, compact
  • Sort order - Date, rating, helpfulness
  • Show verified badge - Highlight verified purchases
  • Review form position - Top, bottom, hidden
  • Pagination - Load more, numbered pages

Each block has style options:

Typography:

  • Font size (small, medium, large, custom px/rem)
  • Font weight (normal, bold, 100-900)
  • Line height
  • Letter spacing

Colors:

  • Text color
  • Background color
  • Link color (normal, hover)
  • Border color

Spacing:

  • Padding (internal space)
  • Margin (external space)
  • Gap (space between child elements)

Borders:

  • Border width
  • Border style (solid, dashed, dotted)
  • Border radius (rounded corners)

Target specific elements with CSS:

/* Product title styling */
.single-product-template .product-title {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1rem;
}
/* Price styling */
.single-product-template .product-price {
font-size: 1.75rem;
font-weight: 600;
color: #059669; /* Green */
}
/* Sale price highlight */
.single-product-template .product-price--sale {
color: #dc2626; /* Red */
}
/* Buy button customization */
.single-product-template .product-buy-button {
background: #8b5cf6; /* Purple */
color: white;
padding: 1rem 2rem;
border-radius: 0.5rem;
font-weight: 600;
transition: background 0.2s;
}
.single-product-template .product-buy-button:hover {
background: #7c3aed; /* Darker purple */
}
/* Image gallery tweaks */
.single-product-template .product-images {
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
padding: 1rem;
}

Add custom CSS in Appearance → Customize → Additional CSS.


The Single Product template is responsive by default:

  • Two-column layout (images | info)
  • Large product images
  • Reviews in full-width section
  • Related products in 4-column grid
  • Two-column layout maintained (narrower)
  • Smaller images
  • Reviews in 2-column grid
  • Related products in 3-column grid
  • Single-column layout (stacked)
  • Images full-width at top
  • Info below images
  • Reviews in single column
  • Related products in 2-column grid or carousel

Image gallery:

  • Use swipeable carousel instead of thumbnail grid
  • Limit to 5-6 images on mobile
  • Lazy load images below fold

Product info:

  • Collapse description into accordion (“Read More”)
  • Make variant selectors larger (easier to tap)
  • Sticky “Add to Cart” button at bottom

Reviews:

  • Show 3-5 reviews, add “Load More” button
  • Hide review form on mobile (link to separate page)
  • Simplify review layout (remove avatars, etc.)

Visual Hierarchy:

  • Product title largest and most prominent
  • Price second most prominent
  • Buy button stands out with contrasting color
  • Description readable but secondary to visuals

Whitespace:

  • Don’t overcrowd the page with too many elements
  • Use spacer blocks to add breathing room
  • Maintain consistent spacing between sections

Mobile-First:

  • Design for mobile first, enhance for desktop
  • Test all interactions on actual mobile devices
  • Ensure buttons are large enough (44px × 44px minimum)

Fast Loading:

  • Optimize images (BigCommerce serves optimized images automatically)
  • Limit number of related products on mobile
  • Use lazy loading for images and reviews

Clear CTAs:

  • Buy button should be visible without scrolling
  • Use action-oriented text (“Add to Cart” not “Buy”)
  • Show stock status clearly (in stock, low stock, out of stock)

Build Trust:

  • Show customer reviews prominently
  • Display security badges (SSL, payment logos)
  • Include return/shipping policy links
  • Show product rating near title

Structured Data:

  • Commerce Connect automatically adds Product schema
  • Includes: name, image, price, availability, rating
  • Validates with Google Rich Results Test

Content:

  • Write unique product descriptions (not manufacturer copy)
  • Use headings (H2, H3) to structure long descriptions
  • Include keywords naturally in title and description
  • Add alt text to all product images

Performance:

  • Fast page load = better rankings
  • Use WP Engine Full Page Cache
  • Optimize images for web
  • Minimize custom JavaScript

  1. Make changes in Site Editor
  2. Click Preview button
  3. Open preview in new tab
  4. Test with different products
  5. Check variant selection, add to cart, reviews

Use browser responsive design mode:

  1. Open preview in browser
  2. Press F12 (dev tools)
  3. Click Toggle device toolbar icon
  4. Test on:
    • iPhone (375px width)
    • iPad (768px width)
    • Desktop (1440px width)

Product page features:

  • ✅ Image gallery navigation works
  • ✅ Lightbox zoom functions
  • ✅ Variant selectors update price/image
  • ✅ Add to Cart button adds product
  • ✅ Reviews display and sort correctly
  • ✅ Related products link to correct pages
  • ✅ Mobile layout stacks properly

Test in multiple browsers:

  • Chrome (desktop + mobile)
  • Safari (desktop + iOS)
  • Firefox
  • Edge

Solution:

  1. Ensure you clicked Save in Site Editor
  2. Clear site cache (WP Engine cache, CDN cache)
  3. Hard refresh browser (Cmd+Shift+R or Ctrl+Shift+R)
  4. Verify you edited “Single Product” not another template

Solution:

  1. Check if product is in stock
  2. Verify BigCommerce connection is active
  3. Check browser console for JavaScript errors (F12)
  4. Test in incognito mode (rule out cache/plugins)

Solution:

  1. Verify product has reviews in BigCommerce
  2. Check if reviews synced to WordPress (Commerce Connect → Products)
  3. Ensure reviews block is not hidden via CSS
  4. Check review moderation settings (may be pending approval)

Solution:

  1. Check if images exist in BigCommerce
  2. Trigger product sync (Commerce Connect → Settings → Data → Sync Products)
  3. Verify image URLs are not blocked by firewall/CDN
  4. Check browser console for 404 errors

Solution:

  1. Check column block settings - ensure “Stack on mobile” enabled
  2. Test in actual mobile browser (not just responsive mode)
  3. Review custom CSS for mobile overrides
  4. Verify theme supports Full Site Editing properly

Show/hide elements based on product attributes:

Use custom CSS to hide by default, then show for specific categories:

/* Hide size guide by default */
.size-guide-block {
display: none;
}
/* Show for apparel category */
.product-category-apparel .size-guide-block {
display: block;
}

Display custom fields from BigCommerce:

  1. Add custom fields in BigCommerce admin
  2. Fields automatically sync to WordPress
  3. Use custom HTML block to display:
<div class="custom-field">
<strong>Material:</strong>
<span>{{product.custom_field_material}}</span>
</div>

Create tabbed interface for description, specs, reviews:

  1. Add Tabs block (from theme or plugin)
  2. Create 3 tabs: Description, Specifications, Reviews
  3. Move product blocks into respective tab panels
  4. Style tabs to match your theme