Re: DUAL Pricing v2
Very glad to see the forums are back up and running. To follow up on my last post:
Original (from /includes/modules/YOUR_TEMPLATE/product_listing.php):
case 'PRODUCT_LIST_PRICE':
$lc_text = TABLE_HEADING_PRICE;
$lc_align = 'right' . (PRODUCTS_LIST_PRICE_WIDTH > 0 ? '" width="' . PRODUCTS_LIST_PRICE_WIDTH : '');
$zc_col_count_description++;
break;
Trying to take a bit of code out of /includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php from the Dual pricing add-on and blend with the /includes/modules/YOUR_TEMPLATE/product_listing.php. Think I should end up with something like below, but it's not giving me the results I'm after
case 'PRODUCT_LIST_PRICE':
$lc_text-> if ($_SESSION['customers_wholesale'] && $_SESSION['customers_wholesale'] != '0' ) {
echo '<span id="whole">Dealer: ';
} else {
echo '<span id="retail">MSRP: ';
}
;
$lc_align = 'right' . (PRODUCTS_LIST_PRICE_WIDTH > 0 ? '" width="' .
PRODUCTS_LIST_PRICE_WIDTH : '');
$zc_col_count_description++;
break;
ZC 1.5.5
Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3
Bookmarks