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 = 'e8ee205405edfd72103221a0fd' AND expire > 1773406634;

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` = 'razmer_450x32x1-6x4' LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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_450x32x1-6x4';

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 = '989' 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 = '998' 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=998;

SELECT min_price, tax_class_id FROM oc_category_count WHERE category_id = 998;

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 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 = '998' 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` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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` = 998 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 = '1614' 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 = '7241' 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 = '989' 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 = '998' 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,34;

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 = '1603' 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 = '47001' 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 = '103101' 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 = '45284' 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 = '2231' 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 = '47000' 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 = '1604' 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 = '7660' 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 = '1613' 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 = '64540' 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 = '1614' 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 = '30339' 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 = '30337' 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 = '30340' 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 = '47002' 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 = '70728' 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 = '30338' 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 = '70729' 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 = '30341' 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 = '70730' 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 = '30342' 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 = '47003' 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 = '1615' 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 = '67442' 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 = '31107' 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 = '66986' 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 = '109742' 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 = '52555' 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 = '517' 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 = '48103' 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 = '42544' 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 = '120388' 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 = '135818' 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 = '97688' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1603' 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 = '1603' 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 = '1603' 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 = '1603';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '47001' 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 = '47001' 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 = '47001';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '103101' 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 = '103101';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '45284' 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 = '45284' 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 = '45284';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '2231' 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 = '2231' 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 = '2231';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '47000' 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 = '47000' 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 = '47000';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1604' 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 = '1604' 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 = '1604' 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 = '1604';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '7660' 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 = '7660' 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 = '7660' 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 = '7660';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1613' 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 = '1613' 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 = '1613';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '64540' 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 = '64540';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1614' 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 = '1614' 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 = '1614';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30339' 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 = '30339' 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 = '30339';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30337' 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 = '30337' 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 = '30337';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30340' 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 = '30340' 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 = '30340';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '47002' 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 = '47002' 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 = '47002';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '70728' 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 = '70728';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30338' 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 = '30338' 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 = '30338';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '70729' 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 = '70729';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30341' 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 = '30341' 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 = '30341';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '70730' 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 = '70730';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '30342' 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 = '30342' 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 = '30342';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '47003' 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 = '47003' 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 = '47003';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1615' 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 = '1615' 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 = '1615' 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 = '1615';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '67442' 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 = '67442';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '31107' 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 = '31107' 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 = '31107' 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 = '31107';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '66986' 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 = '66986' 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 = '66986';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '109742' 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 = '109742';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '52555' 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 = '52555';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '517' 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 = '517' 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 = '517';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '48103' 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 = '48103';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '42544' 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 = '42544' 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 = '42544';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '120388' 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 = '120388';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '135818' 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 = '135818';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '97688' 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 = '97688';

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 = '1037' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '1614' 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 = '1614' 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 = '1614';

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 = '1036' 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 = 'e8ee205405edfd72103221a0fd';

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

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 = '7241' 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 = '7241' 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 = '7241';

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 = '1036' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1';

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

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

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

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 = '998' 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 = '998' ORDER BY sort_order ASC;

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

SELECT * FROM oc_category_to_layout WHERE category_id = '998' 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` = 998 ;

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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) 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_450x32x1-6x4/proizvoditeli_bahco' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_cnic' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_fit' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_hortz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_jtc' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_norgau' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_stayer' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_kobalt' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_niz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_skinz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_tm' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_tulamash' AND `route` = 'category_id' AND `route_id` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) AND afv.`attribute_id` IN (23,24,25,26,28,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,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`) 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 (998)) 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` = 'marka-splava_r6m5/razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_300~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~300x23' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~300x6' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_400x32x1-6x4~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~400x32x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~400x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x32x1-6' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x32x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x40x2x4~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~500x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~500x40x2x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~600x50x2-5x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/tip_mashinnoe' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/tip_ruchnoe' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_300' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_305' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_400' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_450' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_455' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_500' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_605' AND `route` = 'category_id' AND `route_id` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) AND p.`status` = 1 AND p2s.`store_id` = 0 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/cena_slider_prs' AND `route` = 'category_id' AND `route_id` = 998 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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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=',998) 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 = '998' 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 = 'e8ee205405edfd72103221a0fd';

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

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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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

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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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

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

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

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 = '998' 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` = 998 ;

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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) 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_450x32x1-6x4/proizvoditeli_bahco' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_cnic' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_fit' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_hortz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_jtc' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_norgau' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_stayer' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_kobalt' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_niz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_skinz' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_tm' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/proizvoditeli_tulamash' AND `route` = 'category_id' AND `route_id` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) AND afv.`attribute_id` IN (23,24,25,26,28,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,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`) 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 (998)) 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` = 'marka-splava_r6m5/razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_300~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~300x23' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~300x6' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_400x32x1-6x4~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~400x32x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~400x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x32x1-6' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x32x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~450x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x40x2x4~450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~500x40x2' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~500x40x2x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4~600x50x2-5x4' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/tip_mashinnoe' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/tip_ruchnoe' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_300' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_305' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_400' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_450' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_455' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_500' AND `route` = 'category_id' AND `route_id` = 998 LIMIT 1;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/dlina--mm_605' AND `route` = 'category_id' AND `route_id` = 998 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 WHERE afv.`attribute_id` = 27 AND afv.`attr_text` IN ('27_148') ) 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 (998)) AND p.`status` = 1 AND p2s.`store_id` = 0 ;

SELECT `id`, `link`, `short_link` FROM `oc_filter_vier_hl` WHERE `link` = 'razmer_450x32x1-6x4/cena_slider_prs' AND `route` = 'category_id' AND `route_id` = 998 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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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 = '998' 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=',998) 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 = '998' 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 = 'e8ee205405edfd72103221a0fd';

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

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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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` = 'razmer_450x32x1-6x4' AND `route` = 'category_id' AND `route_id` = 998 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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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

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 = 'e8ee205405edfd72103221a0fd';

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 = 'e8ee205405edfd72103221a0fd';

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

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

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

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 = 'e8ee205405edfd72103221a0fd', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\",\"view\":\"grid-4\"}', expire = '2026-03-13 13:21:21';