A customer referral link is established in one of three ways:
Freedom setting to enable the Referred By Customer field:
X2_NEWCUSTOMER_SHOW_REFERCUST
This will show on the New Customer - Create Account form in the shopping cart.
Freedom setting to enable sharing from product detail page:
JSCART_PRODUCT_DETAIL_SHARE_FEATURE
When viewing and item in the shopping cart (detailed view), there is a section to share the item. This will include the customer id in the link.
Example link that is shared:
https://shop.bydesign.com/{CLIENTNAME}/share.php?productDID=1502&repDID=417097&customerDID=1456984&url=/shop/detail/1502/from/417097?ReferringCustomerDID=1456984
Note that this has the ReferringCustomerDID=1456984 as one of the variables. So, if a new customer is created after visiting this link, the new customer will have this ID set for their referring customer.
From the Customer's Back office page, click Administration Menu > Change Refer Customers.
This will now show what is currently set.
You can enter a new referring Customer ID number or use the checkbox to set it to None.
Here are two promotion conditions that take advantage of the Referred Customer Field:
This will return true if the order is from a referred customer.
This will check to see how many referred customers the shopper has. If it is above the minumum set, then the condition will return true.
For additional information about Customer Referrals, please see the following pages: