Hi Weezee,
I am new to Zen Cart and not an expert but I checked your code and wherever you are calling the code to show pricing you need an if statement to determine if a wholesale customer is logged in.
Sorry I can't tell you where that is off the top of my head, but the resultant code looks like this in HTML:
Code:
<h2 id="productPrices" class="productGeneral">
<span id="retailwhole"> Retail Price: $49.95</span>
<br/>
<span id="retail">Retail Price: $49.95</span>
</h2>
As you can see it is showing the price twice, From your previous posts it looks like this file may be your key, and it looks like the IF statement already exists, did you modify the logic some how? The IF statement seems to be missing:
Code:
//***********************************************************************
//***DISPLAY NET RETAIL PRICE IF WHOLESALE CUSTOMER IS LOGGED ON
//***********************************************************************
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 /> ';
//********************************************************************
What did you change in this file?
Gary777
Bookmarks