0

Is it possible to not use a fixed date but just the "current date" as a condition for a price rule for promotions?

For example let's say I want to give a 10% discount to all new products.

I would like to add the simple condition of. Set as New product from date <= today <= Set as new product to date

However, trying this I can only set fixed dates. Check if new product

Is there a clever way around this perhaps? Edit A dumb way is fine too :).

0

There's no way out-of-the-box to set it as you'd like to but there are few quick workarounds.

My first and favorite, would be too create a module that would in some kind of time intervals set particular products as new and after that take them and assign them to special category "New prodcts" (it doesn't have to be included in navigation).

Then the condition would be if Category is (not?) one of: New products. [depending on which way you'd like to go with that].

Second possibility would be to create a custom product attribute "New product" which would be updated by a module from time to time. Then use it inside a promotion like: New product is: true/false.

Probably there are tons more but these two seems to be easiest and not overthinked.

1
  • Was already working towards solution 2. Maybe I'll publish the module when done. – Gilles Lesire Apr 8 '16 at 12:47

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.