shop object contains your store’s fundamental settings and configuration. It’s available globally across all pages and templates, making it perfect for headers, footers, and any store-wide functionality.
Usage: Available globally - use anywhere in your templates to access store information
Basic Store Information
Access your store’s core details that you’ve configured in the Control Panel:Available Properties
Currency Conversion
If you have multiple currencies enabled, display a currency picker:Currency Object Properties
When looping throughshop.cconverter_currencies:
Multi-Language Support
Display language options when multiple languages are configured:Language Object Properties
When looping throughshop.languages:
Tax Toggle
If tax toggling is enabled, allow customers to switch between prices including/excluding tax:Tax-Related Properties
Customer Login Integration
Display login/account links when customer accounts are enabled:Stock Messages
Display custom out-of-stock messages:Complete Examples
Store Header with All Features
Store Footer with Contact Information
Best Practices
Check Before Using
Always check if features are enabled before displaying related UI elements (e.g.,
{{#shop.cconverter_active}})Provide Fallbacks
Provide fallback content when optional settings aren’t configured
Use Semantic HTML
Structure your shop information with proper semantic HTML elements
Cache Considerations
Shop data is cached and updates when you change store settings in the Control Panel
Next Steps
User Object
Learn about customer account and authentication data
Settings Object
Explore theme-specific customizable settings
Basket Object
Work with shopping cart data and functionality
Navigation Object
Build dynamic navigation menus