Title: Bug upon category rules
Last modified: January 20, 2023

---

# Bug upon category rules

 *  Resolved [ewoolution](https://wordpress.org/support/users/ewoolution/)
 * (@ewoolution)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/bug-upon-category-rules/)
 * Hey, we’re using category based rules just like “Buy at least products from category
   A and get a discount (on just these items) of about 15%”.
 * However, the filter triggers correctly. But the discount is not for all products(
   of category A). Just one item is discounted.
   Image you’d add Product 1 to cart
   and Product 2. Both of them belong to category A. Then the discount is just being
   applied for either Product 1 or Product 2. But not for both of them.How do we
   fix that issue?

Viewing 1 replies (of 1 total)

 *  [sangeethasrinivasan](https://wordpress.org/support/users/sangeethasrinivasan/)
 * (@sangeethasrinivasan)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/bug-upon-category-rules/#post-16398495)
 * Hi,
 * Thank you for reaching out.
 * I guess you are trying to apply discount on 1 product from Category A, if customer
   buys 2 products from the same Category A.
 * In that case, have you setup something like this ? -> [https://nimb.ws/KrPTOz](https://nimb.ws/KrPTOz)
 * Can you please open a support ticket here ->  [https://www.flycart.org/support](https://www.flycart.org/support)
   with screenshots of rule setup, cart page screenshot indicating the issue and
   site URL, so that we can quickly check and assist you accordingly?
 * Thanks
   Team Flycart

Viewing 1 replies (of 1 total)

The topic ‘Bug upon category rules’ is closed to new replies.

 * ![](https://ps.w.org/woo-discount-rules/assets/icon-256x256.png?rev=1977982)
 * [Discount Rules for WooCommerce](https://wordpress.org/plugins/woo-discount-rules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-discount-rules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-discount-rules/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-discount-rules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-discount-rules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-discount-rules/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sangeethasrinivasan](https://wordpress.org/support/users/sangeethasrinivasan/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/bug-upon-category-rules/#post-16398495)
 * Status: resolved