Zone Widget Configuration Options
Zone ID
The unique identifier for the zone that must match your campaign configuration in PureClarity admin. If no matching campaigns exist, no content will display.Fallback Block ID
Optional static block to display if PureClarity doesn’t populate the zone when the page renders.To find block IDs, navigate to Content > Blocks in Magento admin and check the “Identifier” column.

Zone Display Mode
Controls device targeting for the zone:
- Default - Display on all devices
- Mobile Only - Display only on mobile devices
- Desktop Only - Display only on desktop devices
The description for “Desktop Only” in the original article appears to be incorrect (it said “mobile devices”). Desktop Only mode displays content only on desktop devices.
Apply Margin
When enabled, adds 10px margin above and below the zone content area for better visual spacing.CSS Custom Classes
Add custom CSS classes to help the zone integrate with your theme styling.Step-by-Step Widget Creation
Example: Adding a Search Results Zone
Let’s walk through adding a zone to the search results page:1. Navigate to Widget Management
Go to Content > Widgets and click “Add Widget”.
2. Select Widget Type
Choose “PureClarity Zone” from the Type dropdown.
3. Select Design Theme
Choose your active theme from the Design Theme dropdown.The theme must match the one active on the store view where PureClarity is installed.
4. Continue to Configuration
Click “Continue” to proceed to the detailed configuration.
5. Configure Storefront Properties


6. Configure Layout Updates
Layout updates determine where the widget appears on your site.
- Click “Add Layout Update”
- Select “Specified Page” from Display on dropdown
- Choose “Quick Search Form” from Page dropdown
- Select “Before Main Columns” from Container dropdown
7. Save the Widget
Click “Save” to create your zone widget.
Cache Management
After creating zone widgets, you must clear specific Magento caches for the zone to appear on your frontend.
- Layouts
- Blocks HTML output
- Page Cache
Widget Placement Options
Common Container Positions
Container | Location | Use Case |
---|---|---|
Before Main Columns | Above main content | Hero zones, announcements |
After Main Columns | Below main content | Related products, cross-sells |
Sidebar Additional | Right sidebar | Recommendations, promotions |
Content Top | Top of content area | Category banners, filters |
Page-Specific Placements
Page Type | Display On Setting | Common Zones |
---|---|---|
Category Pages | Catalog Category View | Category recommendations |
Product Pages | Catalog Product View | Related products, cross-sells |
Search Results | Quick Search Form | Search-based recommendations |
Homepage | CMS Home Page | Featured products, hero content |
Cart Page | Checkout Cart Index | Upsells, abandoned cart recovery |
Zone Widget Best Practices
Naming Conventions
- Use descriptive widget titles with zone IDs
- Include page type in the title (e.g., “PC Zone CAT-01 Category Page”)
- Maintain consistent naming across your site
Performance Considerations
- Limit widget count - Too many zones can impact page load times
- Use fallback blocks - Provide content when PureClarity is unavailable
- Test responsiveness - Verify zones work across all devices
Content Strategy
- Match zone purposes - Align widget placement with campaign goals
- Consider user flow - Place zones where they enhance user experience
- Monitor performance - Track zone effectiveness in PureClarity analytics
Testing Your Zone Widget
After creating and caching:- Visit the target page to confirm the zone appears
- Check device responsiveness if using display mode settings
- Verify zone ID matching in PureClarity admin
- Test fallback content by temporarily disabling campaigns
If your zone doesn’t appear, enable Zone Debug Mode to see zone placeholders and troubleshoot placement issues.
Troubleshooting Widget Issues
Widget Not Appearing
- Clear all relevant caches
- Verify layout update configuration
- Check store view assignment
- Confirm theme selection
Zone Content Not Loading
- Verify zone ID matches campaign configuration
- Check PureClarity is enabled for the store view
- Review feed status and data synchronization
- Test with debug mode enabled
Styling Issues
- Add custom CSS classes to the widget
- Check theme compatibility
- Adjust margin settings
- Review container positioning