Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link between osCommerce sites


asgo

Recommended Posts

I have a osCommerce shop in directory .\Public_html.

Another osCommerce shop is located in ..\Public_html\International.

The two shops are in different languages and has different goods, taxes, shipping rates etc., they have to be kept separate.

 

The problem is this: When the customer presses "Top" in the heading he always is sent to the start page in the first shop even if he is in the second shop. Somewhere there must be a link to ..\index that needs to be changed to ..\International\index.php but I can't find it.

Anyone?

Link to comment
Share on other sites

It's the config file.

In your shop directory: includes/configure.php

Open it, you probably have these lines at the middle:

 

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

Try removing the slash from both if you have these lines. If you don't have the lines like this, try altering the lines to

 

define('DIR_WS_HTTP_CATALOG', '\Public_html\International');

define('DIR_WS_HTTPS_CATALOG', ''\Public_html\International');

or something like that, I can't say for sure, but it's the config file.

Link to comment
Share on other sites

Thank you, you did put me on the right track.

The installation was made automatically and the error was right where you wrote.

define('DIR_WS_HTTP_CATALOG', '/'); was replaced by

define('DIR_WS_HTTP_CATALOG', 'International/'); without the starting slash

It should have been

define('DIR_WS_HTTP_CATALOG', '/International/');

 

Thank you for your help

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...