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)
-   -   Using X-Cart with Multilanguage Support and Sections (https://forum.x-cart.com/showthread.php?t=6061)

salsabeel 01-16-2004 12:56 PM

Using X-Cart with Multilanguage Support and Sections
 
I want to set up my website to have a feature where two languages are available. At the front page (/index.html) there would be two choices: English (/english/customer/) and Arabic (/arabic/customer/). The customer would be able to go to the English site and see products available in English only and they would be able to go to the Arabic siteand see products available in Arabic only. They would be able to add one item from the English site to their cart and switch over to the Arabic site if they chose and add Arabic items to the SAME cart. When they check out they would be able to see both items, though from different versions of the site, in the same cart. The database on the admin side would be the same. How is this possible?

I am sorry if this is the wrong section of the forum to post this question on.

leon 01-16-2004 01:25 PM

This needs a strong hack, the most logical thing you could do, if you know what you're doing is adding a field in the products database, called for_language for example.

Inside that field you would add the 2 charset coding for languages, whereas EN for english and AB for arabic. Thats the basis.

Now the hard part is to hack several scripts and templates to have this understood by the system in a way that the language pointed out by you for the product would display only for a choosen language by the customer.

If it is done this way, you wont have to have different stores all over the place, the down part is that it needs to be hacked tough, and when you want to upgrade it will be a headache.

Try suggesting in the Wish List.

shan 01-17-2004 02:18 AM

why not have 1 store with all products in sections but give international descriptions to all products.

you could still send them in as english or arabic from links on a splash screen

salsabeel 01-17-2004 02:47 AM

Shan - But how would I have different page designs for each arabic and english and also be able to hide the arabic categories for the english page and the english categories for the arabic page?

shan 01-17-2004 03:59 AM

im sure you could use {if} statements around the call for categories.tpl and maybe use skinswap from http://cartlab.net for the design side of it


All times are GMT -8. The time now is 10:29 PM.

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