Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default code to show/hide currencies sidebox?

    Hi, can someone please point me to the code/file that 'turns off' the currencies dropdown menu as a user approaches checkout?

    Thanks,

    Scott.
    Donation made. Enjoy those donuts! :-)

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

    Default Re: code to show/hide currencies sidebox

    You apparently have more than one currency...
    Waht is it exactly that you are wanting to do?

    Or the tutorials
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: code to show/hide currencies sidebox

    Hi, Ive only got this going on our test site so far, ive moved the currencies and manufacturer dropdown menus up into the header.

    For some reason though, it doesnt move the title of the sidebox too. Im referring to the code used in this thread; http://www.zen-cart.com/forum/showth...acturer+header - i used this to move both sideboxes, and they function just fine.

    What I need, is for the currencies text to show and hide at the same time as its respective dropdown menu.

    So I have two options;

    1. figure out how to also move the sidebox titles into the header
    2. Or use the same code that shows/hides the currencies dropdown to show/hide a hard-coded title at the same time.

    Cheers,

    Scott.
    Donation made. Enjoy those donuts! :-)

  4. #4
    Join Date
    Dec 2009
    Posts
    234
    Plugin Contributions
    0

    Default Re: code to show/hide currencies sidebox?

    Found it myself eventually. - includes/modules/sideboxes/currencies.php

    I copied and modified the following code and put it into; includes/templates/my template/common/tpl_header.php

    PHP Code:
    <?php    
      
    // don't display on checkout page:
      
    if (substr($current_page08) != 'checkout') {
        echo (
    'Im currencies text!');
      } 
    ?>
    The above text now shows or hides along with the currency dropdown menu.
    Donation made. Enjoy those donuts! :-)

 

 

Similar Threads

  1. Click-Show-Hide Category Menu Sidebox
    By ahhs9162 in forum Addon Sideboxes
    Replies: 3
    Last Post: 18 Dec 2012, 10:46 PM
  2. Show/Hide INformation Sidebox based on page
    By atracksler in forum Basic Configuration
    Replies: 12
    Last Post: 17 Jun 2011, 04:21 PM
  3. CSS Show/Hide Category Sidebox
    By andreitero in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Aug 2010, 12:54 PM
  4. Click-Show-Hide Category Menu sidebox
    By cla74 in forum Addon Sideboxes
    Replies: 10
    Last Post: 20 Jan 2010, 12:40 AM
  5. Click-Show-Hide Category Menu sidebox help
    By critchey1 in forum Addon Sideboxes
    Replies: 4
    Last Post: 21 Aug 2008, 01:55 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