Hi, can someone please point me to the code/file that 'turns off' the currencies dropdown menu as a user approaches checkout?
Thanks,
Scott.
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! :-)
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
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! :-)
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
The above text now shows or hides along with the currency dropdown menu.PHP Code:
<?php
// don't display on checkout page:
if (substr($current_page, 0, 8) != 'checkout') {
echo ('Im currencies text!');
} ?>
Donation made. Enjoy those donuts! :-)
Bookmarks