Use the {{ OptionCount }} dynamic variable to display badges with the count of values for a specific product Option. Improve the shopping experience by letting customers know that there are more options available.
You need to provide the Option name ('Color', 'Size', 'Material ', etc) for which the value count needs to be displayed inside the badges. This can be done by adding the Option name as shown below.
🚀 Step-by-Step Instructions
Step 1: Open Smart App
- From Shopify admin, click Apps.
- Open Smart App.

Step 2: Configure Option Count
- For products that do not have the specified Option name, this badge will not be visible.

Step 3: Save and Publish
- Review the preview panel.
- Click Save & Publish.
âš Important Notes
- âš Theme changes affect your live storefront. Test on a duplicate theme first.
- 📧 Need help? Contact [email protected].