X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   What is the home store directory variable? (https://forum.x-cart.com/showthread.php?t=2633)

finestshops 05-09-2003 05:47 PM

What is the home store directory variable?
 
Hi guys,

What is the home directory variable of x-cart? :oops:
Like {$ImagesDir} is image directory
maybe {$XcartDir} ? does not work.

I used it before but can not find it.

Thanks

shan 05-10-2003 02:51 AM

You could use this

Code:

HTTP://{$config.Company.company_website}

finestshops 05-10-2003 07:59 AM

Quote:

Originally Posted by shan
You could use this

Code:

HTTP://{$config.Company.company_website}


Thanks, but I do not think this one will work under https - will give warning message. The problem is - Php script for detail images pop-up
can not be found in catalog because it's in store/customer directory
and catalog is in store/catalog directory. if you run dynamic store - everything is fine - script is in the same directory as home.php
if you run it from catalog - the path should be ../customer/script.php
but this path will not run in dynamic store.
absolute url will work but I thought there is a more elegant way.


All times are GMT -8. The time now is 10:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.