Error: syntax: select sql_no_cache k.id,k.ts,k.group_id,k.product_id,k.quantity,k.quantityType,k.notes,k.shipping,
((k.price/100)*0)+k.price AS price,
(((k.price/k.quantity)/100)*0)+(k.price/k.quantity) AS unitPrice,
((k.savings/100)*0)+k.savings AS savings,
g.name AS gname, p.generic_name, p.name AS pname
FROM store_packages k
LEFT JOIN store_groups g ON k.group_id = g.id
LEFT JOIN store_products p ON k.product_id = p.id
WHERE k.id IN (1547) -
Line: 149
File: /home/admin/web/online-health-pharm.com/public_html/include/classes/db.php