I want to create coupon code and I need to set also expiration date. Magento offers to set expiration date only for promotion rules and it affects globally all coupons inside this rule. Anyway inside database table
salesrule_coupon has also field
expiration_date but it seems that this field is not used anywhere.
Has anybody managed to set expiration date for individual coupon successfully? Otherwise I am thinking the only way to make it right would be to create observer which will observe entering coupon code and delete the coupon if expired and thus it will make coupon code unusable before it is applied.
Any ideas are appreciated.