xpay✦ Commerce
Directory
WooCommerce plugins
Taxonomy/Term and Role-based Discounts for WooCommerce
Taxonomy/Term and Role-based Discounts for WooCommerce
Automatically apply WooCommerce discounts/pricing rules based on product category, tag, attribute, custom taxonomy, and user role — no coupons needed
4.4
(8 ratings)Will this break my store?
What the WordPress.org registry says about keeping Taxonomy/Term and Role-based Discounts for WooCommerce running.
Tested to 7.0.2
Tested against the WordPress branch in use today.3 months ago
At least 7.0 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.2
Your host must be running at least this version.5.8
woocommerce
These must be installed and active first.2
Maintenance & trust
Scored on how Taxonomy/Term and Role-based Discounts for WooCommerce is looked after — not on how many stores run it.
91
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
11 / 15Listing transparency
7 / 10Ratings
4.4
8 ratingsCreate automatic WooCommerce price discounts based on product category, tag, attribute, brand, or any custom taxonomy, and apply them to all users, logged-in users, or only to specific WordPress user roles.
Each discount rule can have a start and end date.
- Create WooCommerce discounts based on the product category, tag, brand, type, or shipping class;
- Create WooCommerce discounts based on any product attribute;
- Create WooCommerce discounts based on any custom taxonomy, created by you or any 3rd party plugin;
- Create WooCommerce discounts based on the user role;
- Schedule the special pricing by setting a date range on the discount rule;
- WPML compatible (ability to set discounts on different language terms, not compatible with multi-currency);
- WooCommerce Subscriptions experimental support;
Discount types
- Percentage: apply an absolute percentage discount to all the products on a specific taxonomy term;
- Buy x get y free (BOGO): offer free items when a minimum quantity is purchased;
- PRO add-on Fixed value: apply an absolute value discount to all the products on a specific taxonomy term;
Get more with the PRO add-on
- “Discount Tag” custom taxonomy if you don’t want to use Categories, Tags, or any other existing product taxonomy;
- Sitewide discounts: any discount type applied to all the store products, instead of just one taxonomy term
- Set the maximum amount of free items when using BOGO discounts;
- Replace the sale badge with a discount percentage;
- Replace the sale badge with a discount percentage, even if a taxonomy does not set the discount, but rather by setting a sale price on the product (in beta);
- Show discount information (percentage and dates) on the product loop;
- Show discount information (percentage and dates) on the product single page (mandatory on some legislations, like the Portuguese one, for example);
- Show discount information for non-taxonomy discounts (set by product sale price), including start and end date, thus allowing compliance with legislation, such as Portuguese law, which requires these details to be displayed next to the sale price;
- “Stop – no discount” rule that makes sure products from specific taxonomy terms never have a discount applied, even if there are other rules that will apply for other product taxonomy terms;
- Exclude products already on sale from the discount rule: always, or if taxonomy discount is lower, or if taxonomy discount is higher;
- Set base price for on-sale products: sale price (discount on top of discount) or original regular price (new option);
- Disable shipping methods based on cart items applied rules;
- Set discount rules for non-logged-in users;
- Google Product Feed for WooCommerce integration
- Developer mode – more info;
- Technical support;
- And more to come…
- Get it now
Notes
- The discounts are applied on a “per cart line” basis (not to the sum of the products of the same taxonomy) – this means that if you set a discount with a minimum quantity, it will only be applied if the customer buys that quantity of the same product;
- Only one rule is applied per cart line, so setting the priorities correctly is very important;
- When aggregating product variations, the quantity will be the sum of the quantities of all the variations of the same product in the cart, and the discount will be applied to all of them;
- For WPML users, if you want the same discounts to apply to all the languages, you must replicate the rules for each of the translations of the terms
- You can use the
tdw_rule_add,tdw_rule_edit, andtdw_rule_deleteactions when adding, editing, and deleting rules, to do whatever you want, like, for example, clearing cache (check out to use them here and send us cool examples of what you’ve done)
Other (premium) plugins
Already know our other WooCommerce (premium) plugins?
- Advanced Coupon Restrictions for WooCommerce – Create coupons for any Product Taxonomy, User details, and Order destination.
- Simple Checkout Fields Manager for WooCommerce – Add custom fields and manage (remove, make required or optional) core fields on the new WooCommerce Block-based Checkout
- Simple WooCommerce Order Approval – The hassle-free solution for WooCommerce order approval before payment
- Shop as Client for WooCommerce – Quickly create orders on behalf of your customers
- DPD / SEUR / Geopost Pickup and Lockers network for WooCommerce – Deliver your WooCommerce orders on the DPD and SEUR Pickup network of Parcelshops and Lockers in 21 European countries
Banner by Arno Senoner
Yes. Discounts are applied automatically at cart/checkout based on the product’s taxonomy terms and the customer’s user role — no coupon code is required.
Yes. You can set a minimum quantity per rule, enabling bulk or tiered pricing for product categories, tags, or any other taxonomy.
Keep in mind the quantity is per individual product in the cart, not all products from the same taxonomy.
Yes. By combining taxonomy rules with WordPress user roles (e.g., a “Wholesale” role), you can create role-based or wholesale pricing rules.
We can only show the “sale” badge when we are sure the product will get a discount, no matter how many you buy. The badge is shown only for percentage-based rules with no minimum quantity required.
This only works for percentage discounts with a minimum quantity of 0 or 1, and you need to add this to your (child-)theme functions.php file:
add_filter( 'tdw_perc_sale_badge', '__return_true' );
Or you can use the PRO add-on
You need to use the following filters:
tdw_loop_disc_info_actionandtdw_loop_disc_info_prio: to set the hook and priority for the loop page and return, for example,woocommerce_after_shop_loop_item_titleand1tdw_single_disc_info_actionandtdw_single_disc_info_prio: to set the hook and priority for the product page and return, for example,woocommerce_single_product_summaryand6
(This is for Storefront. You may have to tweak the action and priority to match your theme better.)
Or you can use the PRO add-on
You can use the wctd_get_product_current_price helper function with the product or variation object or ID as the first argument.
You can also pass the quantity as the second argument to calculate percentage discounts with a minimum quantity greater than 1, or “buy x get y free” discounts. The returned price will be the unit price.
This is still beta.
No. The way we store cart item prices is not currently compatible with stores that allow customers to change currency during the shopping session.
Yes.
Yes.
This is a free plugin. It’s our way of giving back to the wonderful WordPress community.
Only customers of the PRO add-on get included limited technical support.
There’s a support tab at the top of this page, where you can ask the community for help. We’ll try to keep an eye on the forums, but we cannot promise to answer support tickets.
If you reach us by email or any other direct contact method, we’ll assume you need premium, paid-for support.
Yes, on the GitHub repository.
Sure. Go to GlotPress and help us out.
You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
Categories
Plugin details
Tags on WordPress.org
