Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 61Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 88Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 61Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 88Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 61Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 88Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Warning: Cannot modify header information - headers already sent by (output started at /var/www/www-root/data/www/atlantcabel.ru/system/framework.php:42) in /var/www/www-root/data/www/atlantcabel_storage/modification/catalog/controller/startup/startup.php on line 108Warning: Cannot modify header information - headers already sent by (output started at /var/www/www-root/data/www/atlantcabel.ru/system/framework.php:42) in /var/www/www-root/data/www/atlantcabel_storage/modification/catalog/controller/startup/startup.php on line 168Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 24Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/library/db/mysqli.php on line 32Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 61Notice: Undefined index: OCSESSID in /var/www/www-root/data/www/atlantcabel_storage/modification/system/engine/action.php on line 88 Купить прожекторы и светильники направленного света в интернет-магазине АтлантPRO24
Debug SQL and Controllers
0.7789008617SELECT p.product_id, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, coalesce((SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1), (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1), p.price) as realprice, p.quantity FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p 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) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '9' GROUP BY p.product_id HAVING realprice >=-0.5 ORDER BY (p.quantity>0) DESC, p.sort_order ASC, LCASE(pd.name) ASC LIMIT 900,15
0.4499621391UPDATE oc_product SET image ='' WHERE image IS NULL
0.0139219761SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/category' OR route = 'ru-ru')
0.0106480122SELECT `data` FROM `oc_session` WHERE `session_id` = '9793d8c682233c27c3400c4f01' AND `expire` > '2025-08-02 11:57:27'
0.0090568066SELECT * FROM oc_product_image WHERE product_id = '285250' ORDER BY sort_order ASC
0.0081059933DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 60 MINUTE)
0.0064659119SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0062258244SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0061299801SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0059370995SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0058078766SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0054571629SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362688' ORDER BY cp.level DESC, ptc.category_id ASC
0.0053520203UPDATE oc_category SET image ='' WHERE image IS NULL
0.0049240589SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0047369003SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362689' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0046398640SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362685' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0045838356SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362683' ORDER BY cp.level DESC, ptc.category_id ASC
0.0045580864SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362682' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0045480728SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362684' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0044970512SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362686' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0044012070SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362687' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0042040348SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0041589737SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0041110516SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '364937' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0040988922SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '329428' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0040891171SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0040781498SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0040690899SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0040318966SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0040099621SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039958954SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039889812SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039839745SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039739609SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039739609SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039639473SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039441586SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039389133SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039370060SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039288998SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039260387SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039241314SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039241314SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039200783SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039141178SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039019585SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0039000511SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038988590SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038940907SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038890839SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038859844SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038859844SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038850307SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038850307SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038840771SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038831234SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038819313SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038809776SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038790703SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038781166SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038769245SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038709641SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038700104SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038690567SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038688183SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038669109SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038669109SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038640499SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038580894SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038578510SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038578510SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038549900SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038478374SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038387775SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038380623SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038380623SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038371086SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038349628SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038349628SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038349628SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038330555SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038328171SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038301945SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038280487SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038199425SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038168430SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038158894SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038108826SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0038108826SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0038070679SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037949085SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037930012SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037870407SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037858486SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037848949SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037779808SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0037670135SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037550926SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0037479401SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '364936' ORDER BY cp.level DESC, ptc.category_id ASC
0.0037419796SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0036950111SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0036561489SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '329428' ORDER BY cp.level DESC, ptc.category_id ASC
0.0036499500SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0036160946SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0035951138SELECT category_id, image, parent_id FROM oc_category WHERE image=''
0.0035810471SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0035490990SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '364937' ORDER BY cp.level DESC, ptc.category_id ASC
0.0035431385SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0034968853SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0033838749SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362684' ORDER BY cp.level DESC, ptc.category_id ASC
0.0033729076SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0033209324SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0033001900SELECT category_id, image, parent_id FROM oc_category WHERE image=''
0.0032510757SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362689' ORDER BY cp.level DESC, ptc.category_id ASC
0.0032398701SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0032310486SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0032241344SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0031168461SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362687' ORDER BY cp.level DESC, ptc.category_id ASC
0.0030961037SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362683' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0030889511SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362686' ORDER BY cp.level DESC, ptc.category_id ASC
0.0030548573SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362682' ORDER BY cp.level DESC, ptc.category_id ASC
0.0030431747SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '362685' ORDER BY cp.level DESC, ptc.category_id ASC
0.0030431747SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0030229092SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0029420853SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0028860569SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0028591156SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0027620792SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '285250' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0025570393SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0024919510SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0024149418SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0023641586SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0023047924SELECT * FROM `oc_setting` WHERE store_id = '0' OR store_id = '0' ORDER BY store_id ASC
0.0022730827SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0021569729SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0021569729SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0021228790SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0020890236SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0020101070SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0019998550SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0019550323SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0019509792SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0018270016SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0017890930SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0017859936SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0016510487SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0016481876SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0016300678SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0015981197SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0015919209SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0015850067SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0015850067SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '364936' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0015749931SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0015490055SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '285250' ORDER BY cp.level DESC, ptc.category_id ASC
0.0015170574SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0014710426SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0014541149SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '364936' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0014200211SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0014159679SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '362688' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0013880730SELECT value FROM oc_setting WHERE store_id = '0' AND `key`='asc_jetcache_settings'
0.0013380051SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0013239384SELECT * FROM oc_layout_module WHERE layout_id = '3' AND `code` = 'ocfilter'
0.0012938976SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0012581348SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0011789799SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0010819435SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362687' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0010590553SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0010449886SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '364936' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0010390282SELECT * FROM oc_product_image WHERE product_id = '362686' ORDER BY sort_order ASC
0.0010368824SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0010309219SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '329428' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0010190010SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362686' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0010170937SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '329432' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0009930134SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '364937' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009670258SELECT count(*) as c FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='atlantcabel' AND TABLE_NAME='oc_category' AND COLUMN_NAME='noindex'
0.0009610653SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '329427' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009579659SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362689' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009438992SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '329432' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009138584SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362683' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009131432SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362685' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0009050369SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '329436' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0008978844SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks'
0.0008971691SELECT * FROM oc_ocfilter_setting WHERE `key` = 'placement_layout'
0.0008718967SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '329432' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0008678436SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0008671284DELETE FROM `oc_session` WHERE `expire` < '2025-08-02 11:57:27'
0.0008540154SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '329436' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0008440018SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362688' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0008180141SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price 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())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points FROM oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total FROM oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p 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 m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '329427' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
0.0007939339SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362682' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0007929802SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '362684' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0007841587SELECT * FROM oc_product_image WHERE product_id = '362687' ORDER BY sort_order ASC
0.0007770061SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007719994SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007560253SELECT * FROM oc_product_image WHERE product_id = '362682' ORDER BY sort_order ASC
0.0007460117SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007441044SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007419586SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007338524SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007140636SELECT * FROM oc_product_image WHERE product_id = '362689' ORDER BY sort_order ASC
0.0007128716SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0007121563SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '285250' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name
0.0007069111SELECT * FROM oc_product_image WHERE product_id = '362688' ORDER BY sort_order ASC
0.0007030964SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0007009506SELECT * FROM oc_product_image WHERE product_id = '362684' ORDER BY sort_order ASC
0.0007009506SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0006880760SELECT * FROM oc_product_image WHERE product_id = '362685' ORDER BY sort_order ASC
0.0006680489SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_wishlist'
0.0006649494SELECT * FROM oc_product_image WHERE product_id = '329427' ORDER BY sort_order ASC
0.0006630421SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0006618500SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0006530285SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0006501675SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0006420612SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0006380081SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362687' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0006330013SELECT * FROM oc_product_image WHERE product_id = '329436' ORDER BY sort_order ASC
0.0006160736SHOW TABLES LIKE 'oc_ocfilter_setting'
0.0006101131SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '364937' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0006091595SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0006020069SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google'
0.0005998611SELECT * FROM oc_product_image WHERE product_id = '362683' ORDER BY sort_order ASC
0.0005979538SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0005931854SELECT * FROM oc_product_image WHERE product_id = '364937' ORDER BY sort_order ASC
0.0005898476SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google'
0.0005881786SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '46') ORDER BY tr1.priority ASC
0.0005869865SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362686' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0005831718SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0005829334SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '329436' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0005590916SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0005509853SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '329428' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0005509853SELECT DISTINCT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.category_id = '9' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
0.0005500317SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0005311966SELECT * FROM oc_product_image WHERE product_id = '329432' ORDER BY sort_order ASC
0.0005240440SELECT * FROM oc_product_image WHERE product_id = '329428' ORDER BY sort_order ASC
0.0005218983SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '329427' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0005209446SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru')
0.0005109310SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362683' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0005071163SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0004959106SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0004940033SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '4' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
0.0004930496SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0004909039SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362684' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004861355SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362688' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004858971SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0004849434SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '285250' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004820824SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362689' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004749298SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru')
0.0004661083SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '46') ORDER BY tr1.priority ASC
0.0004608631SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0004520416SELECT * FROM `oc_event` WHERE `trigger` LIKE 'catalog/%' AND status = '1' ORDER BY `sort_order` ASC
0.0004479885SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362682' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004420280SELECT * FROM oc_store WHERE REPLACE(`ssl`, 'www.', '') = 'https://atlantpro24.ru/'
0.0004420280SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '362685' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name
0.0004382133SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1
0.0004379749SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '9' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
0.0004379749SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '329428'
0.0004348755SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '7' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
0.0004220009SELECT * FROM oc_product_image WHERE product_id = '364936' ORDER BY sort_order ASC
0.0004129410SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_nav_v_drop'
0.0004079342SELECT DISTINCT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.category_id = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
0.0004069805SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/language' OR route = 'ru-ru')
0.0004041195SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '')
0.0003981590SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '14' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
0.0003910065SELECT * FROM oc_category_to_layout WHERE category_id = '9' AND store_id = '0'
0.0003819466SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru')
0.0003790855SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362687'
0.0003640652SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_compare'
0.0003612041SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003609657SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_nav_cust'
0.0003581047SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362686'
0.0003569126SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003509521SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003490448SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003449917SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003440380SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '329432' ORDER BY cp.level DESC, ptc.category_id ASC
0.0003399849SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/currency' OR route = 'ru-ru')
0.0003368855SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/language'
0.0003349781SELECT * FROM oc_ocfilter_setting
0.0003321171SELECT * FROM oc_length_class mc LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id) WHERE mcd.language_id = '1'
0.0003290176SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003261566SELECT * FROM oc_currency
0.0003249645SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362683'
0.0003249645SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '329436' ORDER BY cp.level DESC, ptc.category_id ASC
0.0003211498SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003199577SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '329427' ORDER BY cp.level DESC, ptc.category_id ASC
0.0003190041SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback'
0.0003168583SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003159046SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003130436SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003130436SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003128052SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0003120899SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/cart' OR route = 'ru-ru')
0.0003108978SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header'
0.0003099442SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0003089905SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/compare' OR route = 'ru-ru')
0.0003058910SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/currency'
0.0003051758SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003039837SELECT * FROM oc_weight_class wc LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id) WHERE wcd.language_id = '1'
0.0003039837SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003030300SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003011227SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003011227SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0003008842SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002999306SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002989769SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002980232SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002980232SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362688'
0.0002980232SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002980232SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002958775SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_5'
0.0002951622SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1
0.0002951622SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002949238SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0002939701SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002939701SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002930164SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search' OR route = 'ru-ru')
0.0002930164SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362684'
0.0002920628SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002918243SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002911091SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002908707SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002901554SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002892017SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/sub_total' OR route = 'ru-ru')
0.0002880096SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002880096SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002870560SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002861023SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002849102SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002841949SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search'
0.0002841949SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002841949SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002830029SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002820492SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002820492SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002810955SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '329436'
0.0002810955SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362685'
0.0002808571SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002801418SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002801418SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002799034SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002799034SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002799034SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002789497SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002789497SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002779961SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002770424SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '364936'
0.0002760887SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362689'
0.0002751350SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002751350SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '8' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002748966SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002729893SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002729893SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '9' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002710819SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '329427'
0.0002708435SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '7' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1
0.0002708435SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002698898SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1
0.0002670288SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002651215SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_bottom'
0.0002648830SELECT * FROM oc_extension WHERE `type` = 'total'
0.0002639294SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '364937'
0.0002639294SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category_grid'
0.0002620220DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
0.0002610683SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1
0.0002608299SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '362682'
0.0002589226SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0002589226SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru')
0.0002589226SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/prostoresets' OR route = 'ru-ru')
0.0002589226SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1';
0.0002558231SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002529621SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/header' OR route = 'ru-ru')
0.0002510548SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002501011SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002498627SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'column_right' ORDER BY sort_order
0.0002491474SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category'
0.0002470016SELECT SUM(amount) AS total FROM oc_customer_transaction WHERE customer_id = '0'
0.0002460480SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru')
0.0002450943SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002419949SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'column_left' ORDER BY sort_order
0.0002379417SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form'
0.0002372265SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru')
0.0002350807SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_top'
0.0002338886SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '285250'
0.0002338886SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form'
0.0002329350SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_left'
0.0002310276SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002298355SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/credit' OR route = 'ru-ru')
0.0002291203SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1
0.0002269745SELECT * FROM oc_category_to_layout WHERE category_id = '9' AND store_id = '0'
0.0002260208SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '329432'
0.0002260208SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/cart'
0.0002241135SELECT * FROM oc_extension WHERE `type` = 'analytics'
0.0002231598SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru')
0.0002229214SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002229214SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '9793d8c682233c27c3400c4f01'
0.0002181530SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/total' OR route = 'ru-ru')
0.0002131462SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_right'
0.0002121925SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'content_top' ORDER BY sort_order
0.0002069473SELECT * FROM oc_category_to_layout WHERE category_id = '9' AND store_id = '0'
0.0002059937SELECT * FROM oc_category_to_layout WHERE category_id = '9' AND store_id = '0'
0.0002000332SET time_zone = '+00:00'
0.0002000332SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'content_bottom' ORDER BY sort_order
0.0001990795SET time_zone = '+00:00'
0.0001950264SELECT * FROM oc_category_to_layout WHERE category_id = '9' AND store_id = '0'
0.0001568794SET SQL_BIG_SELECTS = 1

event

0.0297722815event/translation (19 action)
0.0204331876event/language (43 action)
0.0189070703event/theme (19 action)

startup

5.9485700130startup/router (1 action)
0.0253729820startup/startup (1 action)
0.0112459660startup/session (1 action)
0.0080950260startup/event (1 action)
0.0004489422startup/error (1 action)
0.0003910065startup/seo_url (1 action)
0.0003669262startup/maintenance (1 action)

extension

0.0066051482extension/module/ocfilter (19 action)
0.0047979355extension/module/callback (1 action)
0.0030667781extension/advertise/google (2 action)
0.0003077984extension/analytics/yandex_metrika (1 action)

common

0.3937819004common/header (1 action)
0.0264258385common/cart (1 action)
0.0075089931common/language (1 action)
0.0064699650common/column_left (1 action)
0.0064160824common/currency (1 action)
0.0053989887common/search (1 action)
0.0050840378common/content_top (1 action)
0.0050821304common/content_bottom (1 action)
0.0050640106common/column_right (1 action)

product

5.9468140602product/category (1 action)