We can "register" usage of a certain promotion or coupon in a given order, but we have no way of deleting the usage for a specific order.

CommentFileSizeAuthor
#2 usage_unregister.patch2.21 KBsamuhe

Comments

samuhe created an issue. See original summary.

samuhe’s picture

StatusFileSize
new2.21 KB

I've created a patch that creates an "unregister" function.

jsacksick’s picture

Issue tags: -usage +Needs tests

Looks good, we need to expand the UsageTest though and test the new method there.

  • jsacksick committed eb18a62 on 8.x-2.x authored by samuhe
    Issue #3257792 by samuhe, jsacksick: Promotion Usage should provide a...
jsacksick’s picture

Status: Needs review » Fixed

Committed, thanks!

  • jsacksick committed 6050496 on 3.0.x authored by samuhe
    Issue #3257792 by samuhe, jsacksick: Promotion Usage should provide a...

Status: Fixed » Closed (fixed)

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