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.

CommentFileSizeAuthor
assign_order_to_affiliate.patch1.28 KBmmilano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bruiseviolet’s picture

We 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.

bruiseviolet’s picture

Issue summary: View changes

markup

  • nohup committed e57086d on 7.x-1.x authored by mmilano
    Issue #1664618 by mmilano: Assign an order to an affiliate (Patch)
    
nohup’s picture

Issue summary: View changes
Status: Active » Fixed

committed to dev. thanks

Status: Fixed » Closed (fixed)

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