To anyone who has an issue with hidden wholesale in the zip file I uploaded..
Goto
/includes/init_includes/overrides/init_customer_auth.php and change line 162 from
PHP Code:
$custom_restriction= ' AND (p.products_price > 0 OR p.products_type = 4) ';
to
PHP Code:
$custom_restriction= ' AND (p.products_price > 0 OR p.products_type = WHATEVER CATEGORY YOU WANT TO HIDE) ';
or
PHP Code:
$custom_restriction= ' AND p.products_price > 0 ';
what that lil code does is allows you to not only restrict products with an original value of 0 but as well as restrict certain categories altogether...
As you see I have mine to restrict all products with products_type = 4 which is Documents Product
I hope this help some fellow zenners
Cheers!
Bookmarks