Title: Promo code
Last modified: November 22, 2025

---

# Promo code

 *  Resolved [marcusterribilis](https://wordpress.org/support/users/marcusterribilis/)
 * (@marcusterribilis)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/promo-code-5/)
 * In the Marketing section, under Promotional Codes, you can define a discount 
   code for the shopping cart based on criteria such as price, product category,
   etc.
   I want to create a code that gives a 15% discount for the purchase of 6 
   products from a specific category. Currently, the software doesn’t count the 
   number of items in the cart; it only manages a minimum/maximum amount and categories.
   It’s unbelievable that such a feature is missing in e-commerce software.
 * Note: This is similar to the lack of basic GTIN/EAN13 fields!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpromo-code-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Frank Remmy (woo-hc)](https://wordpress.org/support/users/frankremmy/)
 * (@frankremmy)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/promo-code-5/#post-18729135)
 * Hi [@marcusterribilis](https://wordpress.org/support/users/marcusterribilis/),
 * I understand your frustration about needing quantity-based discounts for specific
   categories. The good news is that WooCommerce actually does support this functionality,
   but it requires the right extension to unlock these advanced coupon features.
 * For creating a discount code that gives 15% off when purchasing 6 products from
   a specific category, you’ll need the [Smart Coupons](https://woocommerce.com/products/smart-coupons/)
   extension. This powerful extension extends WooCommerce’s core coupon functionality
   to include quantity-based restrictions.
 * Here’s how you can set this up with Smart Coupons:
    - Go to Marketing → Coupons in your WP Admin
    - Create a new coupon with 15% percentage discount
    - In the Usage Restrictions tab, select your specific product category
    - Under Smart Coupons Restrictions, select “Validate quantity of” and choose
      either:
       * “Product” (for 6 items from that specific category)
       * Set minimum quantity to 6
 * This will create exactly what you’re looking for: a coupon that only applies 
   when customers have 6 or more products from your specified category in their 
   cart.
 * The Smart Coupons extension supports complex quantity-based discount scenarios
   like “Buy 5 items and get 10% off” or “Apply 15% off coupon only when there are
   five T-shirts in the cart.”
 * I hope that helps. Let us know if you need anything else.
 *  Thread Starter [marcusterribilis](https://wordpress.org/support/users/marcusterribilis/)
 * (@marcusterribilis)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/promo-code-5/#post-18729150)
 * OK, that sounds good, but this plugin is expensive!
   Thanks for the reply.
    -  This reply was modified 6 months, 1 week ago by [marcusterribilis](https://wordpress.org/support/users/marcusterribilis/).
 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/promo-code-5/#post-18729172)
 * Hi [@marcusterribilis](https://wordpress.org/support/users/marcusterribilis/),
 * I’m glad to hear my colleague’s response was helpful. I understand that urgent
   needs like this can come up unexpectedly, making the cost feel higher than planned.
   However, you can take advantage of discounts of up to 40% on WooCommerce.com 
   products until December 2. You can find more details here: [https://woocommerce.com/fr/products](https://woocommerce.com/fr/products)
 * If you’ve found the support and guidance you’ve received here helpful we’d appreciate
   if you can take a moment to leave us a review here: [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Promo code’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [discount](https://wordpress.org/support/topic-tag/discount/)

 * 3 replies
 * 3 participants
 * Last reply from: [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/promo-code-5/#post-18729172)
 * Status: resolved