I'm using the scrolling specials sidebox to show 4 items on special (static no marque) I want the sidebox to constantly stay visible even when you are viewing another item on special. Currently the side box is removed on the product info page?
I'm using the scrolling specials sidebox to show 4 items on special (static no marque) I want the sidebox to constantly stay visible even when you are viewing another item on special. Currently the side box is removed on the product info page?
Over-rise includes/modules/sideboxes/specials.php and in your over-ride file change thisto thisPHP Code:$show_specials= false;
if (isset($_GET['products_id'])) {
$show_specials= false;
} else {
$show_specials= true;
}
PHP Code:$show_specials= true;
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Cheers kuroi, sorted - just what I needed.......![]()
I am trying to do the exact same thing with my shopping cart sidebox. I want it to always show. I tried changing modules/sideboxes/shopping_cart.php like you mention above, but it is not working. Any ideas? Am I changing the wrong file?
Here is the code:
switch (true) {
case (SHOW_SHOPPING_CART_BOX_STATUS == '0'):
$show_shopping_cart_box = true;
break;
case (SHOW_SHOPPING_CART_BOX_STATUS == '1'):
if ($_SESSION['cart']->count_contents() > 0 || (isset($_SESSION['customer_id']) && zen_user_has_gv_account($_SESSION['customer_id']) > 0)) {
$show_shopping_cart_box = true;
} else {
$show_shopping_cart_box = true;
}
break;
case (SHOW_SHOPPING_CART_BOX_STATUS == '2'):
if ( ( (isset($_SESSION['cart']) && $_SESSION['cart']->count_contents() > 0) || (isset($_SESSION['customer_id']) && zen_user_has_gv_account($_SESSION['customer_id']) > 0) ) && ($_GET['main_page'] != FILENAME_SHOPPING_CART) ) {
$show_shopping_cart_box = true;
} else {
$show_shopping_cart_box = true;
}
break;
Newest Site: ChargerPros - Stuff4Toys