Thanks for the screenshot 100asa.
Your example uses ZenCart's default in Admin->Catalog->Specials
It applies a 'special price' to individual products.
Here's the filter you will need to hide the 'special price' entirely from wholesale customers:
includes/functions/functions_prices.php
replace line 25 - 31:
Code:
$specials = $db->Execute("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$product_id . "' and status='1'");
if ($specials->RecordCount() > 0) {
// if ($product->fields['products_priced_by_attribute'] == 1) {
$special_price = $specials->fields['specials_new_products_price'];
} else {
$special_price = false;
}
with this:
Code:
// bof Twitch Wholesale - Hide ZC Special Price from wholesale customer
if ($_SESSION['customers_wholesale']=='1') {
// Do not show wholesale customers the special price on any product
} else {
$specials = $db->Execute("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$product_id . "' and status='1'");
if ($specials->RecordCount() > 0) {
// if ($product->fields['products_priced_by_attribute'] == 1) {
$special_price = $specials->fields['specials_new_products_price'];
} else {
$special_price = false;
}
}
// eof Twitch Wholesale - Hide ZC Special Price from wholesale customer
Here's the before and after image tested on ZenCart v1.51 with Twitch Wholesale + Attributes installed:

Guests and Retail Customers will see the 'special price' as usual. There are no changes to the Admin.