Please Log in or Create an account to join the conversation.
Don't recall what I did a year ago, but have a hard time believing I gave you obviously non-working code.Well these codes with substitutions are the code you gave me more than a year ago in order to get the correct affiliate ids
Depends on what you're trying to do. Still trying to understand what it is you're attempting. You want to use the fields value as the affiliate id if supplied otherwise use the cookie? However, if the user is a moderator you want it to ignore the cookie and only track if the field has a value in the case of moderator? In onCPayBeforeStorePaymentBasketUpdated is where you'd handle switching between the field value and the cookie as needed, but you need the field value of the basket user and not of the viewing user. So something like the below probably.Can you tell me what to do at this stage ?
Is this possible to add an auto action to this integration to achieve what we want ?
Meaning overwriting a cookie when the affiliate code is manually inserted in the registration form or found in CB table when updating a subscription ? And avoiding this when a mod is manually subscribing a customer.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.