---
title: Target BigCommerce Products with Rules and Conditions
description: Create a size chart, popup or tab once, then use conditions to select the BigCommerce products that should display it. This guide explains how product matching works, how to check your selection with Preview, and how to troubleshoot zero matches.…
url: "https://prikid.app/docs/creating-rules-to-filter-products-according-to-conditions/"
updated: "2026-10-14"
category: Creating and Targeting Content
---

# Target BigCommerce Products with Rules and Conditions

Create a size chart, popup or tab once, then use conditions to select the BigCommerce products that should display it. This guide explains how product matching works, how to check your selection with Preview, and how to troubleshoot zero matches.

## How product matching works

Each content item has its own product conditions. A condition compares a field in your synchronized BigCommerce catalog with a value you select or enter. Conditions select products; publishing and display settings control whether and where the content appears on your storefront.

1. Open or create the content item in PRIKID and go to **Selection rules**.
2. Choose a field, such as **Product name**, then an operator, such as **contains**, and enter the value to match.
3. For a list condition, select the products, categories or brands from the suggestions. Typing a search term alone does not select an item.
4. Click **Preview** in the product-conditions area. Check both a product you expect to include and one you expect to exclude.
5. Save the item and publish it when the content and display settings are ready. Confirm the result on an actual product page.

The screenshots below show the **Selection rules** interface. Click or tap a screenshot to open it at full size.

[![Selection rules with Product name, contains and shirt, plus Preview, AND and OR controls.](https://prikid.app/wp-content/uploads/2023/09/matching-selection-rules.jpg)](https://prikid.app/wp-content/uploads/2023/09/matching-selection-rules.jpg)
Choose the field, operator and value, then use Preview to check your product selection.

## Choose the field that actually contains your value

Product name, SKU and MPN are separate fields. A number in the product name does not automatically become its SKU or MPN.

- **Product is**: select particular products. The picker searches product names, SKUs and product IDs; the saved selection identifies the chosen products.
- **Product name**: match text in the product’s name.
- **Product SKU**: match the product-level SKU.
- **Product MPN**: match the manufacturer part number stored in the product’s MPN field.
- **Product category is** and **Product brand is**: select categories or brands using **in list** or **not in list**.
- **Product category name** and **Product brand name**: match text in the category or brand name. A category-name condition is not a match against a complete hierarchical category path.

Other available text fields are **Product description**, **Product meta description**, **Product search keywords**, **Product meta keywords**, **Product warranty**, **Product page title**, **Product UPC/EAN**, **Product BPN** and **Product GTIN**. Use them only when the corresponding catalog field contains the value you need.

For example, suppose a product is named *Classic Shirt 1234*, has SKU `SHIRT-BLUE`, and has an empty MPN. **Product name → contains → 1234** matches it. **Product SKU → is equal → SHIRT-BLUE** also matches it. **Product MPN → is equal → 1234** does not.

Conditions target products. Do not assume that a size/color variant’s SKU is the same as the product-level SKU, or that choosing a variant changes the displayed chart.

## Use list selections, text matches and exclusions

- **Specific products:** choose **Product is → in list**, search for a product and select its suggestion. Repeat in the same field to add more products. A product can match any of the selected entries.
- **A category or brand:** choose **Product category is → in list** or **Product brand is → in list**, then select the relevant entries.
- **A word in the name:** choose **Product name → contains → T-Shirt**. This matches names containing that text, including a different letter case.
- **An exact SKU:** choose **Product SKU → is equal** and enter the complete SKU. Exact text equality is case-sensitive; spaces and punctuation matter.
- **Exclusions:** use **not in list** for selected products, categories or brands, or **does not contain** for text. Combine an exclusion with an inclusion using AND when you want a narrower selection.

Text operators also include **starts with**, **ends with**, their negative versions, **is not equal**, and **regular expression**. The contains, starts-with and ends-with operators ignore letter case. A broad exclusion can select many products, so always check Preview.

## Include subcategories with a category selection

**Product category is → in list** checks the categories assigned to a product. To include a selected category and its descendants in the synchronized category tree, choose **Category is (incl. subcategories) → in list** and select the category from the suggestions. This is separate from **Product category name** text matching; it does not require typing a complete hierarchical path.

For example, if *Shirts* is below *Clothing*, selecting Clothing with the subcategory option is intended to cover products assigned to Clothing or its descendants. Selecting Clothing with the ordinary category option does not add descendant category IDs; a product directly assigned to Clothing can still match. The **not in list** operator applies the expanded selection as an exclusion. Use AND to combine it with an inclusion, and repeat exclusions in every relevant OR group.

Use **Preview** to check a directly assigned product, a child-category product and an unrelated product in your own catalog. This uses the app’s synchronized category data; a stale or incomplete tree can affect the result. If the expected products are absent, ask support to check synchronization before changing the rules. The screenshot illustrates the current control, not successful matching for this sample item.

[![Current Selection rules with Category is (incl. subcategories), in list, a selected category and Preview.](https://prikid.app/wp-content/uploads/2026/10/prikid-category-subcategories-current.jpg)](https://prikid.app/wp-content/uploads/2026/10/prikid-category-subcategories-current.jpg)
Current Category is (incl. subcategories) control. The sample choice was inspected without saving the item; verify your own included and excluded products with Preview.

## Preview, dropdown suggestions and dashboard search

**Preview** in the product-conditions area opens **Products that meet the conditions**. It lists matching products with their SKU and product name. Use its page controls to inspect more results. This checks your current conditions; it does not publish the item or prove that storefront placement is working.

[![Products that meet the conditions Preview showing matching products with images, SKUs and product names.](https://prikid.app/wp-content/uploads/2023/09/prikid-matching-preview-results.png)](https://prikid.app/wp-content/uploads/2023/09/prikid-matching-preview-results.png)
Preview lists the products that meet your conditions, with their images, SKUs and product names.

A condition dropdown searches values you can select. Its messages **There are no items** or **No more items found** describe the available suggestions, not the number of products matched by the complete rule. For example, a category already selected can still match products even when no further suggestions appear. Check the selected tags, then use Preview.

The dashboard’s content-list search searches the **names of your content items**. Searching for a product SKU will not find a chart unless that text is in the chart’s own name. To target products by SKU or product name, edit the item’s conditions instead.

A content-editor preview serves a different purpose: reviewing the content’s appearance. For product selection, use Preview beside the product conditions.

## Combine conditions with AND and OR

The rule builder uses **AND within a group** and **OR between groups**. AND means every condition in that group must be satisfied. OR means matching any complete group is enough.

For example, to match Acme-brand products whose names contain either Shirt or Jacket, create two groups:

- **Group 1:** Product brand is → in list → Acme **AND** Product name → contains → Shirt.
- **Group 2:** Product brand is → in list → Acme **AND** Product name → contains → Jacket.

The result is `(Acme AND Shirt) OR (Acme AND Jacket)`. Use the **AND** button in a group to add another required condition and the **OR** button beneath the groups to add an alternative group. You cannot reverse the builder’s grouping order or create arbitrary nested groups.

Repeat shared restrictions in every OR group. If Group 2 contains only *Product name contains Jacket*, jackets from other brands can match. Likewise, an exclusion in just one group does not prevent a product from matching another group.

[![Product name contains shirt AND Product SKU starts with TS-, OR Product name contains jacket.](https://prikid.app/wp-content/uploads/2023/09/matching-and-or-groups.jpg)](https://prikid.app/wp-content/uploads/2023/09/matching-and-or-groups.jpg)
Another example: (name contains shirt AND SKU starts with TS-) OR name contains jacket. The TS- restriction applies only to the first group.

## Use regular expressions for text alternatives

Choose a text field such as **Product name**, select **regular expression**, and enter the pattern itself, without surrounding `/` delimiters or a trailing JavaScript flag.

For example, `Senate Graphite.+(2024|2025|2026)` matches names containing Senate Graphite, followed by one or more characters and one of those years. The `|` means an alternative, and `.+` requires at least one intervening character.

- Matches: `Senate Graphite 2024` and `Senate Graphite 2026`.
- Does not match: `Senate Graphite 2027`, `senate graphite 2024`, or `Senate Graphite2024`.
- The unanchored pattern also matches `X Senate Graphite 2024` and `Senate Graphite 2024 extra`. To require the whole name to fit, use `^Senate Graphite.+(2024|2025|2026)$`.

Regular-expression matching is case-sensitive by default. The form checks pattern syntax, but the database performs the match; do not assume every JavaScript regex feature is supported. Start with simple alternatives and anchors, then use Preview to check included and excluded products. A regex applies only to its chosen field; it does not search all product fields or create category-path matching.

## What happens to future products?

Rules are evaluated against synchronized catalog data. After a new product is synchronized and product assignments are refreshed, it can receive an existing published item if it meets that item’s conditions. If a product’s data changes so it no longer matches, its assignment can be removed when matching is refreshed.

A **Product is → in list** condition selects particular product IDs. It does not automatically add other new products just because their names look similar. Use a category, brand or text condition when you want the rule to cover future qualifying products.

Catalog synchronization and assignment refresh are separate from choosing an operator. A newly added product may not be available immediately. If it remains missing, contact support rather than assuming that the condition is wrong.

## Why does this rule match zero products?

1. **Check the correct store and the right Preview.** Open Preview in the product-conditions area for the item you are editing. A dashboard search or an empty suggestion list is not the matching result.
2. **Try the intended product directly.** In an unsaved test, use Product is → in list, find the product and select it. If the product is absent from the picker as well, check the selected store and whether its catalog data has synchronized. Contact support if it remains unavailable.
3. **Inspect the actual field in BigCommerce.** Compare product name, product-level SKU and MPN. If the number is only in the name, use Product name. An empty MPN cannot match that number.
4. **Check the operator and value.** Use contains for a substring and is equal for a complete value. Check spaces, punctuation and case; use the exact field value for equality. For lists, make sure the intended entries are selected as tags.
5. **Simplify the conditions.** In an unsaved test, start with one condition and use Preview. Add the other AND conditions back one at a time to find the restriction that removes the product. Check exclusions and every OR group.
6. **Review categories and brands.** Confirm the product belongs to the selected category or brand. Do not use a full category path as if it were a category name. For nested categories, verify the expected products in Preview.
7. **Test regex separately.** Check capitalization, anchors and required characters. Try a plain contains condition first; an error or zero matches does not establish a synchronization failure.
8. **Check catalog changes.** If a product was recently added or edited, PRIKID may still be using earlier synchronized data. Report persistent missing or stale products to support; there is no fixed waiting-time promise in this guide.

**If Preview includes the product but the chart, popup or tab is missing on the storefront:** move on to publication and placement checks. Confirm the item is saved and published, verify its display settings, and check the app’s storefront script and theme integration. A matching rule alone does not prove that a custom theme can display the item.

If clicking a product link in Preview opens the wrong storefront or a 404 page, check the destination domain and product URL. A broken storefront link does not by itself mean the rule matched zero products. Include both URLs when contacting support.

If Preview includes the product but the storefront result is still missing or wrong, use [Why Your Size Chart, Popup or Tab Is Not Showing](https://prikid.app/docs/content-not-showing/) for the next checks.

## Next steps and related guides

- [Add a size chart, popup or tab to product pages](https://prikid.app/docs/adding-a-pop-up-or-size-chart-to-product-pages/).
- [Add product tabs to selected products](https://prikid.app/docs/how-to-add-a-new-tab-next-to-the-product-description-tab-on-particular-product-pages-in-a-bigcommerce-store/).

Still need help? [Open a support ticket](https://support.prikid.app/new-ticket) with your store URL, the content-item name, an affected product URL, the field/operator/value you used, and screenshots of the conditions and Preview result. For a storefront issue, also include the destination storefront URL.
