Price from Price Book Promotions

The product promotion price book filter triggers if the price in a price book is used on the product in the storefront. For example, if price book-A defines a product price as $50, and price book-B defines it as $75, promotions with a qualifier that use price book-A or price book-B will trigger, depending on your operator setting.

These are the operator settings:

Note: The price books must be active.

Examples

The following examples show how the Storefront Price In (recursive), Storefront Price in, and Price in are used with a standalone price book, and when price books are structured hierarchically, as follows:

Price Book Price Storefront Price In (recursive) Storefront Price In Price In Reason
Standalone Price Book 75     X Matches Price In because the price is defined
Parent Price Book 100 X   X Matches Price In (same as above) and matches Storefront Price In (recursive) because a child price book matches
Child Price Book 75 X   X Same as above
Child of Child Price Book 50 X X X Same as above, and Storefront Price In matches because this is the lowest price

The following example shows how Storefront Price In (recursive) differs from Storefront Price In.

If the product specification filter is defined as Storefront Price In (recursive), then the price book hierarchical structure matters. When a product is included in the Child of Child Price Book, Salesforce B2C Commerce checks its parent, finds no price defined, and then check its parent, and finds a price defined; and claims that Parent Price Book matches a Storefront Price In filter, even though the price in that price book is not the price used in the storefront.

Important: If you use this setting, make sure your price book hierarchy is configured appropriately.
Price Book Price Storefront Price In (recursive) Storefront Price In Price In Reason
Standalone Price Book 50 X X X Matches all three because a price is defined and it's the lowest price
Parent Price Book 100 X   X Matches Storefront Price In (recursive) because a child price book has the lowest price, and matches Price In because a price is defined.
Child Price Book N/A X     Matches Storefront Price In (recursive) because a child price book has the lowest price
Child of Child Price Book 50 X X X Matches all three because a price is defined and it is the lowest price