dreampho Posted January 19, 2006 Posted January 19, 2006 Hi, Can anyone tell me how I can have a drop down menu of the currencies in the left colum of my store? Thanks
osSea Posted January 19, 2006 Posted January 19, 2006 Hi. I have the currencies infoBox located under the shopping cart infoBox in the right column of my store. I've modified the default behaviour so it appears on all pages instead of disappearing during the checkout process. To do this, I moved the currencies infoBox code in /catalog/column_right.php from the bottom of the file to immediately below the shopping cart infoBox code at the top. My current code looks like this: /* ### HACK - Hide Shopping Cart require(DIR_WS_BOXES . 'shopping_cart.php'); */ if ($cart->count_contents() > 0) include(DIR_WS_BOXES . 'shopping_cart.php'); /* HACK ### */ /* ### HACK - include currencies box & change currency during checkout */ include(DIR_WS_BOXES . 'currencies.php'); /* HACK ### */ /* ### HACK - move 'Currencies' from bottom of column to top under shopping cart - replaced by above 'include' if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'currencies.php'); } HACK ### */ The 'Hide Shopping Cart' comments/code are another contribution I've installed that hides the shopping cart infoBox if the cart is empty. You can safely ignore that modification and place the currencies code wherever you like, including in /catalog/column_left.php. This currencies modification also changes the product/shipping/order totals on the fly when the currencies drop-down is changed, and works during the checkout procedure as well. Cheers. HTH.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.