Re: DUAL Pricing v2
I am back on trying to find a solution for my needs. A previous post is quoted below. Basically I have Dual Pricing & respective fixes implemented and working fine. However I am really focused on the wholesale side. The retail prices listed are more of a service. When I put something on sale, it is to the wholesale customer which is not happening as stated in the quoted post. When I go to the admin and set up a sale price, i need it to apply to the wholesale price and only show when logged in as a wholesale customer. Any thoughts?
Thanks

Originally Posted by
idc1
The below is from edingtons fix:
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
$special_price = false;
} else {
----------------------------------------------------------------------
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
return false;
} else {
---------------------------------------------------------------------
The code works as follows:
When logged in - sales price does NOT display.
When not logged in - sales price displays.
I have yet to get the reverse to happen. I want:
When logged in - sales price displays.
When not logged in - sales price does not display.
How can I make this happen? If I change
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' )
to
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] = '0' )
That made the sales price display both when logged in and not logged in.
ZC 1.5.5
Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3
Bookmarks