FUNCTION diana_al.ss81_pl_calculateProductPriceForUser does not exist
SELECT `products`.*, `products_ext`.*, `vat`.`fVatValue`, `products`.`fPrice` AS `fCatalogPrice`, ss81_pl_calculateProductPriceForUser( NULL, `iProduct`, 1 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss81_pl_getProductCanBuyForUser ( NULL, `iProduct` ) ) AS `iCanBuy`, ss81_pl_getProductVisiblePriceForUser ( NULL, `iProduct` ) AS `iVisiblePrice` FROM `ss81_pl_products` AS `products` LEFT JOIN `ss81_pl_products_ext` AS `products_ext` USING ( `iProduct` ) LEFT JOIN `ss81_vat` AS `vat` USING( `iVat` ) WHERE `products`.`iProduct` = '576' AND ss81_pl_getProductVisibleForUser ( NULL, `iProduct` ) >= 1 AND `products`.`iStatus` >= 1