Option Count

The Option Count dynamic data field lets you display the total number of values available for a specific product option, such as Color, Size, or Material. This helps customers quickly understand that more choices are available, encouraging them to explore different variants before making a purchase.

Example Badges:

Available in 8 Colors

5 Sizes Available

3 Material Options

How to Display Option Count

Step 1: Add the Dynamic Data Field

While creating or editing a Badge or Highlight, insert the {{OptionCount}} dynamic data field into the badge text.

Step 2: Specify the Product Option

Provide the Option Name whose value count you want to display. Common Shopify option names include:

  • Color
  • Size
  • Material

Screenshot 2026-07-02 160734.png

Example

Suppose your Shopify product has the following options:

OptionAvailable ValuesBadge Display

Color

Black, White, Blue, Red

Available in

4 Colors

Size

S, M, L, XL, XXL

5 Sizes Available

Material

Cotton, Linen

2 Material Options

Important Notes

  • The Option Name must exactly match the product option name configured in Shopify (for example, Color, Size, or Material).
  • If a product does not contain the specified option, the badge will not be displayed.
  • The displayed count updates automatically whenever option values are added or removed from the product.