إنتقل إلى المحتوى الرئيسي

Paint Configurator

The Paint configurator section lets visitors pick a frame color, see the photo change, and open a configurator window to choose a size and add the bike to their bag.


What you need​

  • A product with a Color option (for example Volt, Forest, Graphite)
  • Optionally a Size option on the same product
  • One photo of the product per color, if you want the photo to change

Step 1 - Choose the product​

  1. Open the homepage in the theme editor and click Paint configurator
  2. In Product, pick your product

Without a product, the button links to the Fallback link (or to all products) instead of opening the configurator window.

Step 2 - Add color swatches​

Add one Paint swatch block for each color (up to 8).

SettingWhat it does
Variant valueMust match the color option value on your product, for example Forest. Spelling is not case sensitive
ColorThe swatch color
Check mark colorColor of the tick on the selected swatch. Use a light color on dark swatches
Ambient washA soft glow behind the photo, written as a CSS color such as rgba(53,81,59,.34)
Photo in this colorOptional. The photo shown when this swatch is selected
Match the names exactly

Selecting a swatch picks the variant whose option value has the same name. If a name does not match, the configurator shows "Choose options" and the button stays disabled.

Step 3 - Add photos​

  1. Turn on Show a photo instead of the illustration
  2. Upload a Bike photo. This is the default photo
  3. For each swatch, upload a Photo in this color

When a swatch has no photo of its own, the main photo stays and only the glow changes color. To make the frame color change, upload one photo per color.

If you turn the photo option off and do not upload a photo, the stage shows a drawn bike illustration. Pick its shape with Bike illustration (road, gravel, trail, city or e-bike). The drawing is painted in the swatch color.

Alt text

Write a short description in Photo alt text so screen reader users know what the photo shows.

Step 4 - Text and specs​

SettingWhat it does
Stage tag, Stage spec, Stage coordinateSmall labels on the photo
Spec 1 to 4 (label and value)The four spec lines. Leave a label empty to hide a line
Fallback price and Price noteShown when no product is chosen
Button labelThe text on the button that opens the configurator

The configurator window​

When the visitor clicks the button, a window opens with a large photo and three steps:

  1. Frame color - the same swatches, mirrored from the page
  2. Frame size - one button per value of the product's size option. The add button stays disabled until a size is chosen
  3. Add to bag - shows the live price and availability of the chosen variant, and adds it to the cart

A link under the button opens the full product page.


Troubleshooting​

ProblemFix
The button goes to the product listNo product is chosen in the section. Pick one
"Choose options" appearsA swatch name does not match a color option value. Edit the Variant value
Size step is missingThe product has no option whose name contains "Size"
The photo does not changeThe swatch has no Photo in this color