Example: VIP Exclusive Perfume
In this guide, we will set up a rule to ensure that products in the "High-End Perfume" category are ONLY sold to users with the 'VIP' role.
Step-by-Step Configuration
-
Create a New Rule
Navigate to WooCommerce > Settings > Product Visibility > Rules and click Add Rule.
-
Set General Info
Title: VIP Perfume Exclusive
Enabled: Yes -
Define What to Hide (The Content)
We want to target a specific category.
Filter Type: Category
Filter Value: High-End Perfume (Select your category here) -
Choose the "Whitelist" Action
We want to "Show" this only to specific people. This implicitly hides it from everyone else.
Visibility Action: Show (Whitelist)
Note: When you use "Show", Yeekit automatically hides the matching products from anyone who doesn't meet the conditions below.
-
Set the Condition (The VIP)
We want only VIPs to pass this rule.
Condition Type: Role
Operator: IN
Value: VIP (or Administrator, VIP, etc.) -
Save the Rule
Click Save Rule.
Result
- If User is VIP: They see the "High-End Perfume" products in the shop, search results, and can purchase them normally.
- If User is Guest / Regular Customer: The products disappear completely from the Shop and Search results. If they try to access a direct link, they will be redirected (based on Global Settings).
Alternative: "Look but Don't Touch"
If you want non-VIPs to see the products but not buy them (to create FOMO):
- Change Visibility Action to Restrict Access.
- In Redirect Mode, choose Show Message.
- Set Message to: "This exclusive perfume is reserved for our VIP members."
- Use the same Conditions (Role IN VIP).
Now, non-VIPs can find the product, but the "Add to Cart" button is replaced with your message.