I would like to create a rule based on 2 attributes :

  • first attribute : enable free shipping, yes/no value
  • second attribute : date end of free shipping promotion, date value

then I will create a rule that say basically if all items in shopping carts have free shipping enabled and end date in the future, then give free shipping, otherwise, proceed as usual.

Any way to do that like that?

PS : i know how to do it with just a rule, but I insist on using attributes, because I want as well to display a small promotion warning in the product page, I therefore do not want each time to update both rules and attributes (to avoid discrepancies).

Magento EE


You can, just set the attributes to be used for promotional rules

enter image description here

after which you can use it in your shopping cart price rules. The date should also be an attribute set to be used for price rules. The rule will allow you to use the date

enter image description here

| improve this answer | |
  • that looks like a total good idea. Will try that. – Memes Nov 10 '14 at 4:45
  • ok, then I can get it to work with the Yes/No part and your solution, but for the date I can not use it properly. I have to set in the rule a date, the thing is that date should be today... – Memes Nov 10 '14 at 9:45
  • updated the answer, is this what you mean? – Sander Mangel Nov 10 '14 at 10:28
  • not exactly, I would like to put a date : Free shipping until, and if the date is passed, then false, if the date is not passed, then true, it basically means that in my rule, the date is today, or more exactly the result of today() function – Memes Nov 10 '14 at 10:54
  • The screenshot above shows an attribute that is used with a date. You will need to add your own attribute offcours bit in principle it works. I might not exactly understand what you are trying to do then – Sander Mangel Nov 10 '14 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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