VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: tweetie on January 02, 2014, 19:42:13 PM

Title: Price does not show when logged in
Post by: tweetie on January 02, 2014, 19:42:13 PM
Hi, I'm using VM 2.0.26a

On the live server (PHP 5.4.4) the prices display to anonymous shoppers but do not display anywhere once logged in. On my development server (PHP 5.4.16) there is no problem.

When I turn of PHP error messages the following error occurs on the cart page of the live serve but not the development server:
QuoteStrict Standards: Accessing static property VirtueMartCart::$_cart as non static in ./components/com_virtuemart/helpers/cart.php on line 1506

Please advise.
Title: Re: Price does not show when logged in
Post by: jenkinhill on January 02, 2014, 21:03:19 PM
Standards message is irrelevant. Sounds like incorrect use of shopper groups. Unless you need shopper group specific pricing or product display then leave the shopper group entry for each product empty -  ie Available for all
Title: SOLVED: Price does not show when logged in
Post by: tweetie on January 03, 2014, 08:22:03 AM
I found the problem. For some reason the default shopper group was overriding the price display settings and all were turned off!