Title: Problem with coupon code
Last modified: March 22, 2019

---

# Problem with coupon code

 *  Resolved [fra11](https://wordpress.org/support/users/fra11/)
 * (@fra11)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-coupon-code/)
 * Hi, i have some problem with coupon code. I need to set up the coupon valid only
   for one category product: ife product. If i simulate a purchase and i insert 
   the ife products in the cart and i add products from others categories (without
   discount), the woocommerce system calculate the discount to all products!
    Can
   u help me please? Thank u
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-coupon-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [laserstore](https://wordpress.org/support/users/laserstore/)
 * (@laserstore)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-coupon-code/#post-11345468)
 * Hi!
 * This is fully configurable in the restriction use. Simply select the product 
   that wants to apply the discount in the field “Products”. You can include multiple
   products or choose the category in the “Product category”.
    There are no difficulties
   for this, check those fields again! Bye!
 *  Plugin Support [Ross V. a11n](https://wordpress.org/support/users/rossviviano/)
 * (@rossviviano)
 * Automattic Happiness Engineer
 * [7 years ago](https://wordpress.org/support/topic/problem-with-coupon-code/#post-11367805)
 * Hi [@fra11](https://wordpress.org/support/users/fra11/) ,
 * What [@laserstore](https://wordpress.org/support/users/laserstore/) mentioned
   is correct; you can restrict this from the coupon setup screen. This document
   goes into a bit of detail:
 * [https://docs.woocommerce.com/document/coupon-management/#section-3](https://docs.woocommerce.com/document/coupon-management/#section-3)
 * Best,
 * Ross

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

The topic ‘Problem with coupon 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ross V. a11n](https://wordpress.org/support/users/rossviviano/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/problem-with-coupon-code/#post-11367805)
 * Status: resolved