Use cases
Show Shopify sections only on certain pages or URLs
ePlugin ·
Use page-type, URL-path or query-parameter conditions to show existing Shopify content in the intended page context. Visi offers these conditions.
The merchant problem
A global announcement may be useful on the homepage but distracting in the cart. A campaign link can need a particular supporting message without creating an entirely new page layout.
How to do it with Visi
- Confirm where the selected section exists, including global section groups and shared templates.
- Choose page type, URL path or a query-parameter condition.
- Test matching and nonmatching URLs, language prefixes and campaign links.
Specific storefront use cases
Homepage-only, product-page and cart-page announcements
Choose the relevant page-type condition for content present in that context. For product-specific or collection-specific merchandising, use the dedicated product/collection conditions instead of treating all pages of that type as equivalent.
URL-specific content and campaign query parameters
Use URL-path matching or a configured query parameter for existing campaign content. Test direct visits, links with and without the parameter and localized URLs.
Questions merchants ask
How do I show a Shopify section only on the homepage?
Apply a homepage page-type condition to content that already exists there.
Can I personalize Shopify content by UTM campaign link?
Visi supports query-parameter rules, which can match a configured parameter such as utm_campaign. Prepare content and test the actual links.
Example setup
Show an existing announcement on the homepage, or match a configured campaign parameter such as utm_campaign to a promotional message on a landing page.
Further reading: Official Shopify documentation
Related resources
Use cases
Show different Shopify sections by market or country
Show Shopify banners by country, market, language or currency. Personalize regional promotions and localized storefront announcements.
- Country-specific banners and shipping messages
- Shopify Markets content and market-specific promotions
- Language-specific sections and currency-aware messages
Use cases
Control merchandising sections on product and collection pages
Show Shopify sections on selected product or collection pages using IDs, handles, tags and metafields. Reuse templates with contextual merchandising.
- Product-specific Shopify sections on a shared template
- Merchandising by product tag, type or vendor
- Collection-page merchandising and promotional banners
Guides
How to hide or show a Shopify section without rebuilding your page
Hide or show Shopify theme sections and blocks using theme controls, Liquid or display rules. Compare page, customer and time-based conditions.
Read the practical guide →