Frequently asked questions

Does this plugin work with WooCommerce HPOS?

Yes. RoleView Pro declares compatibility with High-Performance Order Storage. Auto-assignment rules and the conflict detector read from the HPOS order tables when HPOS is active.

Does it work with the Cart and Checkout Blocks?

Yes. All visibility and pricing logic runs at the query and price-filter layer, so both the legacy shortcode checkout and the Blocks-based checkout receive correctly filtered data.

Can I restrict individual variations by role?

Yes. Open the product’s Variations tab for per-variation controls, or use WooCommerce → RoleView → Variation Rules for a bulk matrix across every variation in the store.

What is a User Class and when should I use it instead of a WordPress role?

User Classes are a lightweight segmentation layer defined independently of WordPress roles. Use a class when you want to tag customers (VIP, Gold Tier, Trade Account) without changing their actual WordPress role, or when you want auto-assignment based on purchase behavior. Use a WordPress role when the distinction is permission-based (e.g., a shop manager).

What happens to my rules if I deactivate the plugin?

Nothing is deleted on deactivation. All rules are stored in standard WordPress post meta, term meta, and user meta and remain in the database. Rules simply stop being enforced. Reactivating the plugin restores everything.

How do I remove all plugin data on uninstall?

Turn on Delete Data on Uninstall in Settings → Data & Cleanup before deleting the plugin. The uninstall script then removes all _rvp_* post meta, term meta, user meta, options, transients, the two custom post types, and unscheduled cron events.

Does category pricing apply to subcategories?

Only when you turn on Cascade to subcategories for that rule. By default a rule applies only to the category it’s defined on.

Can I hide products from logged-out visitors only?

Yes. Enable Include Guest Role in Settings, then set a product to Role-Restricted and uncheck Guest (Logged-out) while leaving your paying customer roles checked.

Can administrators preview hidden products on the storefront?

Not by default. A developer can enable this by returning true from the rvp_admin_can_see_hidden filter.

How do I translate the plugin?

Open /wp-content/plugins/roleview-pro/languages/roleview-pro.pot in Poedit or Loco Translate and generate a translation for your language. The text domain is roleview-pro.