Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: when in process does affiliate code attach to customer?

  1. #1
    cartuser is offline Junior Member
    Join Date
    Aug 2009
    Posts
    18

    Default when in process does affiliate code attach to customer?

    I send a customer into the shopping cart using:
    http://www.NOTTHEDOMAIN.com/p-165-bo...liate_id=10108

    Due to our business model, I have made some modifications to the check out process where a user can choose their own affiliate if they aren't associated with one.

    I've put this drop down on the checkoutpayment.aspx - thinking the customer would have already had to create an account and the affiliate would have been attached at the customer creation screen.

    But that doesn't seem to be the case. I created a customer to test using the above link, but the customer has no affiliate associated with them when getting to the checkoutpayment.aspx page.

    So when does the person become associated with that affiliate?

  2. #2
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    In the {root}/sigin.aspx.cs file inside the LoginButton_click event, you could see how we are passing the affiliateID to affiliateIDParameter and stored into affiliateIDFromCookie.