Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    9
    Plugin Contributions
    0

    Default When changing language, go to same shop, but different domain?

    So I have Zen Cart installed, with 5 languages. And I have 4 different domains for every other language than english, but everything is already installed on the main domain, the remaining 4 are add-on domains, which are on the same server as the main domain.

    My question is if a user selects a different language, could I make it go from www.zencartdomain1.com to www.zencartdomain2.com, but still being the same zencart, just a different language?

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: When changing language, go to same shop, but different domain?

    With some custom coding you could but why not use the language functionality built into Zen Cart and have it just change the language?

    Check and select the language flag and see the language change HERE
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: When changing language, go to same shop, but different domain?

    Thanks for your fast reply.

    I know how to add the languages, with the language chooser, but I'd like the different languages also to be on different domains, has to do with search keys and such for google and other search engines. When you add languages to your zen cart shop (as I also did), it won't get search results on google or any other search engine for the languages that are not your default language. I'm thinking that with the different languages being on a different domain, that you will get search results for these languages too, instead of just your default language.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: When changing language, go to same shop, but different domain?

    Tou will have to get rid of the smart code in tpl_languages.php and replace it with "Hard Code" linking each flag to your other domains...

    Insure you use the override - and replicate this to each site
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: When changing language, go to same shop, but different domain?

    Alright, thanks for that. I'm no good at PHP, so I guess that I'll wait until I find someone that can help me.

    But thanks for the info Kobra :)

 

 

Similar Threads

  1. v152 Changing Shop DOMAIN (not admin) to new domain
    By vojtechjan in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 4 Apr 2014, 02:37 PM
  2. v139h 2 different sites on same server but want to use same product images
    By ultravires in forum General Questions
    Replies: 10
    Last Post: 4 Apr 2013, 08:16 PM
  3. changing domain on same server/host
    By slater555 in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2011, 05:26 AM
  4. Different domain name for shop
    By TechnoTim2010 in forum Basic Configuration
    Replies: 3
    Last Post: 16 Dec 2010, 07:01 AM
  5. Same server etc but different domain name
    By mediathing in forum Basic Configuration
    Replies: 2
    Last Post: 5 Jul 2008, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg