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,569
    Plugin Contributions
    25

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

    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://(sorry, site offline)/138/ind...&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,569
    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://(sorry, site offline)/138/index.php?main_page=product_info&cPath=3_15&products_id=20&currency=USD
    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. Background on CSS will not change when I replace the url.
    By sendmenews in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Sep 2011, 03:30 AM
  2. change the language, the page will change into Blank page
    By agness in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Sep 2010, 05:49 AM
  3. How I may change it so the ZenCart appears on our normal URL link?
    By Rxmed in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 18 Nov 2009, 11:23 PM
  4. How do I change the URL for the Home link on my custom template?
    By derpe2 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Aug 2009, 10:11 PM
  5. Change the product url link
    By pharqall in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Mar 2008, 02:47 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR