Use cases
Show storefront messages based on the Shopify cart
ePlugin ·
Use cart total or cart item conditions to show a relevant section. Visi supports cart total and product/variant membership and item count.
The merchant problem
A general offer may be irrelevant once a shopper has already added the qualifying product or reached a spend threshold. Cart conditions can make supporting content more contextual.
How to do it with Visi
- Choose a cart-value, item-count or product condition that matches the message you want to display.
- Attach the rule to content and save.
- Test an empty cart, matching cart and nonmatching cart, including your theme’s AJAX cart updates.
Specific storefront use cases
Cart-value messages and free-shipping reminders
Use a cart-total threshold to display a reminder below or above a chosen amount. Cart-total rules are.
Product and variant messages based on items in the cart
Match product IDs, handles or variant IDs in the cart to show relevant existing promotional or support content.
Cart item-count and applied-discount content
Use item-count conditions for messages relevant to the cart size. applied-discount conditions can change supporting content after a discount is present. Test empty carts and AJAX cart updates in your actual theme.
Questions merchants ask
How can I show a Shopify banner only when cart total exceeds a value?
Attach a cart-total comparison to content and test below, at and above the threshold.
Can I show content when a specific product is in the Shopify cart?
Yes, with cart product-ID, handle or variant-ID conditions. Use cart membership rather than product-page conditions.
Can I show messages based on the number of items in the cart?
Yes. Use an item-count rule to display a message for a chosen cart size. Show a shopping reminder for a small cart or a relevant announcement when more items are added.
Example setup
Show a free-shipping reminder when the cart total is below your chosen threshold, and switch to a congratulations message when the shopper reaches it.
Further reading: Official Shopify documentation
Related resources
Use cases
Schedule Shopify sections for seasonal campaigns and flash sales
Schedule Shopify banners and sections for seasonal campaigns, Black Friday, flash sales and recurring promotions. Explore seasonal banners, sale announcements and automated campaign windows.
- Seasonal campaigns: Christmas, holiday and back-to-school sections
- Black Friday and Cyber Monday storefront content
- Flash sales and limited-time promotional banners
- Automatically show and hide scheduled Shopify sections
- Weekend offers, daily promotions and business-hour content
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