I have been trying all evening to get something similar to this to work. I would like to have it where everything that is on special you have to log in to see the price. Could this be accomplished by adding a case like the following?
PHP Code:
case ($_SESSION['customer_id'] == '' and $specials > '0'):
// no prices for specials unless logged in
return TEXT_LOGIN_FOR_PRICE_PRICE;
break;
If $specials equals the specials price, it should only pull it when there is a special on the particular product that is being viewed, right? Any direction or help would be appreciated.
Bookmarks