Skip to main content

Product Card

Overview

The Product Card component in Label One theme is a versatile and feature-rich element used throughout the store to display products in collections, search results, featured sections, and recommendations. It combines visual elements with product information and interactive features to enhance the shopping experience.

Key Features

  • Responsive design that adapts to different layouts
  • Customizable image aspect ratios
  • Second image on hover effect
  • Product badges (sale, sold out, new arrival)
  • Quick add to cart functionality
  • Product siblings (color swatches) integration
  • Price comparison and sale pricing
  • Vendor display option

Theme Settings Configuration

Product Card Type

SettingDescriptionOptions
Product card typeControls the overall style of product cardsModern (default)

General Settings

SettingDescriptionOptions
Image aspect ratioSets the proportions of product images1:1, 4:5, 5:7, 2:3, 9:13
Show product vendorDisplays the product's vendor nameOn/Off

Modern Card Features

SettingDescriptionOptions
Show second image on hoverReveals the second product image when hoveringOn/Off
Enable quick addShows variant selector and add button on hoverOn/Off

Product Badge Settings

SettingDescriptionOptions
Show background colorAdds background to product badgesOn/Off
Show sold out labelDisplays "Sold Out" badge when unavailableOn/Off
Show preorder labelDisplays "Pre-order" badge for eligible productsOn/Off
Show sale badgeDisplays "Sale" badge for discounted productsOn/Off
Show discount percentageShows percentage discount instead of "Sale"On/Off
Show new labelDisplays "New" badge for recent productsOn/Off
New arrival limitNumber of days a product is considered new1-101 days

Card Components

Product Image

  • Primary product image with customizable aspect ratio
  • Optional second image that appears on hover
  • Responsive loading with appropriate sizing
  • Support for different media types (image, video, 3D model)

Product Badges

Located at the top corner of product images, badges provide important product status information:

  • Sale badge (with optional discount percentage)
  • Sold out badge
  • New arrival badge
  • Pre-order badge

Product Information

The information section displays:

  • Product title (always shown)
  • Optional vendor name
  • Current price
  • Comparative price (when on sale)
  • Optional currency code

Quick Add to Cart

When enabled and hovered:

  • A "+" button appears on the product image
  • Clicking reveals variant options (if product has variants)
  • Add to cart button allows direct purchase
  • Variant selectors for products with options

Product Siblings (Swatches)

When enabled in Theme Settings → Product Siblings:

  • Color swatches appear below the product information
  • Current product's swatch is highlighted
  • Clicking a swatch navigates to the related product variant

How It Works

  • Default State: Shows product image, title, and price
  • Hover State: Reveals second image (if enabled) and quick add button
  • Quick Add Interaction: Clicking "+" reveals variant options and add to cart
  • Swatch Interaction: Clicking swatches navigates to related products

Best Practices

Image Optimization

  • Maintain consistent aspect ratios across products
  • Use high-quality images but optimize for web
  • Ensure second images complement the primary image
  • Consider using lifestyle images for hover state

Product Information

  • Keep product titles concise for better display
  • Use vendor display selectively based on importance
  • Ensure prices are competitive and clearly visible
  • Set up comparative pricing for sale items

Quick Add Implementation

  • Works best for products with few variants
  • Consider disabling for complex products with many options
  • Test the user experience on both desktop and mobile

Badge Usage

  • Use badges strategically to highlight key product features
  • Don't enable too many badges at once (visual clutter)
  • Set appropriate "new arrival" timeframe for your industry

Mobile Considerations

  • Second image hover effect only works on desktop
  • Quick add functionality adapts for touch interfaces
  • Badges remain visible and properly sized on mobile
  • Text adjusts to maintain readability on smaller screens

Product Card in Different Contexts

The product card adapts to different layouts:

  • Grid Layout: Standard display in collections and search results
  • List Layout: Alternative view with different proportions
  • Featured Sections: Can be highlighted in special homepage sections
  • Related Products: Appears in product recommendations

Integration with Theme Features

  • Product Siblings: Color swatches appear when enabled
  • Quick Add: Requires variant selection capabilities
  • Badges: Connected to inventory, pricing, and publishing dates
  • Card Borders: Controlled via theme border settings

Troubleshooting

  • Images not displaying correctly: Check aspect ratio settings and image dimensions
  • Second image not appearing: Verify product has multiple images and hover effect is enabled
  • Quick add not working: Ensure product is available and variants are set up correctly
  • Swatches missing: Check Product Siblings settings and required metafields
  • Badges not showing: Verify badge settings and product conditions (sale price, inventory, publish date)

This documentation covers all aspects of the Label One theme's product card component, helping you optimize the presentation of your products throughout your store.