Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Use Case: An admin needs to assign an order to an affiliate manually after the order has been generated. No commissions generated yet.
This patch adds an option to the "Affiliate commissions" form on the administration order view page. (admin/store/orders/**order_id**)
The option reads: "Assign affiliate to this order"
On submission, it deletes any previous entries for this order in the uc_affiliate2_orders table, and inserts a record for this affiliate.
Comment | File | Size | Author |
---|---|---|---|
assign_order_to_affiliate.patch | 1.28 KB | mmilano |
Comments
Comment #1
bruiseviolet CreditAttribution: bruiseviolet commentedWe normally just go into the order # and at the bottom there is a drop down to ADD or REMOVE affiliate commission from that order. Depending on settings, the commission will show to the user. Ours is set to grant commission once an order has been completed and shipped.
Comment #1.0
bruiseviolet CreditAttribution: bruiseviolet commentedmarkup
Comment #3
nohup CreditAttribution: nohup commentedcommitted to dev. thanks