Jump to content

Conditionnal Visitor Group relying on referrer


Arlulo

Recommended Posts

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

  • 1 month later...
  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...