Arlulo Posted December 1, 2016 Share Posted December 1, 2016 Hi, My shop is currently running on 1.6.0.14 and I'd like to set a condition in order to assign a visitor (with a specific referring url) to another group than built-in visitor group. Indeed, I want these visitors to see immediately the discount price they can get by visiting my store if they come from a specific website. I know the built-in visitor group rely on PS_UNIDENTIFIED_GROUP directive. I typed "grep -R PS_UNIDENTIFIED_GROUP" on my webserver and found quite many files. Therefore, I don't know where to add my condition based on $_SERVER['HTTP_REFERER'] in order to change the visitor group for these users. Sorry for my approximate English, I wish you'll understand what I mean. Thank's in advance for support. Have a good day ! Link to comment Share on other sites More sharing options...
Cinerar Posted January 6, 2017 Share Posted January 6, 2017 Any progress with this? Link to comment Share on other sites More sharing options...
Arlulo Posted January 31, 2017 Author Share Posted January 31, 2017 Hi, I've did the trick and explained how in the following post (French): https://www.prestashop.com/forums/topic/574325-changer-de-groupe-un-visiteur-en-fonction-de-son-referer/?do=findComment&comment=2487232 Good evening Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now