Fatal error: Uncaught Exception: Error: Table 'vaikutis_shop.multi_discount' doesn't exist<br />Error No: 1146<br />
SELECT COUNT(DISTINCT p.product_id) total
FROM `oc_product` p
LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.product_id)
LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.product_id)
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
LEFT JOIN `oc_manufacturer` pm ON (p.manufacturer_id = pm.manufacturer_id)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND ( EXISTS (SELECT product_id FROM `oc_product_special` ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))) OR EXISTS (SELECT `custom_discount_id`, `discount` FROM `multi_discount` WHERE JSON_CONTAINS(`customer_group_id`, '"1"', '$') AND `status` = '1' AND (`date_start` <= CURRENT_D in /home/vaikutis/domains/vaikutis.lt/public_html/system/library/db/mysqli.php on line 48