Role-Based Product Vault

Overview

↑ Back to top

Store administrators can hide or show specific products, categories, prices, and “Add to Cart” buttons based on user roles, customers, geographical location, or shopper’s total spent.

The plugin enhances store management by allowing targeted product offerings, customized pricing strategies, and fine-tuned access controls for specific customers.

Manage product visibility, prices, and purchase options in WooCommerce with the Role-Based Product Vault plugin. Set rules to hide or show products, prices, and “Add to Cart” buttons based on user roles, locations, or past orders. Simplify control and deliver a focused shopping experience for every customer.

Features

↑ Back to top
  • Product Visibility by Shopper Role: Hide/show products, categories, prices, and “Add to Cart” buttons for specific user roles (e.g., Guest, Registered Users, Wholesale, etc.).
  • Geolocation-based Restrictions: Set rules to hide/show products and categories based on the shopper’s geographical location.
  • Hide Prices & Add to Cart Button: Option to hide product prices and replace the “Add to Cart” button with custom text and links for specific customers and user roles.
  • Previous Orders Restriction: Set visibility rules based on a customer’s past order history.
  • Custom Labels: Replace prices or action buttons with custom labels for more personalized engagement.
  • Comprehensive Rule Management: Create and manage multiple visibility rules with adjustable priorities.
  • Frontend Visibility Controls: Control what different types of users see on your store’s frontend, customizing the shopping experience.
  • Priority-based Rule Application: Use priority levels to determine which rules apply when multiple restrictions are in place.
  • Hide Variations and Prices for User Role: Individually set product variations and price visibility according to different user roles.

Installation

↑ Back to top

Step 1: Upload the Plugin

↑ Back to top
  1. Download the plugin zip file from your WooCommerce account.
  2. Login to your WordPress admin dashboard.
  3. Go to Plugins > Add New.
  4. Click the Upload Plugin button.
  5. Upload the product-vault-for-woocommerce.zip file.
  6. Click Install Now and activate the plugin.

Setup and Configuration

↑ Back to top

After activating the plugin, follow these steps to configure your product visibility settings:

Step 1: Access Product Vault Settings

↑ Back to top

Go to Products > Product Vault in your WordPress dashboard.

Click Add New Restriction to create a new restriction rule.

Step 2: Configure Rule Settings

↑ Back to top
  • Rule Title: Name your restriction rule for easy reference.
  • Priority: Set the priority level for this rule (rules with higher priority will be applied first).

Step 3: Select Restriction Type

↑ Back to top

Product Vault offers several restriction types for complete control over product visibility:

  • Hide Prices & Add to Cart Button: Hide prices and replace “Add to Cart” with a custom label for specific user roles or customer types.
  • Hide Products/Categories: Hide selected products and categories from specific customers or user roles.
  • Geolocation: Restrict access to products and categories based on the customer’s country.
  • Previous Orders: Show or hide products and categories based on a customer’s past purchase history (e.g., number of orders placed).

Dealing with Restrictions

↑ Back to top

Hide Prices & Add to Cart

↑ Back to top
  • Show or hide the product price and “Add to Cart” button for guests, registered users, or specific user roles (e.g., Wholesaler, B2B, Retailers).
  • You can replace the price with a custom label and redirect the “Add to Cart” button to a custom URL.

Deal by Products/Categories

↑ Back to top
  • Control visibility of specific products and categories for particular user roles and customers.
  • This feature is particularly useful for offering exclusive products to premium users.

Geolocation Restrictions

↑ Back to top

Choose which countries can see specific products or categories. This feature is crucial for international shipping regulations or geo-targeted marketing.

Previous Orders-based Restrictions

↑ Back to top
  • Set restrictions based on how many orders a customer has previously made.

For example, hide premium products from customers with fewer than a certain number of completed purchases.

Rule Management

↑ Back to top

Product Vault offers flexible rule-based management:

  • Create multiple rules to add restrictions for different products, categories, or customers.
  • Set the rule priority: When multiple rules are applied to the same product or category, the rule with the highest priority (lowest number) takes precedence.

Hide or Disable Variation by Shopper Role

↑ Back to top

You can also set variations visibility for different user roles. 

  • Go to All Products option under the products menu and select to Edit the product you want to set variations for.

Select the Variations Tab in the menu and expand.

  • hide product variations and prices according to the user role for that particular product. 
  •  Click to Save Changes.

How It Works on the Frontend

↑ Back to top

The plugin dynamically adjusts what customers see based on the restrictions you’ve set. For example:

  • Restricted Products: Products that are hidden won’t appear in shop or category listings.
  • Hidden Prices/Add to Cart Button: If a product price or button is hidden, customers will see your custom label instead.

Troubleshooting

↑ Back to top

Common Issues

↑ Back to top
  • Missing Products on the Frontend: Ensure that your restriction rules are set up correctly, and check the rule priority.
  • Prices Not Hidden: Make sure that the “Hide Prices” rule is applied to the correct user roles and that no conflicting rules exist.

FAQs

↑ Back to top
  1. Can I hide variations instead of entire products?
    Yes, variations can be hidden by configuring the restriction rules at the variation level.
  2. How do I apply multiple rules to a product?
    You can create multiple rules with different priorities. The rule with the highest priority will take effect if more than one applies to the same product.
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.