2021 Q4 Sale BFCM – Free Users Sitewide Banner

  1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions
  5. Smart Coupons

How to restrict coupons by product taxonomy

Smart Coupons provides a powerful, “all-in-one” solution for gift certificates, store credits, discount coupons and vouchers extending the core functionality of WooCommerce coupons.

This doc article explains how you can restrict coupons by product taxonomy.

When a store has a large product portfolio, often there is a need for adding more restrictions on coupons apart from the default restriction options provided by WooCommerce. So we have added this very useful feature in Smart Coupons that allows restricting coupons by product taxonomy.

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 a coupon based on product taxonomy ↑ Back to top

  1. Go to Marketing > Coupons
  2. Add/Edit a coupon
  3. Go to Coupon data > General
  4. Fill in the details like discount, expiry date and others.
  5. Now go to Usage restriction > Taxonomy
  6. Click on ‘Add taxonomy restriction’ button to select any taxonomy
  7. Choose Include / Exclude from the drop-down
  8. Search and select values
  9. Click on the ‘+’ button to add more taxonomy restrictions as per need
  10. Publish/Update the coupon

Now the coupon is set up successfully with restrictions based on taxonomy.

How validation works ↑ Back to top

  • All the different taxonomy restrictions that are added on a coupon need to be satisfied in order for the coupon to work as AND logic is followed when there are multiple taxonomy restrictions.
  • When there are multiple values added in a single taxonomy restriction field, for example, if we have 2 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 as OR logic is followed in this case.

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment