Jump to content

Global variable for current shop path


prestBarka

Recommended Posts

Hi,

I have a prestashop website with multistore. Everything is on domain.com and shops are separated by country.

domain.com/fr for the french shop, domain.com/de for the german, etc...

These are only virtual links. Everything is in public_html.

 

What I want is just a variable countaining the current shop path. For example in a french shop module, I want a "CURRENT_SHOP" variable that contains "domain.com/fr"

 

How could I do this ?

Edited by prestBarka (see edit history)
Link to comment
Share on other sites

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...