Are you looking to provide discount like below examples?

  • Buy product A and B get 10% off on both products

  • Buy 2A and 1B and get 10% off only on 1A and 1B and so on.. ie..,recursively

  • Buy one product from category A and one from category B for a fixed price of $30 (recursively)

To create rules,
Go to WooCommerce -> Woo Discount Rules -> Add new Rule :

Example 1: Buy product A and B get 10% off on both products

You have to create two rules for example 1 and 2:

Rule 1 -> to provide 10% off on product B

Rule 2 -> to provide 10% off on product A

Here is the screenshot of Rule 1:

Screenshot of rule 2:

Here is the cart page screenshot:

Note: Discount will be applied only if customer adds one or more quantities of both products.

Example 2: Buy 2A and 1B and get 10% off only on 1A and 1B and so on.. ie..,recursively

By enabling recursive checkbox in both rules as per above screenshots, discount will be applied recursively.

Here is the cart page screenshot:

Example 3: Buy one product from category A and one from category B for a fixed price of $30 (recursively)

Note: This scenario might be possible only if all products in category A and B cost the same price.

For example -> all products in category A should cost $30 and all products in category should cost $25.

For this scenario too, you have to create two rules.

Rule 1 -> Fixed discount $10 on category A

Rule 2 -> Fixed discount $15 on category B

Screenshot for rule 1:

Screenshot for rule 2:

Here is the cart page screenshot:

If customer buys 2 products from each category it will cost $60 and so on...

You may also refer:

Display product A and B in cart when customer adds either product A or B to cart as cross sell block.

Buy product A + B + C and get 10% discount

Still Unclear?

Please submit a support request. We are always happy to assist you :)

Did this answer your question?