Viewer count templates

These templates use real-time visitor data. They work from the first page view with no historical data needed. Use conditional logic to show only when the count is above a meaningful threshold (e.g., viewer_count_current > 3).

24 people viewing this right now

Template: {{viewer_count_current}} people viewing this right now

The classic social proof message. Works on any product page. Best with condition: viewer_count_current > 5.

312 people viewed this today

Template: {{view_count_today}} people viewed this today

Cumulative daily views. Numbers grow throughout the day — great for high-traffic products. Condition: view_count_today > 20.

Popular — 1,247 views this week

Template: Popular — {{view_count_pastweek}} views this week

Weekly view counts look impressive on popular products. Use on collection pages and best sellers. Condition: view_count_pastweek > 100.

Purchase count templates

Purchase notifications build trust by showing real sales velocity. These need a few days of data to populate. Always use conditions to avoid showing "0 purchases."

Purchased 89 times this week

Template: Purchased {{order_count_pastweek}} times this week

The go-to purchase velocity message. Weekly timeframe balances freshness with meaningful numbers. Condition: order_count_pastweek > 5.

Selling fast — 14 sold today

Template: Selling fast — {{order_count_today}} sold today

Daily sales count with urgency framing. Best for high-volume products or during sales events like Black Friday. Condition: order_count_today > 3.

342 sold this month — a customer favorite

Template: {{order_count_pastmonth}} sold this month — a customer favorite

Monthly count produces larger numbers, creating strong social validation. Add descriptive text for emotional impact. Condition: order_count_pastmonth > 20.

Cart activity templates

Cart messages show live purchase intent. They combine social proof with urgency — if others are about to buy, you should too.

8 people have this in their cart

Template: {{cart_count_today}} people have this in their cart

Shows active purchase intent. Creates competition — "others are about to buy this too." Condition: cart_count_today > 2.

Added to cart 23 times this week

Template: Added to cart {{cart_count_pastweek}} times this week

Weekly cart additions show sustained demand beyond just current interest. Good for products with longer consideration cycles.

Stock and scarcity templates

Low stock alerts create genuine urgency when inventory is limited. Use conditions to show only at real low-stock thresholds.

Only 3 left in stock

Template: Only {{inventory_quantity}} left in stock

Direct stock count. Simple and effective. Condition: inventory_quantity < 10 (adjust threshold to your business).

Selling fast — only 5 left and 12 in carts

Template: Selling fast — only {{inventory_quantity}} left and {{cart_count_today}} in carts

Combines stock scarcity with cart competition. The math is obvious — there might not be enough for everyone. Condition: inventory_quantity < 15.

Low stock — 2 left in size M

Template: Low stock — {{inventory_quantity}} left in {{variant_title}}

Variant-aware stock alert. Especially powerful for fashion stores where specific sizes sell out.

Ranking templates

Best seller rankings are auto-calculated based on actual sales data within collections and product types.

#1 best seller in Summer Collection

Template: #{{collection_rank}} best seller in {{collection_title}}

Collection-level ranking. Auto-updates as sales change. Condition: collection_rank <= 5 to show only top performers.

#3 most popular T-Shirt

Template: #{{product_type_rank}} most popular {{product_type}}

Product-type ranking. Useful when you have many products of the same type. Condition: product_type_rank <= 10.

Shipping and discount templates

These templates drive higher average order value. See our AOV optimization guide for strategy details.

Spend $23 more for free shipping

Template: Spend {{free_shipping_remaining}} more for free shipping

Dynamic free shipping calculation. Updates based on cart value. The single most effective AOV-boosting message.

Save $45 — was $299, now $254

Template: Save {{discount_amount}} — was {{compare_at_price}}, now {{price}}

Auto-calculated from compare-at prices. Shows the exact dollar savings. Condition: discount_amount > 0.

15% off — sale price won't last

Template: {{discount_percentage}}% off — sale price won't last

Percentage-based discount with urgency framing. Works well for smaller absolute discounts where the percentage looks more impressive.

Tips for effective templates

  • Always use conditions. A message showing "0 people viewing this" hurts more than it helps. Set minimum thresholds for every variable.
  • Keep messages short. One line is ideal. Two lines maximum. Shoppers scan — they don't read paragraphs.
  • Match tone to context. Urgency messages (red) for scarcity. Trust messages (green) for purchases. Information messages (blue) for viewers.
  • Test different placements. The same message converts differently as an image overlay vs. below the title. See our placements guide for options.
  • Combine 2-3 messages per product. A viewer count + purchase count + stock alert covers social proof, trust, and urgency simultaneously.

For the full list of available variables, see the Message Variables Reference. To customize how these messages look, read the CSS customization guide.