features
Store features that are on (Features in admin): features.wishlist, features.reviews…
Every feature key in admin works (unknown keys are nil); the common ones are below. Sections, blocks and settings groups with “capability” in their schema render only while that feature is on, so a theme can ship them all.
Available in: Every template.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
features.wishlist |
boolean | Wishlist. |
features.reviews |
boolean | Product reviews. |
features.back_in_stock |
boolean | Back-in-stock alerts. |
features.back_in_stock_whatsapp |
boolean | Back-in-stock alerts can go to WhatsApp. |
features.quick_view |
boolean | Quick view. |
features.image_zoom |
boolean | Image zoom. |
features.product_badges |
boolean | Product badges. |
features.stock_status |
boolean | Stock status. |
features.order_tracking |
boolean | Order lookup (/orders/lookup). |
features.size_guide |
boolean | Size guide. |
features.related_products |
boolean | Related products. |
features.whatsapp_share |
boolean | Share on WhatsApp. |
features.announcement_bar |
boolean | Announcement bar. |
features.newsletter_capture |
boolean | Newsletter sign-up. |
features.gift_message |
boolean | Gift message at checkout. |
Example
Section titled “Example”{% if features.wishlist %}<a href="/wishlist">Saved</a>{% endif %}<a href="/wishlist">Saved</a>Compatibility
Section titled “Compatibility”Since theme platform 1.0.
Was this page helpful?

