Author Topic: Notice: Undefined property: stdClass::$product_price in...  (Read 1983 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3469
  • using Matomo instead of Google Analytics
Notice: Undefined property: stdClass::$product_price in...
« on: November 24, 2011, 19:19:52 pm »
J1.7.3/VM2 SVN revision 4808

In my BE 'Product List', VMDebug displays the following notices:

Notice: Undefined property: stdClass::$product_price in ...\administrator\components\com_virtuemart\views\product\view.html.php on line 291
Notice: Undefined property: stdClass::$product_currency in ...\administrator\components\com_virtuemart\views\product\view.html.php on line 291

Anything wrong with line 291? - which is:
Code: [Select]
$product->product_price_display = $currencyDisplay->priceDisplay($product->product_price,(int)$product->product_currency,true);
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: Notice: Undefined property: stdClass::$product_price in...
« Reply #1 on: November 27, 2011, 17:37:13 pm »
I see some case differences there

in $currencyDisplay

I dont know if thats supposed to be that way or not
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)