Conditional logic lets you set up simple rules or conditions to control how product data appears in your feed. It’s like telling your feed, “If this happens, then do that. It automatically includes, excludes, or updates product details based on specific conditions, helping to keep your feed accurate, up-to-date, and optimized for each sales channel.
How It Works:
Conditional logic follows an IF > THEN pattern, where an action is performed only when a condition is met.
- IF a product meets a defined condition,
- THEN perform a specific action (like include, exclude, or modify a value).
This makes your feed more flexible and saves you from making manual changes when managing extensive product catalogs.
Conditional logic also helps your feed meet the specific requirements of various channels, such as Google, Meta, or Pinterest. It can automatically filter, relabel, or adjust product details without changing anything in your store.
Examples of Conditional Logic
1. Excluding Out-Of-Stock Products
- Condition: If stock quantity = 0
- Action: Exclude the product from the feed
2. Highlight Sale or Discounted Items
- Condition: If sale price < regular price
- Action: Add a custom label like “On Sale” or “Discounted”
3. Marking High-Value Products
- Condition: If price > $500
- Action: Set a custom label as “Premium Product”
4. Customize Product Titles for Specific Channels
- Condition: If channel = Google Shopping
- Action: Append brand name to the product title
5. Assigning Category Based on Brand
- Condition: If Brand = Nike
- Action: Set Google Product Category to “Apparel & Accessories > Shoes.”

These rules help you automatically filter, modify, and organize your product data to match the requirements of each sales platform, without manual effort.
Why It Matters
- Saves time: Cuts down on manual edits when managing large product catalogs.
- Improves accuracy: Keeps your product data clean, consistent, and relevant across all channels.
- Boosts performance: Helps you optimize feeds based on campaign goals, such as promoting bestsellers, new arrivals, or discounted items.