Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 102
  1. #81
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: Language/Currency Links in Header

    Quote Originally Posted by tctc View Post
    Is there any way to change the order of the currency choices i.e. to have the AUD$ appear first instead of the USD$? Thanks.
    Which do you have listed as default?

  2. #82
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Language/Currency Links in Header

    Quote Originally Posted by tctc View Post
    Is there any way to change the order of the currency choices i.e. to have the AUD$ appear first instead of the USD$? Thanks.
    Admin > Localization > Currencies > select Currency, click Edit, add sort order to each currency listed.

    Refresh the live site when you have finished to see the new sort order.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #83
    Join Date
    Feb 2020
    Location
    Brisbane
    Posts
    7
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    AUD as in Australia.

  4. #84
    Join Date
    Feb 2020
    Location
    Brisbane
    Posts
    7
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    There is no way to change the sort order in 1.5.6 but I have AUD as default currency and that does not make any difference. Thanks.

  5. #85
    Join Date
    Feb 2020
    Location
    Brisbane
    Posts
    7
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    There is not any option to do this?

  6. #86
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Language/Currency Links in Header

    Quote Originally Posted by tctc View Post
    There is no way to change the sort order in 1.5.6 but I have AUD as default currency and that does not make any difference. Thanks.
    The current module version has not been tested with 1.56c. All Twitch and public Zen modules are being re-written for 1.56c in funded priority at the moment :)
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  7. #87
    Join Date
    Feb 2020
    Location
    Brisbane
    Posts
    7
    Plugin Contributions
    0

    Default Re: Language/Currency Links in Header

    Thanks! :)

  8. #88
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Language/Currency Links in Header

    There is a new version of this module available for 1.56c with minor bugs fixed and some new features to make it easier to use/install. I'll be packing it up shortly for public release!
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  9. #89
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    application error Re: Language/Currency Links in Header

    I downloaded this plugin and wanted to use it for v1.5.7c on a php 7.4.16 site.

    Originally the plugin is for v1.5.5 so I compared the original templates with the plugin templates and adjusted them for v1.5.7c

    This will work only if your site php is lower than php 7.2

    Because each() function is deprecated in php 7.2 you'll get a lot of error logs.
    A search in the forum didn't give me any solution but Google found one that I could work out further:

    If your site is php 7.2 or higher than find all instances of "each" like:

    \includes\modules\header_currencies.php

    Replace
    PHP Code:
    <?php
          
    while (list($key$value) = each($currencies->currencies)) {
    By
    PHP Code:
    <?php
        
    foreach($currencies->currencies as $key => $value) {
    Replace
    PHP Code:
    <?php
          
    while (list($key$value) = each($_GET)) {
    By
    PHP Code:
    <?php
          
    foreach($_GET as $key => $value) {
    \includes\templates\template_default\common\tpl_header_languages.php

    Replace
    PHP Code:
    <?php
      
    while (list($key$value) = each($lng->catalog_languages)) {
    By
    PHP Code:
    <?php
          
    foreach ($lng->catalog_languages as $key => $value) {
    Changes in ALL_TEMPLATES\common\tpl_header.php for v1.5.7c are more extensive and include a change so it will fit for multi-lingual shops that have customers in whose language the word "language" isn't "language". This word is hard-coded in the file.

  10. #90
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    115
    Plugin Contributions
    6

    Default Re: Language/Currency Links in Header

    Quote Originally Posted by Philibel View Post
    Changes in ALL_TEMPLATES\common\tpl_header.php for v1.5.7c are more extensive and include a change so it will fit for multi-lingual shops that have customers in whose language the word "language" isn't "language". This word is hard-coded in the file.
    My adaptation of the plugin works fine for me and as a member of the community of ZenCart users, I thought it would only be fair to share it with others users. So I submitted my version of this plugin which I tested and use for Zen Cart v1.5.7c on a php 7.4.16 site.

    I has been approved and is available for download Language/Currency Links in Header version v3.0

 

 
Page 9 of 11 FirstFirst ... 7891011 LastLast

Similar Threads

  1. Language and Currency in the Header
    By jdes in forum General Questions
    Replies: 1
    Last Post: 13 Aug 2010, 04:38 PM
  2. Language and Currency in header
    By DocRocks in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 8 Nov 2009, 10:53 AM
  3. Error with 'Language/Currency Links in Header'
    By [email protected] in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 Mar 2007, 03:23 PM
  4. Error with 'Language/Currency Links in Header'
    By [email protected] in forum Customization from the Admin
    Replies: 1
    Last Post: 6 Feb 2007, 10:17 PM
  5. Replies: 0
    Last Post: 26 Jan 2007, 06:10 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