Role Based Pricing Archives - Plugin Republic https://pluginrepublic.com/support-categories/role-based-pricing/ WooCommerce Plugins Fri, 18 Jun 2021 06:50:15 +0000 en-US hourly 1 https://pluginrepublic.com/wp-content/uploads/2020/10/cropped-favicon-1-32x32.png Role Based Pricing Archives - Plugin Republic https://pluginrepublic.com/support-categories/role-based-pricing/ 32 32 Display role prices https://pluginrepublic.com/documentation/display-alternative-price-for-specific-role/ https://pluginrepublic.com/documentation/display-alternative-price-for-specific-role/#respond Wed, 26 Feb 2020 12:25:59 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=270453 You can display the different prices available to each role by selecting the ‘Display each role prices’ option. Go to WooCommerce > Settings > Fees and Discounts > User Role Prices and check the option below. Each role-based price will then be displayed in a list to the user. You can style this list easily […]

The post Display role prices appeared first on Plugin Republic.

]]>
You can display the different prices available to each role by selecting the ‘Display each role prices’ option. Go to WooCommerce > Settings > Fees and Discounts > User Role Prices and check the option below.

Each role-based price will then be displayed in a list to the user. You can style this list easily using CSS.

Here’s how to set role-based prices.

The post Display role prices appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/display-alternative-price-for-specific-role/feed/ 0
Role-based pricing rules for variations https://pluginrepublic.com/documentation/role-based-pricing-rules-for-variations/ https://pluginrepublic.com/documentation/role-based-pricing-rules-for-variations/#respond Mon, 03 Feb 2020 14:52:45 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=241266 You can set role-based pricing rules and on a variation by variation basis. You can also set variation-specific role-based prices. Any rules set at variation level will override product or global role-based pricing rules. Setting role-based discounts and fees per variation To set role-based pricing rules for a variation, click on the Variations tab in […]

The post Role-based pricing rules for variations appeared first on Plugin Republic.

]]>
You can set role-based pricing rules and on a variation by variation basis. You can also set variation-specific role-based prices.

Any rules set at variation level will override product or global role-based pricing rules.

Setting role-based discounts and fees per variation

To set role-based pricing rules for a variation, click on the Variations tab in the Product Data section. Select the variation to edit. You’ll see a list of all available rules with options for setting discounts or fees.

Role-based variation pricing rules

Setting variation-specific role-based prices

You can enter different prices per variation for certain roles.

To select which roles should be enabled for role-based pricing, go to WooCommerce > Settings > Fees and Discounts > User Role Pricing and enter the roles in the ‘Role Price Fields’ setting. You can enter as many roles as you like here.

You also need to enable the ‘Role-based prices for variations’ option.

You’ll then be able to enter different prices for each role in each variation. If you leave a field empty, it’ll just use the variation’s regular price.

The post Role-based pricing rules for variations appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/role-based-pricing-rules-for-variations/feed/ 0
Exclude products from role-based rules https://pluginrepublic.com/documentation/exclude-products-from-role-based-rules/ https://pluginrepublic.com/documentation/exclude-products-from-role-based-rules/#respond Mon, 20 Jan 2020 12:14:30 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=224900 You can exclude certain products by ID from your global role-based rules using the wcfad_exclude_from_role_based_rules filter as in the following snippet. Just replace the product IDs in the array: If you would like to exclude all the products in one or more categories, you can use this snippet. Just change the name of the categories: […]

The post Exclude products from role-based rules appeared first on Plugin Republic.

]]>
You can exclude certain products by ID from your global role-based rules using the wcfad_exclude_from_role_based_rules filter as in the following snippet. Just replace the product IDs in the array:

View this code snippet on GitHub.

If you would like to exclude all the products in one or more categories, you can use this snippet. Just change the name of the categories:

View this code snippet on GitHub.

Here’s how to add a snippet to your site.

The post Exclude products from role-based rules appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/exclude-products-from-role-based-rules/feed/ 0
Set role based pricing rules https://pluginrepublic.com/documentation/set-role-based-pricing-rules/ https://pluginrepublic.com/documentation/set-role-based-pricing-rules/#respond Mon, 12 Aug 2019 14:40:42 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=99295 You can set role based pricing for products in three different ways: Set global role-based pricing adjustments Set role-based adjustments per product Define specific prices per product for certain roles These methods apply to simple and variation products. 1. Setting global role based pricing rules To set global pricing rules, go to WooCommerce > Settings […]

The post Set role based pricing rules appeared first on Plugin Republic.

]]>
You can set role based pricing for products in three different ways:

  1. Set global role-based pricing adjustments
  2. Set role-based adjustments per product
  3. Define specific prices per product for certain roles

These methods apply to simple and variation products.

1. Setting global role based pricing rules

To set global pricing rules, go to WooCommerce > Settings > Fees and Discounts and ensure the ‘Enable User Role Pricing’ option is selected.

You can then click on the ‘User Role Pricing’ menu item and set rules for each user role.

In the ‘Adjustment’ column, pick the type of discount or fee you want to apply.

In the ‘Amount’ column, pick the amount.

2. Setting role-based discounts and fees by product

If you want to apply role based pricing on a product by product basis, you can do so from the edit screen for individual products.

Click the ‘User Roles’ tab in the ‘Product Data’ section and enter the adjustment type and amount as above.

3. Setting specific prices per product for different user roles

Finally, if you don’t want to apply universal discounts or fees to products for different user roles, you can enter different prices per product for certain roles.

To select which roles should be enabled for role-based pricing, go to WooCommerce > Settings > Fees and Discounts > User Role Pricing and enter the roles in the ‘Role Price Fields’ setting. You can enter as many roles as you like here.

This will enable additional product price fields for each specified role.

The post Set role based pricing rules appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/set-role-based-pricing-rules/feed/ 0