Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

using different domains for different languages?


ben_z

Recommended Posts

Posted

I've set up a store on my main domain of my hosting account, and I have another add-on domain on the same account (a sub folder in that account). I've placed a copy of all the files in the add-on domain's folder. By doing so I hope that my main domain can be the store front in english, and the add-on domain can be my store front in french. However, the problem is there can only be one default language setting in the database table "configuration" at the same time. Does anyone know how to solve this? Thanks in advance

 

Ben

Posted

I've set up a store on my main domain of my hosting account, and I have another add-on domain on the same account (a sub folder in that account). I've placed a copy of all the files in the add-on domain's folder. By doing so I hope that my main domain can be the store front in english, and the add-on domain can be my store front in french. However, the problem is there can only be one default language setting in the database table "configuration" at the same time. Does anyone know how to solve this? Thanks in advance

 

Do you need both stores to be the same? if not you could run the second store, on its on dbase, or maybe you could get with a dbase guru who can tell ya how to incorporate specified tables from one dbase in order to run the store front you are looking for, with oscommerce i am pretty sure this couldnt be too difficult, but at the present i dont have that knowledge. but i do know it can be done with a join, would prolly take some massive configuration editing to get it to work, but it might well be worth it. or how bout installing the language translation for the store in english.

  • 1 month later...
Posted

I've set up a store on my main domain of my hosting account, and I have another add-on domain on the same account (a sub folder in that account). I've placed a copy of all the files in the add-on domain's folder. By doing so I hope that my main domain can be the store front in english, and the add-on domain can be my store front in french. However, the problem is there can only be one default language setting in the database table "configuration" at the same time. Does anyone know how to solve this? Thanks in advance

Posted

Well you can copy the configuration table and give it a prefix for the second site, then in the includes/application_top.php files, change the configuration table name to the new prefixed table name.....

 

Now you will be able to have a different setup for the second site....

 

this should fix the issue up..

 

cheers and HTH

Peter M.

Peter McGrath

-----------------------------

See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation

Posted

Sorry for my previous post, was a mistake.

 

Basically OS commerce is clever enough to detect the language from the browser setting and switch to French if called from a french system.

 

You may also get into your store through different domains, you don't even have to copy anything:

 

Your store is located at www.mystore.com/catalog

 

You create a simple html page at www.mystore.fr with following code:

 

<head>

<meta http-equiv="refresh" content="0;URL=http://www.mystore.com/catalog/index.php?language=fr/">

</head>

 

This redirects the customer to mystore.com using french language.

 

K.I.S.S.

Posted

yes, it is "smart enough"....I only posted the changed configuration due to how you are setting up, of course a redirect and letting osC handle the rest is by far the easiest solution....

 

cheers,

Peter M.

Peter McGrath

-----------------------------

See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation

Archived

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

×
×
  • Create New...