Content Source

Cart-Based Content Source

3 min read

Cart-based content source uses products in the visitor's WooCommerce cart as the data pool for dynamic tags. Great for cart reminders, cross-sells, and checkout nudges.

Requires WooCommerce. See Cart Tags (WooCommerce) and WooCommerce Setup for Notifal.

How it differs from cart display rules

FeaturePurpose
Cart Display RulesShow or hide the notification based on cart state
Cart content sourceWhich cart product fills {product_name}, images, etc.

Often used together: display when cart is not empty, content from items already in cart.

Cart filter options (product pool)

In product content source filters, add a Cart condition. You can include:

SourceMeaning
Cart productsLine items currently in the cart
Related cart productsRelated products linked to cart items
Upsell cart productsUpsells defined on cart products
Cross-sell cart productsCross-sells defined on cart products

Multiple toggles in one cart condition use OR logic (any selected source can supply products).

Example scenarios

"Complete your order" toast: Cart products only → template shows the first cart item name and image.

Cross-sell popup: Cart not empty (display rule) + cross-sell cart products in content source → suggest add-on items.

Related items bar: Related cart products + product tags in a top bar on checkout.

Limits

Notifal resolves up to a sensible number of product IDs per cart condition (large carts are trimmed for performance). For huge carts, prefer related/upsell toggles over listing every line item.

In this topic

  1. What Is Content Source?
  2. Product Pool Content Source
  3. Order Pool Content Source
  4. Post, Page, and User Pools
  5. Cart-Based Content Source (you are here)
  6. Smart Targeting (Pro)
  7. Comment Content Source (Pro)
  8. Content Source Filters
  9. Retrigger Variants