FUNCTION doge_doodge.ss13_pl_calculateProductPriceForUser does not exist
SELECT `products`.*, `products_ext`.*, `vat`.`fVatValue`, `products`.`fPrice` AS `fCatalogPrice`, ss13_pl_calculateProductPriceForUser( NULL, `iProduct`, 0 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss13_pl_getProductCanBuyForUser ( NULL, `iProduct` ) ) AS `iCanBuy`, ss13_pl_getProductVisiblePriceForUser ( NULL, `iProduct` ) AS `iVisiblePrice` FROM `ss13_pl_products` AS `products` LEFT JOIN `ss13_pl_products_ext` AS `products_ext` USING ( `iProduct` ) LEFT JOIN `ss13_vat` AS `vat` USING( `iVat` ) WHERE `products`.`iProduct` = '2838' AND ss13_pl_getProductVisibleForUser ( NULL, `iProduct` ) >= 1 AND `products`.`iStatus` >= 1