Hello,

I would like to change messages for some coupons in uc_coupon_submit(). And would be nice to have such a option in uc_coupon_add_form for each coupon like fieldbox where would be possible to do it.

What do you think is it make sense to do? Or should I just implement my custom solution?

Let me know!

Cheers,
Vadim

Comments

wodenx’s picture

I've already implemented this in the D7 branch - a backport is on my to-do list but I don't know when I'll get to it. If you want to work up a patch, I'll gladly review - maybe use the D7 code as a model - there's a field for the message and also for the way the coupon is displayed as a line-item or in the cart. Ideally, the custom strings should support Token substitution.

wodenx’s picture

Status: Active » Fixed

Backported to DEV.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.