cancel
Showing results for 
Search instead for 
Did you mean: 

Applying percentage discount only to products matching conditions

Applying percentage discount only to products matching conditions

Hello,

I am looking to create a cart price rule that will apply a 5% discount ONLY to products that are matching the rule conditions and not the whole cart. Is this possible to do or does this require some kind of extension?

Thanks

5 REPLIES 5

Re: Applying percentage discount only to products matching conditions

In Magento 2, you can create a cart price rule to apply a percentage discount only to specific products that meet certain conditions. Here are the steps to achieve this without the need for an extension:

  1. In your Magento Admin, go to Marketing > Promotions > Cart Price Rules.

  2. Click on Add New Rule.

  3. Fill in the required fields such as Rule Name and Description.

  4. Under the Conditions tab, specify the conditions that products must meet to qualify for the discount. For example, you can set conditions based on product attributes, categories, or other criteria.

  5. In the Actions tab, set the discount amount to 5% under the Discount Amount field. Choose Percentage of Product Price Discount as the discount type.

  6. Set Apply to Shipping Amount to No to ensure the discount is applied only to the products that meet the specified conditions, not the entire cart.

  7. Save the rule.

By following these steps, the 5% discount will be applied only to the products that satisfy the conditions you've set. This way, you can tailor your discount to specific products without affecting the entire cart.

If you encounter any issues or have further questions, feel free to ask.

Re: Applying percentage discount only to products matching conditions

The short answer:

 

You have 2 sections on cart price rules: Conditions and actions.

 

Both conditions and actions contain rules. What you want to do is set those rules under the "Actions" section, because that is where you limit the discount to specific products that match those rules.

Founder at https://agency418.com

Re: Applying percentage discount only to products matching conditions

You can create a cart price rule to apply a percentage discount to products that meet certain conditions like selected shipping method just as it's done on this phone store 

Re: Applying percentage discount only to products matching conditions

HI @ansellconnf16d 

 

Yes, it is possible to create a cart price rule in Magento that applies a discount only to specific products matching certain conditions, rather than applying to the entire cart. You can do this using Magento's built-in functionality without needing an extension. Here's how you can set up such a rule:

  1. Navigate to Cart Price Rules:

    • Go to the Magento Admin Panel.
    • Navigate to Marketing > Promotions > Cart Price Rules.
  2. Add a New Rule:

    • Click on Add New Rule.
    • Fill in the rule information, including the rule name, websites, customer groups, and other general information.
  3. Set the Conditions:

    • Under the Conditions tab, set the conditions that the products must meet for the rule to apply.
    • For example, you can specify conditions based on product attributes, category, etc.
  4. Configure the Actions:

    • Go to the Actions tab.
    • In the Apply field, select 'Percent of product price discount'.
    • Set the discount amount to 5%.
    • In the Apply to Shipping Amount option, choose 'No'.
    • Crucially, ensure that the Stop Further Rules Processing option is set to 'No', allowing other rules to be applied if necessary.
  5. Define Action Conditions (if necessary):

    • Still within the Actions tab, you can further refine which products the rule applies to under the 'Apply the rule only to cart items matching the following conditions (leave blank for all items)' section.
    • Set the specific conditions for the products to which this rule should apply.
  6. Save the Rule:

    • Save your rule and clear the cache if necessary.
    • It is a good practice to test the rule to ensure it behaves as expected.

This setup will allow the 5% discount to be applied only to the products in the cart that meet the specified conditions, rather than applying to the entire cart total.

 

Paco Abella

https://magento-specialist.com/

Re: Applying percentage discount only to products matching conditions

Hi @ansellconnf16d,

 

In Magento 2, you can create a cart price rule to apply a percentage discount only to specific products that meet certain conditions. Here are the steps to achieve this without the need for an extension:

 

1. In your Magento Admin, go to Marketing > Promotions > Cart Price Rules.

 

2. Click on Add New Rule.

 

3. Fill in the required fields such as Rule Name and Description.

 

4. Under the Conditions tab, specify the conditions that products must meet to qualify for the discount. For example, you can set conditions based on product attributes, categories, or other criteria for that you have to add combination selection like product attribute combination from dropdown that will allow you to choose product SKUs and then you can define which product you want to add for match the condition.

 

5. In the Actions tab, set the discount amount to 5% under the Discount Amount field. Choose Percentage of Product Price Discount as the discount type.you can also define fixed amount discount like 100 by choosing option Fixed amount discount in the dropdown under Actions Tab.

 

6. Set Apply to Shipping Amount to No to ensure the discount is applied only to the products that meet the specified conditions, not the entire cart.

 

7. Save the rule.By following these steps, the 5% discount will be applied only to the products that satisfy the conditions you've set. This way, you can tailor your discount to specific products without affecting the entire cart.

 

If you still have problem the feel free to contact us we would like to assist you.