SELECT value FROM oc_setting WHERE store_id = '0' AND `key`='config_seo_url_type';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '');

SELECT * FROM oc_extension WHERE `type` = 'openbay';

SELECT `data` FROM `oc_session` WHERE session_id = '5875fefc6ed17642335c498baf' AND expire > 1773406585;

SELECT * FROM oc_store WHERE REPLACE(`ssl`, 'www.', '') = 'https://tdchiz.ru/';

SELECT * FROM `oc_setting` WHERE store_id = '0' OR store_id = '0' ORDER BY store_id ASC;

SELECT * FROM oc_currency;

SELECT 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 = '0') ORDER BY tr1.priority ASC;

SELECT 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 = '0') ORDER BY tr1.priority ASC;

SELECT * 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';

SELECT * 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';

DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR);

SELECT * FROM oc_extension WHERE `type` = 'openbay';

SELECT * FROM `oc_event` WHERE `trigger` LIKE 'catalog/%' AND status = '1' ORDER BY `sort_order` ASC;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `short_link` = 'pokritie_oksidirovannoe' LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `short_link` = 'material_stal-45' LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `short_link` = 'razmer_13' LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/category' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/product' OR route = 'ru-ru');

select * from oc_filter_vier_hl f1 left join oc_filter_vier_hl_lang f2 on(f1.id=f2.id) where f1.short_link='razmer_13';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '642' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * 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.parent_id = '0' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' AND c.tag_cat_id = '0' ORDER BY c.sort_order, LCASE(cd.name) ;

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

select * from oc_category where tag_cat_id!=0 and category_id=644;

SELECT min_price, tax_class_id FROM oc_category_count WHERE category_id = 644;

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru');

SELECT * 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.parent_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' AND c.tag_cat_id = '0' ORDER BY c.sort_order, LCASE(cd.name) ;

SELECT p.tax_class_id FROM oc_product p LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p2c.category_id = '644' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' ORDER BY p.tax_class_id DESC LIMIT 20;

SELECT `layout_id` FROM `oc_category_to_layout` WHERE `category_id` = 644 AND `store_id` = 0 LIMIT 1;

SELECT `layout_id` FROM `oc_layout_route` WHERE 'product/category' LIKE `route` AND `store_id` = 0 ORDER BY `route` DESC LIMIT 1;

SELECT `layout_module_id` FROM `oc_layout_module` WHERE `layout_id` = 27 AND `code` = 'filter_vier' LIMIT 1;

SELECT COUNT(DISTINCT p.`product_id`) AS `total` FROM `oc_product` p JOIN `oc_product_to_category` p2c ON (p.`product_id` = p2c.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p2c.`category_id` = 644 AND p.`status` = 1 AND p2s.`store_id` = 0 ;

SELECT p.`product_id` FROM `oc_product` p JOIN `oc_product_to_category` p2c ON (p.`product_id` = p2c.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) LEFT JOIN `oc_product_special` AS psp ON psp.`product_id` = p.`product_id` WHERE p2c.`category_id` = 644 AND p.`status` = 1 AND p2s.`store_id` = 0 GROUP BY p.`product_id` ORDER BY CASE WHEN psp.product_id IS NULL THEN 0 ELSE 1 END DESC, IF(p.`quantity` = '0', 1, 0), IF(p.`price` = '0', 1, 0), CASE WHEN p.`manufacturer_id` = 13 THEN 50 WHEN p.`manufacturer_id` = 15 THEN 45 WHEN p.`manufacturer_id` = 14 THEN 40 WHEN p.`manufacturer_id` = 12 THEN 30 WHEN p.`manufacturer_id` = 32 THEN 20 WHEN p.`manufacturer_id` = 29 THEN 10 WHEN p.`manufacturer_id` = 41 THEN 5 WHEN p.`manufacturer_id` IS NOT NULL THEN 3 ELSE 0 END DESC, p.`price` ASC, p.`sort_order` ASC LIMIT 0,36;

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5341' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

select * from oc_filter_vier_hl f1 left join oc_filter_vier_hl_lang f2 on(f1.id=f2.id) where f1.short_link='';

SELECT * 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.parent_id = '642' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' AND c.tag_cat_id = '0' ORDER BY c.sort_order, LCASE(cd.name) ;

SELECT p.product_id, p.price, (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 FROM oc_product_to_category p2c 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 p2c.category_id = '644' GROUP BY p.product_id ORDER BY (p.product_id IN (SELECT product_id FROM oc_product_special)) DESC, IF(p.`quantity` = '0', 1, 0), IF(p.`price` = '0', 1, 0), CASE WHEN p.`manufacturer_id` = 13 THEN 50 WHEN p.`manufacturer_id` = 15 THEN 45 WHEN p.`manufacturer_id` = 14 THEN 40 WHEN p.`manufacturer_id` = 12 THEN 30 WHEN p.`manufacturer_id` = 32 THEN 20 WHEN p.`manufacturer_id` = 29 THEN 10 WHEN p.`manufacturer_id` = 41 THEN 5 WHEN p.`manufacturer_id` IS NOT NULL THEN 3 ELSE 0 END DESC, p.`price` ASC, p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,35;

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '3033' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5336' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5338' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5339' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5342' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5343' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '7438' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5337' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5340' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5341' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '7439' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5344' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '7441' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '7440' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5345' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '7442' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140899' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140900' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140901' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140902' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140903' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140904' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140905' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140897' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '140898' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '5346' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '103108' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '15899' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '8996' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '68593' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '68969' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '68594' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '68595' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '68596' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT DISTINCT *, (SELECT AVG(r.rating) FROM oc_review r WHERE r.product_id = p.product_id AND r.status = '1') 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, 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, 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 = '69595' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0';

SELECT count(*) as c FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='opentdchiz' AND TABLE_NAME='oc_category' AND COLUMN_NAME='noindex';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '3033';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '3033' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '3033' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '3033';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5336';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5336' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5336' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5336' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5336';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5338';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5338' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5338' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5338' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5338';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5339';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5339' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5339' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5339' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5339';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5342';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5342' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5342' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5342' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5342';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5343';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5343' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5343' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5343' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5343';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '7438';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7438' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7438' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7438' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '7438';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5337';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5337' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5337' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5337' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5337';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5340';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5340' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5340' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5340' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5340';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5341';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5341';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '7439';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7439' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7439' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7439' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '7439';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5344';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5344' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5344' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5344' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5344';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '7441';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7441' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7441' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7441' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '7441';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '7440';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7440' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7440' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7440' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '7440';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5345';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5345' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5345' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5345' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5345';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '7442';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7442' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7442' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '7442' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '7442';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140899';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140899' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140899' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140899' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140899';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140900';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140900' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140900' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140900' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140900';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140901';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140901' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140901' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140901' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140901';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140902';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140902' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140902' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140902' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140902';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140903';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140903' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140903' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140903' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140903';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140904';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140904' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140904' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140904' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140904';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140905';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140905' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140905' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140905' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140905';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140897';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140897' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140897' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140897' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140897';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '140898';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140898' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140898' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '140898' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '140898';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5346';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5346' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5346' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5346' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5346';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '103108';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '103108' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT * FROM oc_product_to_category WHERE product_id = '103108';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '647' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '15899';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '15899' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '15899' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '15899' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '15899';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '8996';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '8996' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '8996' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '8996' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '8996';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '68593';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68593' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68593' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68593' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '68593';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '68969';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68969' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68969' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '68969';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '68594';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68594' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68594' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68594' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '68594';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '68595';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68595' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68595' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68595' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '68595';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '68596';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68596' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68596' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '68596' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '68596';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '69595';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '69595' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '69595' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '69595';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '5341';

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND a.attribute_group_id = '7' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT 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.attribute_id NOT IN (30,31,32,88) AND pa.product_id = '5341' AND a.attribute_group_id = '9' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name;

SELECT * FROM oc_product_to_category WHERE product_id = '5341';

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '646' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/tags' OR route = 'ru-ru');

SELECT *, IF(td.name_short IS NULL or td.name_short = '', td.name, td.name_short) as name, (select category_id from oc_tag_to_category where tag_id = t.tag_id) as category_id, (select count(*) from oc_product_to_tag where tag_id = t.tag_id) as kol FROM oc_tag t INNER JOIN oc_tag_description td ON (t.tag_id = td.tag_id) INNER JOIN oc_tag_to_store ts ON (t.tag_id = ts.tag_id) INNER JOIN oc_tag_to_category ttc ON (ttc.tag_id = t.tag_id) WHERE td.language_id = '1' AND ts.store_id = '0' AND t.status = '1' AND ttc.category_id = '644' group by t.tag_id ORDER BY kol desc;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category_grid';

SELECT * FROM oc_category_links WHERE category_id = '644' ORDER BY sort_order ASC;

select * from oc_filter_vier_hl where route='category_id' and route_id=644 GROUP BY `short_link`;

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'column_left' ORDER BY sort_order;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `route` = 'category_id' AND `route_id` = 644 ;

SELECT p.`product_id` FROM `oc_product` p JOIN `oc_product_to_category` p2c ON (p.`product_id` = p2c.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p2c.`category_id` = 644 AND p.`status` = 1 AND p2s.`store_id` = 0 GROUP BY p.`product_id` ;

SELECT p.`manufacturer_id`, 1 AS total FROM `oc_product` p JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY p.`manufacturer_id`;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_berger' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_bosch' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_cnic' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_fit' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_garwin-industrial' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_gedore' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_hammer' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_hortz' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_insize' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_jtc' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_king-tony' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_koruda' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kraftool' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_norgau' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_partner' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_shanghai-joye' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_sitomo' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_belak' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_ik' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kzsmi' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kobalt' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kobrin' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_niz' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_praktika' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_chk' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_enkor' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_enkor-iv' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (23,24,25,26,28,32,33,34,35,36,37,38,39,40,41,42,43,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,83,85,86,87) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (44) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (48) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (27) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~cr-mo/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crmo/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crmov/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crv/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~konstrukcionnaya-legirovannaya-stal/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~stal-40h/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~omednennoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_ocinkovannoe~oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~poroshkovoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~fosfatirovanie/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~hromirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_7~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_8~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_9~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_10~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~11' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_12~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_14~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_15~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_16~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_17~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_18~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_19~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_20~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~21' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_22~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~23' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_24~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_25~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~26' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~27' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_28~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_30~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_32~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_33~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~34' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_36~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_38~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~41' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_46~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_50~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_55~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_60~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_65~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_70~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_75~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_80~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~85' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~90' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~95' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_100~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~105' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_110~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~120' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~130' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_140~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/tip_pryamoy' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_20' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_22' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_23' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_25' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_27' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_28' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_29' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_30' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_31' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_32' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_33' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_34' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_35' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_36' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_38' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_39' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_40' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_41' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_42' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_45' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_46' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_48' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_49' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_50' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_51' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_55' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_56' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_60' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_63' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_65' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_68' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_70' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_72' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_75' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_77' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_80' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_83' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_85' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_87' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_88' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_95' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_100' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_103' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_105' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_107' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_110' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_112' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_115' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_120' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_125' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_130' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_148' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_150' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_160' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_200' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_205' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_250' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_260' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_300' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_400' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_455' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_480' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_490' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_500' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_625' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT MIN( IF(((ps.`customer_group_id` = 1) AND (ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2026-03-13') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2026-03-13')), ps.`price`, IF(((pd2.`customer_group_id` = 1) AND (pd2.`date_start` = '0000-00-00' OR pd2.`date_start` <= '2026-03-13') AND (pd2.`date_end` = '0000-00-00' OR pd2.`date_end` > '2026-03-13')) AND (pd2.`quantity` = 1), pd2.`price`, p.`price`)) ) AS price_min, MAX( IF(((ps.`customer_group_id` = 1) AND (ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2026-03-13') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2026-03-13')), ps.`price`, IF(((pd2.`customer_group_id` = 1) AND (pd2.`date_start` = '0000-00-00' OR pd2.`date_start` <= '2026-03-13') AND (pd2.`date_end` = '0000-00-00' OR pd2.`date_end` > '2026-03-13')) AND (pd2.`quantity` = 1), pd2.`price`, p.`price`)) ) AS price_max FROM `oc_product` p LEFT JOIN `oc_product_special` AS ps ON (p.`product_id` = ps.`product_id` AND ps.`customer_group_id` = 1) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) LEFT JOIN `oc_product_discount` AS pd2 ON (p.`product_id` = pd2.`product_id` AND pd2.`customer_group_id` = 1) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND p.`status` = 1 AND p2s.`store_id` = 0 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/cena_slider_prs' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/filter_vier/filter_vier';

SELECT * FROM oc_module WHERE module_id = '71';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/prostore_blog_mod' OR route = 'ru-ru');

SELECT * FROM oc_prostore_blog_related_cat pr LEFT JOIN oc_prostore_blog p ON (pr.blog_id = p.blog_id) LEFT JOIN oc_prostore_blog_description pbd ON (p.blog_id = pbd.blog_id) LEFT JOIN oc_prostore_blog_to_store p2s ON (p.blog_id = p2s.blog_id) WHERE pr.related_id = '644' AND p.status = '1' AND p2s.store_id = '0' AND pbd.language_id = '1' ORDER BY p.date_added DESC LIMIT 6;

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/prostore_blog_mod_column';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_left';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'column_right' ORDER BY sort_order;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_right';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'content_top' ORDER BY sort_order;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_top';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'content_bottom' ORDER BY sort_order;

SELECT * FROM oc_module WHERE module_id = '75';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/prostore_reviews' OR route = 'ru-ru');

SELECT `keyword` FROM `oc_seo_url` WHERE `query` = CONCAT('category_id=',644) AND store_id = 0;

SELECT DISTINCT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added, re.text_plus, re.text_minus, re.count_bad, re.count_good FROM oc_review r LEFT JOIN oc_product p ON (r.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_review_extls re ON (r.review_id = re.review_id) LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '1' AND p2c.category_id = '644' ORDER BY r.date_added DESC LIMIT 0,6;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/prostore_reviews';

SELECT * FROM oc_module WHERE module_id = '69';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/featured' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_bottom';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/footer' OR route = 'ru-ru');

SELECT * 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 id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC;

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT 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 = '6' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '44' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '43' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '45' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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';

SELECT 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';

SELECT 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 = '31' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '32' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '33' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '12' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '11' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoresoclinks';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks';

SELECT * FROM oc_country WHERE country_id = '176' AND status = '1';

SELECT 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 = '5' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback';

SELECT 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 = '41' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/footer';

SELECT * 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 id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC;

SELECT * FROM oc_extension WHERE `type` = 'analytics';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/header' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/compare' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_wishlist';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_compare';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/language' OR route = 'ru-ru');

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/language';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/currency' OR route = 'ru-ru');

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/currency';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search_mob' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search_mob';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/cart' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_extension WHERE `type` = 'total';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/sub_total' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/total' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/cart';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_7';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'column_left' ORDER BY sort_order;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `route` = 'category_id' AND `route_id` = 644 ;

SELECT p.`product_id` FROM `oc_product` p JOIN `oc_product_to_category` p2c ON (p.`product_id` = p2c.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p2c.`category_id` = 644 AND p.`status` = 1 AND p2s.`store_id` = 0 GROUP BY p.`product_id` ;

SELECT p.`manufacturer_id`, 1 AS total FROM `oc_product` p JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY p.`manufacturer_id`;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_berger' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_bosch' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_cnic' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_fit' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_garwin-industrial' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_gedore' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_hammer' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_hortz' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_insize' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_jtc' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_king-tony' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_koruda' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kraftool' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_norgau' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_partner' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_shanghai-joye' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_sitomo' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_belak' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_ik' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kzsmi' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kobalt' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_kobrin' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_niz' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_praktika' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_chk' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_enkor' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_13/pokritie_oksidirovannoe/material_stal-45/proizvoditeli_enkor-iv' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (23,24,25,26,28,32,33,34,35,36,37,38,39,40,41,42,43,45,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,83,85,86,87) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (44) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (48) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT afv.`attr_text`, 1 AS total FROM `oc_attribute_filter_vier` afv JOIN `oc_product` p ON (afv.`product_id` = p.`product_id`) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (afv.`product_id` = tafv.`product_id`) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND afv.`attribute_id` IN (27) AND p2s.`store_id` = 0 AND p.`status` = 1 GROUP BY `attr_text`;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~cr-mo/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crmo/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crmov/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~crv/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~konstrukcionnaya-legirovannaya-stal/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45~stal-40h/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~omednennoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_ocinkovannoe~oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~poroshkovoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~fosfatirovanie/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe~hromirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_7~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_8~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_9~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_10~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~11' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_12~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_14~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_15~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_16~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_17~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_18~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_19~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_20~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~21' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_22~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~23' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_24~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_25~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~26' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~27' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_28~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_30~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_32~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_33~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~34' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_36~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_38~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~41' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_46~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_50~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_55~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_60~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_65~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_70~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_75~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_80~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~85' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~90' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~95' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_100~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~105' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_110~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~120' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13~130' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_140~13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/tip_pryamoy' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_20' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_22' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_23' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_25' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_27' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_28' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_29' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_30' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_31' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_32' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_33' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_34' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_35' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_36' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_38' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_39' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_40' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_41' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_42' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_45' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_46' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_48' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_49' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_50' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_51' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_55' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_56' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_60' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_63' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_65' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_68' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_70' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_72' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_75' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_77' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_80' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_83' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_85' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_87' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_88' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_95' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_100' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_103' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_105' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_107' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_110' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_112' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_115' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_120' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_125' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_130' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_148' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_150' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_160' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_200' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_205' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_250' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_260' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_300' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_400' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_455' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_480' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_490' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_500' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/dlina--mm_625' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT MIN( IF(((ps.`customer_group_id` = 1) AND (ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2026-03-13') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2026-03-13')), ps.`price`, IF(((pd2.`customer_group_id` = 1) AND (pd2.`date_start` = '0000-00-00' OR pd2.`date_start` <= '2026-03-13') AND (pd2.`date_end` = '0000-00-00' OR pd2.`date_end` > '2026-03-13')) AND (pd2.`quantity` = 1), pd2.`price`, p.`price`)) ) AS price_min, MAX( IF(((ps.`customer_group_id` = 1) AND (ps.`date_start` = '0000-00-00' OR ps.`date_start` <= '2026-03-13') AND (ps.`date_end` = '0000-00-00' OR ps.`date_end` > '2026-03-13')), ps.`price`, IF(((pd2.`customer_group_id` = 1) AND (pd2.`date_start` = '0000-00-00' OR pd2.`date_start` <= '2026-03-13') AND (pd2.`date_end` = '0000-00-00' OR pd2.`date_end` > '2026-03-13')) AND (pd2.`quantity` = 1), pd2.`price`, p.`price`)) ) AS price_max FROM `oc_product` p LEFT JOIN `oc_product_special` AS ps ON (p.`product_id` = ps.`product_id` AND ps.`customer_group_id` = 1) LEFT JOIN `oc_product_to_store` p2s ON (p.`product_id` = p2s.`product_id`) LEFT JOIN `oc_product_discount` AS pd2 ON (p.`product_id` = pd2.`product_id` AND pd2.`customer_group_id` = 1) JOIN (SELECT DISTINCT afv.`product_id` FROM `oc_attribute_filter_vier` afv STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 48 AND afv.`attr_text` IN ('48_7') ) tafv1 ON (afv.`product_id` = tafv1.`product_id`) STRAIGHT_JOIN (SELECT afv.`product_id` FROM `oc_attribute_filter_vier` afv WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_306') ) tafv2 ON (afv.`product_id` = tafv2.`product_id`) WHERE afv.`attribute_id` = 44 AND afv.`attr_text` IN ('44_2') ) tafv ON (p.`product_id` = tafv.`product_id`) WHERE p.`product_id` IN (SELECT p2c.`product_id` FROM `oc_product_to_category` p2c WHERE p.`product_id` = p2c.`product_id` AND p2c.`category_id` IN (644)) AND p.`status` = 1 AND p2s.`store_id` = 0 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13/cena_slider_prs' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT tr.`rate` FROM `oc_tax_rate_to_customer_group` trtcg LEFT JOIN `oc_tax_rate` tr USING(`tax_rate_id`) LEFT JOIN `oc_tax_rule` tr1 USING(`tax_rate_id`) WHERE trtcg.`customer_group_id` = 1 AND tr.`type` = 'p' ORDER BY tr1.`priority` ASC LIMIT 1 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/filter_vier/filter_vier';

SELECT * FROM oc_module WHERE module_id = '71';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/prostore_blog_mod' OR route = 'ru-ru');

SELECT * FROM oc_prostore_blog_related_cat pr LEFT JOIN oc_prostore_blog p ON (pr.blog_id = p.blog_id) LEFT JOIN oc_prostore_blog_description pbd ON (p.blog_id = pbd.blog_id) LEFT JOIN oc_prostore_blog_to_store p2s ON (p.blog_id = p2s.blog_id) WHERE pr.related_id = '644' AND p.status = '1' AND p2s.store_id = '0' AND pbd.language_id = '1' ORDER BY p.date_added DESC LIMIT 6;

SELECT 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) LEFT JOIN oc_category_reviews cr ON (c.category_id = cr.category_id) WHERE c.category_id = '644' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/prostore_blog_mod_column';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_left';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'column_right' ORDER BY sort_order;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_right';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'content_top' ORDER BY sort_order;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_top';

SELECT * FROM oc_category_to_layout WHERE category_id = '644' AND store_id = '0';

SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1;

SELECT * FROM oc_layout_module WHERE layout_id = '27' AND position = 'content_bottom' ORDER BY sort_order;

SELECT * FROM oc_module WHERE module_id = '75';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/prostore_reviews' OR route = 'ru-ru');

SELECT `keyword` FROM `oc_seo_url` WHERE `query` = CONCAT('category_id=',644) AND store_id = 0;

SELECT DISTINCT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added, re.text_plus, re.text_minus, re.count_bad, re.count_good FROM oc_review r LEFT JOIN oc_product p ON (r.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_review_extls re ON (r.review_id = re.review_id) LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '1' AND p2c.category_id = '644' ORDER BY r.date_added DESC LIMIT 0,6;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/prostore_reviews';

SELECT * FROM oc_module WHERE module_id = '69';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/featured' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_bottom';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/footer' OR route = 'ru-ru');

SELECT * 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 id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC;

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT 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 = '6' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '44' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '43' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '45' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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';

SELECT 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';

SELECT 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 = '31' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '32' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '33' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '12' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT 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 = '11' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoresoclinks';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks';

SELECT * FROM oc_country WHERE country_id = '176' AND status = '1';

SELECT 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 = '5' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback';

SELECT 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 = '41' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/footer';

SELECT * 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 id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC;

SELECT * FROM oc_extension WHERE `type` = 'analytics';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/header' OR route = 'ru-ru');

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/compare' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_wishlist';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_compare';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/language' OR route = 'ru-ru');

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/language';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/currency' OR route = 'ru-ru');

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'pokritie_oksidirovannoe/material_stal-45/razmer_13' AND `route` = 'category_id' AND `route_id` = 644 LIMIT 1;

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/currency';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search_mob' OR route = 'ru-ru');

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search_mob';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/cart' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_extension WHERE `type` = 'total';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/sub_total' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/total' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru');

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '5875fefc6ed17642335c498baf';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/cart';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_7';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header';

SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google';

SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category12';

Головки сменные и принадлежности купить REPLACE INTO `oc_session` SET session_id = '5875fefc6ed17642335c498baf', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\",\"view\":\"grid-4\"}', expire = '2026-03-13 13:20:33';