Smart Coupons provide a powerful, “all-in-one” solution for gift cards, store credits, discount coupons, and vouchers extending the core functionality of WooCommerce coupons.
Smart Coupons also provides advanced coupon restrictions based on product taxonomy, product attributes, user roles and others.
If you want to exclude all your popular subscription products from coupon discounts, or include discounts on all products sharing the common tag and other product-related use cases, this coupon taxonomy restriction is a great boon.
One of the best tricks to save time and effort when dealing with a large product portfolio.
Smart Coupons provides full flexibility to include/exclude product taxonomy from the coupon getting applied. The following taxonomies can be included/excluded:
- Product type
- Product tags
- Product visibility
- Product shipping class
Steps to restrict coupons by taxonomy↑ Back to top
- Go to your WordPress Admin panel. Click on Marketing > Coupons.
- Create a new coupon or open an existing one. Enter the required details.
- Now click the ‘Usage restriction’ tab, scroll down to locate the ‘Taxonomy’ option.
- Click the ‘Add taxonomy restriction’ button to select any taxonomy.
- Choose Include / Exclude from the drop-down.
- Search and select values
- Click on the ‘+’ button to add more taxonomy restrictions as required.
- Publish/Update the coupon.
That’s it. Now the coupon is set up successfully with restrictions based on taxonomy.
Note – You can also combine other coupon restrictions in combination with the taxonomy restrictions.
How taxonomy validation works↑ Back to top
- All the different taxonomy restrictions that are added to a coupon need to be satisfied in order for the coupon to work. The ‘AND’ logic is followed when there are multiple taxonomy restrictions.
- When there are multiple values added in a single taxonomy restriction field, the ‘OR’ logic is followed. For example, if we have two different product shipping classes (heavy and fragile) mentioned, then the product in the cart must belong to either one of the heavy or fragile shipping classes for the coupon to get applied.