Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    15
    Plugin Contributions
    0

    Default Change language by URL. - Incoming link will change the curency

    Ive used oscommerce for ages and have recently changed to zen


    In oscommerce mydomain.com/catalog/index.php?currency=GBP

    changes the shown language to GBP (great british pounds).

    Similarly mydomain.com/catalog/index.php?currency=USD

    changes to US Dollars.


    This is great because for my ads aimed at the UK, the customers click the link to my cart and see prices in pounds.

    Similarly ads aimed at the us lead people to my site in dollars.


    How can i do this in Zen cart? It doesnt work!!!!


    This is very useful for google base ads where for US ads the currency must be in USD and UK must be GBP


    Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: Change language by URL. - Incoming link will change the curency

    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jul 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Change language by URL. - Incoming link will change the curency



    OK it works on the index.php page but does not work on the product info pages

    eg

    http://www.zencarttemplates.info/138...&products_id=1

  4. #4
    Join Date
    Jul 2008
    Posts
    15
    Plugin Contributions
    0

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: Change language by URL. - Incoming link will change the curency

    That's because of a syntax error in the way you're building the URLs (which would apply to any system where parameters are passed as GET variables). The first parameter starts with a "?" but any others chained to it are preceded by "&" instead.

    For example, this works:
    HTML Code:
    http://www.zencarttemplates.info/138/index.php?main_page=product_info&cPath=3_15&products_id=20&currency=USD
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. change language in admin?
    By codegen in forum Customization from the Admin
    Replies: 0
    Last Post: 10 Apr 2007, 11:27 PM

Bookmarks

Posting Permissions

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