In magento1 I want to create a Coupon & apply that coupon when only specific brand product is added to cart, if any other brand product is applied then the coupon code should be automatically removed or should not apply.

1 Answer 1


You can create a new product attribute as a brand and assign value to products using mass action. After that Make sure you set value Yes in the dropdown "Use for Promo Rule Conditions" for the brand attribute.

Now you can able to see the brand attribute option in the action section while you creating a new promo code.

Make sure you do Reindexing and cache clear. enter image description here

Below Is the condition as per your requirement. In place of SKU, you have to select the Brand attribute. enter image description here

Hope it will solve your problem

  • i have already done that, my issue is how to apply coupon code if any of the 5 brands products are in the cart alone or any of them but among 5 of them. If out of 5 any 6th brand products is added then remove the applied code
    – Arjun
    Feb 17, 2020 at 5:49
  • @Arjun Please check the updated answer Feb 17, 2020 at 7:06
  • @Arjun any update is this working or not? Feb 20, 2020 at 6:02
  • No working, I did it via custom code by override Flaterate.php & Freeshipping.php
    – Arjun
    Feb 20, 2020 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.