Discount Sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'MDS30' Limited Offer!!

Star

Home > Docs > Smart Coupons for WooCommerce > Product or Category Restrictions for WooCommerce Coupons

Product or Category Restrictions for WooCommerce Coupons

Last updated on February 5, 2025

Product Category Restrictions WooCommerce Coupons offer numerous advantages for businesses and customers. By restricting coupon use to specific products or categories, businesses can precisely target their promotions and optimize their return on investment. The Smart Coupons for WooCommerce plugin by WebToffee facilitates the implementation of product or category restrictions with various customizable options.

  • Restrict coupons to apply for selected products or categories.
  • Restrict coupons to apply for a combination of selected products or categories.
  • Restrict coupons to apply for selected quantities of products or categories.
  • Apply a coupon only if all the selected products or categories are available in the cart.
  • Apply a coupon if any selected products or categories are available in the cart.

Let’s begin by creating a coupon.

  • From the WordPress dashboard, navigate to Smart Coupons > All Coupons.
  • Click on Add Coupon to create a new coupon, or select one of the existing ones on which you would like to impose the product or category restrictions.
  • After configuring the basic coupon, go to the Usage restriction tab under the Coupon data meta-box.
  • To set up product or category restrictions for your coupon, enable the Product/Category restrictions option.
  • Once enabled, you will see the product or category-based restriction option under these settings.
Usage Restrictions - Smart Coupons for WooCommerce
Product Category Restrictions WooCommerce Coupons – Smart Coupons for WooCommerce

Product based restrictions

The coupon will only apply if the cart has the selected products under the Products section. You can make the coupon applicable if the cart has any selected products or only if the cart has all the selected products.

Coupon applies if any of the selected products are in the cart
Coupon applies if any of the selected products are in the cart
Coupon applies only if all the chosen products are in the cart
Coupon applies only if all the chosen products are in the cart

Restrict coupons based on product quantity

Additionally, you can enable Individual quantity restriction to impose quantity limits on top of the current restrictions. The coupon will only apply if the specified number of selected products are in the cart.

For example, in this case, the coupon only applies if the carthas 2 Divi Tee(#2276), 1 WordPress Tee(#2280), and 3 Divi Ninja Tee – Medium (2310).

Also, the coupon won’t apply if products exceed the quantity limit of 10.

Individual quantity restrictions
Individual quantity restrictions

Exclude coupons for selected products

If you’d like to exclude a product from the coupon application, simply select it under the Excluded products section. Please note that both percentage and fixed product discounts won’t be applied to the excluded product, and fixed cart discount coupons will not work if the selected product is in the cart.

Exclude selected products from the coupon.
Exclude selected products from the coupon.

Category based restrictions

Category restrictions are similar to product restrictions. The coupon will only apply if the cart has products from the selected categories under the Categories section. You can make the coupon applicable if the cart has products any selected categories or only if the cart has products from all the selected categories.

Coupon applies if products any of the selected categories are in the cart
Coupon applies if products any of the selected categories are in the cart
Category restrictions
Coupon applies only if products from all the chosen categories are in the cart

Restrict coupons based on product quantity

Additionally, you can enable Individual quantity restriction to impose quantity limits on top of the current restrictions. The coupon will only apply if a specified number of products from selected categories are in the cart.

For example, in this case, the coupon will only apply if the cart contains at least 1 product from the Women’s category, 3 from Men, and 2 from Hoodies.

Also, the coupon won’t apply if products from any selected categories exceed the quantity limit of 5.

Individual quantity restrictions for coupons
Individual quantity restrictions for coupons

Exclude coupons for selected categories

If you’d like to exclude a product of a specific category from the coupon application, simply select it under the Excluded categories section. Please note that both percentage and fixed product discounts won’t be applied to the excluded product, and fixed cart discount coupons will not work if the selected product is in the cart.

Exclude selected categories from coupons
Exclude selected categories from coupons

In addition to the restrictions mentioned above, you have the options to:

  • Set attribute-based restrictions – Restrict the coupon only to products with selected product attributes.
  • Set product tag-based restrictions – Restrict the coupon only to products with selected product tags.
Coupon active for selected attributes and tags
Coupon active for selected attributes and tags