Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2003
    Location
    Brisbane , Australia
    Posts
    44
    Plugin Contributions
    0

    Default Change currency via URL?

    Is it possible to have the currency changed without hard coding something, like having a adder to the url to change the currency?

    thanks
    ian

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: is it possible to preselect non default currency?

    Yes. That's how the currency-selection sidebox works presently.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2003
    Location
    Brisbane , Australia
    Posts
    44
    Plugin Contributions
    0

    Default Re: is it possible to preselect non default currency?

    Can you tell what the url looks like as mine does not change
    looks like domainname.com/shop/index.php?main_page=index before and after i change currencies.
    I was thinking that it should have a reference to currency=GB or something when selecting GB as currency.
    Or am i off on a tangent here?

    thanks
    ian

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Change currency via URL?

    Simply adding &currency=GBP will change the store into that currency, for that customer's shopping session.

    After set, the URL will NOT continue to show it, since it's not needed in the URL once set. The prices, however, will be showing in the new currency, until logoff or closing the browser, or until selecting another currency.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Set Currency via URL
    By gohealth in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 26 Mar 2014, 11:33 AM
  2. Google sometimes crawls with currency in URL.. USER CURRENCY mod
    By gaffettape in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 22 May 2011, 05:05 AM
  3. currency incorrectly converted at paypal via payflow pro
    By tomarriola in forum Addon Payment Modules
    Replies: 20
    Last Post: 2 Jul 2008, 11:33 AM
  4. Product images via URL?
    By yongkoom in forum General Questions
    Replies: 7
    Last Post: 29 Feb 2008, 05:32 PM
  5. Adding items to cart via URL
    By chachix in forum General Questions
    Replies: 5
    Last Post: 28 Feb 2008, 08:28 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