Add Customer ID to URL

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
We have users who make commission of products they sell.  We want to include a custom userID in the URL such as https://www.example.com/userID.  How do we add this so that the userID stays in the URL and other routes, such as 3rd party ajax plugins, still work as usual?
2 years ago
There is a system called Affiliates which maybe the same idea you are looking at:
"Affiliates are third parties who refer customers to your site. The nopCommerce software can track those referrals so that the store administrator can determine the commission to be paid to affiliates. Once a customer is assigned an affiliate ID, every order they place is also tagged with that ID."

See https://docs.nopcommerce.com/en/running-your-store/promotional-tools/affiliates.html#:~:text=Affiliates%20are%20third%20parties%20who,also%20tagged%20with%20that%20ID.

Maybe have a look at this and see if it can be used to help
2 years ago
Yes, I'm familiar with the affiliates.  I'm already tracking orders and customers etc.  We've built lots of different functionality into the site, so product purchases isn't the only reason.  My real need is how to put a userID in the URL.  They share links from all over the site, and I need the userID so I can allow them to share "personalized" links.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.