Thanks for your help.. you pointed me in the right direction and I was able to get it fixed!
I actually had two issues going on..
The first was that I somehow missed the file you mentioned to look at, header_php, I didn't update that file with your changes.
So, I did that, but when I did, I can into problem #2, which was I missed the database statement
PHP Code:
$_SESSION['customer_whole'] = $check_customer->fields['customers_whole'];
in the file which loaded the test variable into the SESSION array.
The reason I missed it was because I am running on v1.37 and have the master password contribution installed, so the changes were not easy to spot.
Luckily with your help, I was able to zone in on the file causing the issue.
So.. THANK YOU!!! I'm all fixed up now.
-Ed

Originally Posted by
madfastride
Ed, the table in the DB should be names "customers_whole" and the $_SESSION should be named "customer_whole" without the "s." This is just the difference in naming conventions Zen-Cart likes to keep plural table names so I stick to that for the DB. But in my writing it doesn't help me to stick to a plural $_SESSION name when I'm only referring to one customer. All right enough explanation there, but all in all the module will never work with the table named "customer_whole" change it back to "customers_whole."
Is the price changing according to the customer's login level? I'd check the includes/modules/pages/login/header_php.php file and see if it's uploaded correctly or properly saved. Next I'd log out of Zen Cart make sure your test customer is set to a whole sale level and then log back in and retest. Let me know if this helps.
Cheers,
Bookmarks