Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing to different directory instead of root...


7Design

Recommended Posts

Posted

Hello folks!

 

This is my first post here, so here we go.

 

I would like to install OSC to public_html/staff/store (where "store" will be the contents of the "catalog" folder.

 

What do I need to change to make this work correctly?

 

Thanks!

 

7Design

Posted
Or, please direct me to the topic that advises how to do this.

 

If this is a fresh install, you only need to upload to your server and change the name of the 'catalog' folder before you begin the install process and it will set up everything correctly for you.

 

If you already have it installed and want to move it, all you need to do is to edit your includes/configure.php and admin/includes/configure.php files, changing the path settings. For example this is from includes/configure.php:

 

  define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

In these particular lines of code you would change 'catalog' to 'store' or whatever. Of course assuming you have already moved the osC files into the new folder name. These are not all the changes you need to make however they are all similar and fairly easy to recognize.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Posted
If this is a fresh install, you only need to upload to your server and change the name of the 'catalog' folder before you begin the install process and it will set up everything correctly for you.

 

If you already have it installed and want to move it, all you need to do is to edit your includes/configure.php and admin/includes/configure.php files, changing the path settings. For example this is from includes/configure.php:

 

  define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

In these particular lines of code you would change 'catalog' to 'store' or whatever. Of course assuming you have already moved the osC files into the new folder name. These are not all the changes you need to make however they are all similar and fairly easy to recognize.

 

Be well,

Tina

 

Thanks, Tina. Yes, this is indeed a fresh install. So, I will do as you advised. I believe I did it like this before, but had a problem with images.

 

ALSO, I definitely want to change the appearance of the cart. Could you advise of how easy (or not) this id to do? Mainly, we want fixed tablewidth at 760 px, and, of course, the colors.

 

Thanks for your QUICK help!

 

7Design

Posted
Thanks, Tina. Yes, this is indeed a fresh install. So, I will do as you advised. I believe I did it like this before, but had a problem with images.

 

ALSO, I definitely want to change the appearance of the cart. Could you advise of how easy (or not) this id to do? Mainly, we want fixed tablewidth at 760 px, and, of course, the colors.

 

Thanks for your QUICK help!

 

7Design

 

There are many resources in terms of template systems, other contributions, and inside the forum posts to help you in that regard. Take a look around and you will find some wonderful information.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...