| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Using X-Cart with Multilanguage Support and Sections | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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. |
|||||||
#2
|
|||||||||
|
|||||||||
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.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#3
|
|||||||||
|
|||||||||
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
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||
|
|||||||
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?
|
|||||||
#5
|
|||||||||
|
|||||||||
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
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
|
|||
X-Cart forums © 2001-2020
|