Zen Follower
- Join Date:
- Dec 2009
- Posts:
- 236
- Plugin Contributions:
- 0
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.
Views: 1,765
Zen Follower
Hi, can someone please point me to the code/file that 'turns off' the currencies dropdown menu as a user approaches checkout?
Thanks,
Scott.
Black Belt
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 Follower
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/showthread.php?t=160848&highlight=manufacturer+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;
Cheers,
Scott.
Zen Follower
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
// don't display on checkout page:
if (substr($current_page, 0, 8) != 'checkout') {
echo ('Im currencies text!');
} ?>
The above text now shows or hides along with the currency dropdown menu.
Tell staff why this post should be reviewed.