Active partner has an affiliate link that can be shared with a new customer or affiliate. If a new user follows this referral link and registers an account, they become a new affiliate or customer placed under the sponsor whose link was used during registration.
The referral link is stored in the browser cookie for 24 hours. If the new user registers immediately or during the cookie validity period, this user will be added to the network under the corresponding sponsor.
When the user signs up, the account is created automatically on the MLM Soft platform.
The user login works through the MLM Soft authorization system. This means the authentication logic is shared between MLM Soft and Shopify.
How authorization works
If a user exists both on Shopify and in MLM Soft, authentication is performed through the MLM Soft API, which means the MLM Soft password is used.
This allows the same single password to be used for both systems.
If a user does not yet exist on Shopify but already exists in MLM Soft, and the password is correct, the user is authorized and automatically created on Shopify.
This makes it possible to create or import users directly in MLM Soft, while still giving them automatic access to the Shopify website.
Registration During Checkout (Referral Link-Based)
Registration during checkout works based on the data entered while placing an order in Shopify checkout. This registration method is available only when the user arrives via a referral link, because the referral link contains the sponsor details required for registration.
During the checkout flow, the system captures the sponsor information embedded in the referral link.
If the user chooses to register during checkout, the system uses the pre-filled sponsor data from the referral link to create the account.
This method ensures that registration is directly connected to the referral source, preserving the sponsor information and simplifying the user journey.
Key point:
This registration method is available only when the user arrives through a referral link containing sponsor data.
Registration on a Separate Page
In this scenario, a new user goes to the checkout page and sees options to log in or register. If the user chooses registration, they are redirected to a separate page with the registration form.
The registration form allows manual entry of the Sponsor ID. This field is optional and can be hidden depending on the project configuration.
Manual Sponsor ID entry makes it possible to assign a sponsor even when the user did not come through a referral link.
This approach separates registration from the checkout process and provides a more flexible registration experience.
Key point:
Manual Sponsor ID entry allows users to specify their sponsor if sponsor data was not passed through a referral link.
Process example
Below is a simplified example of how the referral-based registration logic can be described in documentation:
1. Partner shares the referral link with a new user.
2. The new user follows the link.
3. Sponsor data is stored in cookie for 24 hours.
4. The user registers immediately or during cookie validity.
5. The account is created automatically in MLM Soft.
6. The user is placed under the sponsor in the partner network.
Summary of registration options
There are two available registration scenarios in the Shopify + MLM Soft integration.
The first option is registration during checkout, which depends entirely on a referral link and automatically uses sponsor data from that link.
The second option is registration on a separate page, where the Sponsor ID can be entered manually, giving more flexibility when no referral link is used.