Design, that looks super promising! Only, I wasn't able to get it working.
I wasn't sure where/how to insert it. This is what I tried:
Code:
<?php
if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
// global disable of column_right
$flag_disable_right = true;
}
if($_SESSION['cart']->count_contents() > 0 || (isset($_SESSION['customer_id']) && zen_user_has_gv_account($_SESSION['customer_id']) > 0)) { $flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<div class="<?php echo $box_width_right_new; ?>">
<?php
/**
* prepares and displays right column sideboxes
*
*/
require(DIR_WS_MODULES . zen_get_module_directory('column_right.php'));
?>
Maybe I should put it higher?
Bookmarks