An alternative to the linking method above is to allow your customers to select from a list of affiliates on the customer checkout form.
To turn this on, you need to set the following in your shop configuration:
Xaffcustomerform |
Setting this to Yes generates a list of affiliates on customer checkout form. |