This is a discussion on How to hide shopping cart when empty? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi All, I understand that to hide the shopping cart when its empty that I need to add the following ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, I understand that to hide the shopping cart when its empty that I need to add the following code: if ($cart->count_contents() > 0) include(DIR_WS_BOXES . 'shopping_cart.php'); However, I'm not sure which page I need to modify. With the dynamic infoboxes, its not in my column_right.php file. Can anyone steer me to the right file? Thanks Mike |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| You would actually add it to the shopping_cart.php file in the /includes/boxes directory, but you would remove the include and just enclose the entire box in braces. PHP Code:
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
mjfontec (03-21-2007) | ||
|
#3
| |||
| |||
| That worked. Thanks Michael! Last edited by mjfontec; 03-21-2007 at 09:01 PM. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| osCmax 2.0, new install empty cart | barrowj | osCMax v2 Installation issues | 7 | 06-23-2005 09:51 AM |
| shopping cart empty error | jasonabc | osCommerce 2.2 Modification Help | 1 | 12-18-2004 11:06 PM |
| Empty shopping cart after clicking Buy Now Button | Walter | osCommerce 2.2 Modification Help | 0 | 05-03-2004 11:02 AM |
| Empty cart on secure checkout | fragzilla | osCommerce 2.2 Modification Help | 3 | 09-17-2003 02:35 PM |
| Shopping cart won't empty | judoka | osCommerce 2.2 Modification Help | 2 | 07-14-2003 02:07 PM |