News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart - Undefined index on category view page

Started by SoTrue, April 06, 2017, 18:16:37 PM

Previous topic - Next topic

SoTrue

Jeez, I;m full of problems today here goes:

There is a category configured for wholesale customers, and its only on this category view that I am seeing this problem, the other categories are fine. The errors I'm getting are:

QuoteUndefined index: salesPriceTt in /home4/philly01/public_html/mydomain.com/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 323 Undefined index: priceWithoutTaxTt in /home4/philly01/public_html/mydomain.com/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 323 Undefined index: discountAmountTt in /home4/philly01/public_html/mydomain.com/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 323 Undefined index: taxAmountTt in /home4/philly01/public_html/mydomain.com/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 323

This refers to the following code:

//This is a fallback because we removed the "salesPriceWithDiscount" ;
        if(is_array($product_price)){
            $price = $product_price[$name] ;
        } else {
            $price = $product_price;
        }


I've switched to the Beez3 template and the problem is still there, so I don't believe it to be template related.

Any suggestions would be very warmly welcomed.

Regards
D