Title: Double Implement Rules makes calculation wrong
Last modified: April 16, 2024

---

# Double Implement Rules makes calculation wrong

 *  Resolved [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/)
 * Hello, i was tried [this link](https://wordpress.org/support/topic/discount-for-the-second-item/)
   which is kinda same with what i need. then i have following question, i want 
   to set rules to anyone who buy more than one, they will get 15% off each following
   product.. Example:
   buying two cases (which have the price 45 €) and one cases(
   which have the price 47 €): 1st Product= 45 € + 2nd product= 38.25 € (original
   sum – 15%) + 3rd product= 39.95 (original sum – 15%).
 * I already set my rules as in the document. But it looks like the calculation 
   is wrong. Here is the cart: [https://nimb.ws/MGtdebI](https://nimb.ws/MGtdebI).
   I add 2 same variation in the basket, but the second variant has wrong price.
   Please look at Allure Product. both should be have price 38.25€
 * And this is my Rules: [https://nimb.ws/nNRIPYQ](https://nimb.ws/nNRIPYQ)
 * Does my rules wrong?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdouble-implement-rules-makes-calculation-wrong%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [thisisirene](https://wordpress.org/support/users/thisisirene/)
 * (@thisisirene)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692300)
 * Good day, [@rishuu](https://wordpress.org/support/users/rishuu/)!
 * Please, replace both your rules to this one: [https://snipboard.io/gM5dot.jpg](https://snipboard.io/gM5dot.jpg)
 *  Thread Starter [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692370)
 * hello Irene, thank you. but i think the result still not what i expect. [https://nimb.ws/3A4kgSc](https://nimb.ws/3A4kgSc)
 * maybe could you help me to set the rules instead, please? 
   what i need is if 
   anyone buy more than 1, so they will get 15% off for each following product. 
   for example for each product have price 45€: buy 1 product A + 1 product B + 
   1 product C etc… the price will be:45€ + 38.25€ + 38.25€ etc, even they buy 10
   product or more, they will get 15% for each following product.
 * Also it should be apply if they buy different variant, example: 
   buy 1 product
   A varian xxx + 1 product A varian yyy + 1 product B + 1 product C etc… the price
   will be:45€ + 38.25€ + 38.25€ + 38.25€ etc
 * your help will be very appreciate. because if i create several rules which have
   condition 1 any product (normal price) + 1 any product (15% off), then another
   rules is 1 any product (normal price) + 1 any product (15% off) +1 any product(
   15% off), the cart will calculate normal price – 15% + 15%
    -  This reply was modified 2 years, 1 month ago by [rishuu](https://wordpress.org/support/users/rishuu/).
 *  Thread Starter [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692422)
 * [@thisisirene](https://wordpress.org/support/users/thisisirene/)
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692448)
 * here is my results [https://snipboard.io/ZC1eUq.jpg](https://snipboard.io/ZC1eUq.jpg)
 * go to >Settings>Debug , mark checkbox and go to cart .
 * probably, other rules modified prices too ?
 *  Thread Starter [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692475)
 * [@algolplus](https://wordpress.org/support/users/algolplus/) [@thisisirene](https://wordpress.org/support/users/thisisirene/)
   still 🙁
 * and also find another issue: [https://nimb.ws/zDymdOB](https://nimb.ws/zDymdOB)
   
   the price on debug data not same with my cart
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17692484)
 * please, hover ” -4.88″ and you will see rule which gives this discount
 *  Thread Starter [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17693070)
 * hellow.. i know it is because my double rules. but how to approach discount for
   each following product?
 * with the result shown before, i know my set up rules are wrong. could you help
   me to create the correct?
 * 
   and why data in debug window are different with in the cart page? for example
   for my products named Free Spirit (38.25 in debug panel VS 32.51 in Cart) and
   Golden Favor (33.37 in debug panel VS 23.49 in Cart)?[https://nimb.ws/zDymdOB](https://nimb.ws/zDymdOB)
 *  Plugin Support [thisisirene](https://wordpress.org/support/users/thisisirene/)
 * (@thisisirene)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17693124)
 * [@rishuu](https://wordpress.org/support/users/rishuu/) could you, please, [create a ticket to our helpdesk](https://algolplus.freshdesk.com/support/tickets/new)
   with the [exported JSON system report](https://docs.algolplus.com/algol_pricing/system-report/)
   and detailed explanation of what do you definitely need to see in the cart?
 *  Thread Starter [rishuu](https://wordpress.org/support/users/rishuu/)
 * (@rishuu)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17694084)
 * okey, already sent the ticket. thank you [@thisisirene](https://wordpress.org/support/users/thisisirene/)
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17694255)
 * ok, but we’ll reply in ~ 12 hours

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

The topic ‘Double Implement Rules makes calculation wrong’ is closed to new replies.

 * ![](https://ps.w.org/advanced-dynamic-pricing-for-woocommerce/assets/icon-256x256.
   png?rev=1984204)
 * [Advanced Dynamic Pricing and Discount Rules for WooCommerce](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-dynamic-pricing-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-dynamic-pricing-for-woocommerce/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/double-implement-rules-makes-calculation-wrong/#post-17694255)
 * Status: resolved