I started off by posting this in the wrong place... I'll try again... It was late.

Right now I'm trying everything to see if I can show the first wholesale level to all customers- logged in or not. I want everything else to work like it currently does but statically show the potential wholesale price if the customer were to become a wholesale customer. I'm thinking that since that price is entered into the database, we should be able to capture it and put it on the product info template- Am I thinking too simple?

I already know that my next goal will be to try and figure out if a person puts a certain item in their cart, they get moved to the wholesale pricing- much bigger issue that I haven't even begun to investigate yet!


Quote:
Originally Posted by ladyink View Post
Has anyone come up with a way to show both prices? I have this exact same situation and I feel like I'm so close and yet so far. The dual pricing displays is perfectly but only if they are assigned to the "group".

Nancy
I really am so close- at least I'd like to think I am. Here is what I've got and I think that my thought process is right- I just can't quite get it.

On my tpl_product_info_display.php I've got which is from dual pricing:

<!--bof Product Price block -->
<h2 id="retailwhole" class="productGeneral">

<?php
// base price

//***********************************************************************
//***DISPLAY NET RETAIL PRICE IF WHOLESALE CUSTOMER IS LOGGED ON
//***********************************************************************
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
echo '<span id="retailwhole">' . ' Retail Price: '.$one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == '1') ? TEXT_BASE_PRICE : '') . zen_get_products_display_retail_net_price((int)$_GET['products_id']).'</span><br /> ';
}
//***********************************************************************
//***END DISPLAY NET RETAIL PRICE IF WHOLESALE CUSTOMER IS LOGGED ON
//***********************************************************************

if ($show_onetime_charges_description == 'true') {
$one_time = ' <span> Your Price: ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
} else {
$one_time = '';
}
//******************************************************************************** *
//***Properly display price labeling when set to Whole sale and when not
//******************************************************************************** *
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' )
{
echo '<span id="whole">Member Price: ';
} else {
echo '<span id="retail">Retail Price: ';
}
echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
echo '</span>';
//******************************************************************************** *
//***END Properly display price labeling when set to Whole sale and when not
//******************************************************************************** *

?></h2>
<!--eof Product Price block -->

Right under <h2 id="retailwhole" class="productGeneral"> at the top of that code, I put:

<?php
echo '<span id="retailwhole">' . ' Retail Price: '.$one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == '1') ? TEXT_BASE_PRICE : '') . zen_get_products_display_retail_net_price((int)$_GET['products_id']).'</span><br /> ';
?>

Which only managed to duplicate the retail price. Since I'm not that great at php- yet, I understand what needs to happen- just not quite sure how to write it. I'm entering a Wholesale price on the product page in the admin- there has got to be a way to display that

I'm willing to try any suggestions~

Nancy