Create an account to edit articles | See Formatting Syntax for Wiki syntax | We look forward to your contribution!
You are here: The ProductCart Encyclopedia » Conflict Management Add-on » Using a Category as a trigger
Using a Category as a trigger
Rules can be triggered by the selection of either an item or any item within a category. So far we have only looked at rules that are triggered by the selection of a specific item. Let’s now pick another product from the demo store mentioned above and see how we can easily create a rule that is triggered by a category selection.
For this example, we will use a product called “Office Gift Basket”. ProductCart Build To Order works great as a way to allow customers to create custom gift baskets ☺
http://www.productcart.com/printing/productcart/pc/configurePrd.asp?idproduct=22&qty=1
Let’s assume that for some reason customers cannot add to their Gift Basket a handheld computer if they choose to also include a digital camera.
- From the If customers select… drop-down, we will pick the category Digital Cameras
- In the … they cannot select area, we will select the Handheld Computers category
- We will then click on Add Rule(s) to save this new rule.
- We will now create a symmetric rule triggered by the Handheld Computers category.
- After saving both rules, the rule summary page shows:
Note the icon next to the category name. The icon indicates that the trigger is a category. When you add a category similar to the above, make sure that you are not creating a conflict with category requirements set on the product configuration page for this Build To Order product.
Trace: » Generating Sub-Products » Guidelines for Editing ProductCart's ASP Source Code » Manage Help Desk » Adding static or dynamic category navigation to your store design » Providing Links to Hidden Products » Adding a MUST rule » Adding a CANNOT rule » Changing the Store URL (scStoreURL) » Managing Search Fields » Using a Category as a trigger
