Reviewed & tested by the community
Project:
Commerce Coupon (D7)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2016 at 10:23 UTC
Updated:
18 Jul 2017 at 15:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
garphyHere's a patch which integrate Commerce Coupon Usage with Commerce Billy
Comment #3
hugronaphor commentedThis worked for me.
Thanks
Comment #4
mglamanAt some point
drupal_alter('commerce_coupon_usage_tracked_order_statuses', $statuses);was added.I honestly feel it should be up to Commerce Billy to invoke this alter to add its statuses. Willing to hear feedback. Before there was no hook.
Comment #5
reszlithe new hook was introduced in RC4
and since it's a hook, I would agree that it's implemented by commerce_billy
so I created an issue there: #2895589: support Commerce Coupon's usage stats
Comment #6
mglamanI'm willing to commit this, afterall. We have a proper issue opened in Billy; we can clean this up if that ever makes it. I'd like to help people not need patches over "what's the right way" over this one.