Pebble Theme
Theme Settings

Product cards

7 min read

How to edit Product cards

Steps:

  1. In the theme editor (Customize), click Theme settings.
  2. Locate Product cards.
  3. Make necessary changes.
  4. Click Save.

Product cards settings options

Media

These options control how the product image is displayed within the card.

SettingDescription
Aspect ratioDefines how product images are cropped for consistent display:
Auto (default) - Uses the original aspect ratio.
Square (1/1)
Portrait (4/5)
Portrait (3/4)
Landscape (16/9)
Landscape (4/3)
Corner radiusAdjust how rounded the product image corners should be:
• Move the slider to change from 0px (sharp corners) to 32px (fully rounded).imageimage
Show second image on hoverimageEnables a hover effect that switches to the product’s second image when the customer moves their cursor over the product card.

Content

SettingDescription
StyleChoose the display style for product cards, including standard or card layout. imageimage
AlignmentControls how text aligns inside the product card:imageimageimage
Show product vendorToggle to display or hide the product vendor/brand above the product title.image
Show product typeToggle to display or hide the product type (e.g., "Hats", "Backpacks").image

Badges

Customize how product badges like "New", "Hot", "On Sale", or "Sold Out" appear.

SettingDescription
LayoutDefines how multiple badges (sale, sold out, custom) are arranged:
Vertical (stacked)
Horizontal (side by side)
image
image
Show custom badgesEnable this option to show badges created through product tags.
✍️ Learn how to add custom badges: Product badges
To change the badges' colors, go to Theme settings > Colors
Show sold out badgeToggle to display or hide a "Sold Out" badge on out-of-stock items.image
Show sale badgeToggle to show or hide a sale badge whenever a product has a discounted price (when the Compare-at price is larger than the Price).

• Sale badge type: Choose how the sale badge displays discount information:
Text - Shows "On Sale"
Percentage - Shows a discount like "Save 20%"
Fixed amount - Shows amount saved like "Save $10.00"
image
image
image

Swatches

Swatches represent variant colors or patterns in a visual way.

SettingDescription
Show swatchesToggle this on to display color or pattern swatches under the product price.image
Learn how to setting up Swatches via Shopify Category Metafields.
Note:
• When Show swatches is OFF > all other swatch-related settings remain hidden.image
• When Show swatches is ON > additional swatch customization options appear (Show variant images, shape, width, max items).image
Show variant imagesWhen enabled, each swatch will display the variant’s assigned image (a miniature thumbnail) instead of using a solid color swatch.image
Fallback behavior:
If Show variant images is ON but a specific variant does not have an assigned image, Pebble will automatically fall back to:
1. The swatch image defined in the color metafield (if available)
2. Otherwise, the color value (HEX/RGB) from the metafieldThis ensures every swatch always has a visible representation, no blank swatches.
image
image
Swatch shapeChoose how swatches are displayed visually:
Circle
Square (1/1)
image
image
Swatch widthControls the size of each swatch.
Available range: 20px – 100px.
Maximum items to showLimits how many swatches appear before the remaining ones collapse into a "+X" indicator.
• Range: 1 - 6 items.
• Example: If a product has 3 colors and you set this to 2, customers will see 2 swatches + "+1".image

Actions

Controls interactive elements displayed on product cards.

SettingDescription
Show quick addAdds an Add to cart or Choose options button directly on the product card.
• Single variant products show Add to cart button which adds the item immediately.image
• Multi-variant products show Choose options button which opens the Quick View popup, allowing the customer to select a variant and add the product to the cart without leaving the page.image
Note: The Quick Add button does not appear on sold-out products.
Show quick add on mobileEnables Quick add functionality specifically for mobile users.image
If the product has different variants, the quick view modal will be opened for customer to select the variant they want to added to the cart.
Quick add styleChoose how the Quick add button is displayed visually:
Text only
With icon
image
image
Quick add iconSelect the icon used when the With icon style is enabled:
Plus
Cart
image
image
Quick add color schemeSelect the color scheme applied to the Quick add button.
This setting controls the button’s:
Background color
Text color
Border color
Hover state styling
Color schemes are managed in: Theme settings > Colors.
Show quick viewAdds a Quick view icon (magnifying glass) on hover over the product image.
Clicking opens a Quick view popup, allowing customers to see product details without leaving the page.image
To customize your Quick view, see Quick add drawer.
Show quick view on mobileEnables the Quick view icon and popup on mobile devices.image
Last updated