З Новим Роком та Різдвом Христовим!

27.12.2019

Веселих свят!

Щиро вітаємо Вас з наступаючим Новим Роком та Різдвом Христовим!

Нехай у Вас та Ваших рідних завжди буде натхнення та сили до нових звершень.

Нехай бізнен розвивається, а цілі закриваються з легкістю.

Бажаємо нових ідей, та фантастичного натрою з яким Ви будете йти по житті.

Ми надзвичайно раді, що Ви з нами і дякуємо за приємну співпрацю. 

До зустрічі у Новому 2020 році з ще більшими перемогами та впененістю у краще майбутнє!

З повагою, компанія Selfy
selfy.com.ua
optobuvi@ukr.net
+38 068 689 08 52, +38 063 695 77 29

Waldi - текстильне взуття

-

Clibee - екошкіра

-

Demar резина

-

N-Style - львівське шкіряне взуття

-
text_st
button_out_of_stock
Queries: 819, Total time: 425.504 ms [By time] [By id] [By file]
1 (0.158)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://selfy.com.ua/'
/var/www/selfy.com.ua/index.php:46
2 (5.673)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/selfy.com.ua/index.php:58
3 (0.354)
SELECT *
FROM `oc_language`
WHERE status = '1'
/var/www/selfy.com.ua/index.php:157
4 (0.239)
SELECT *
FROM oc_currency
/var/www/selfy.com.ua/system/library/currency.php:13
5 (0.158)
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 = '300012' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '200420')
ORDER BY tr1.priority ASC
/var/www/selfy.com.ua/system/library/tax.php:26
6 (0.117)
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 = '300012' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '200420')
ORDER BY tr1.priority ASC
/var/www/selfy.com.ua/system/library/tax.php:54
7 (0.243)
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 = '3'
/var/www/selfy.com.ua/system/library/weight.php:9
8 (0.135)
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 = '3'
/var/www/selfy.com.ua/system/library/length.php:9
9 (0.883)
DELETE
FROM oc_cart
WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 360 DAY)
/var/www/selfy.com.ua/system/storage/modification/system/library/cart.php:61
10 (0.225)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/selfy.com.ua/system/library/openbay.php:117
11 (0.136)
SELECT *
FROM oc_event
/var/www/selfy.com.ua/index.php:275
12 (0.408)
SELECT *
FROM oc_july_blog_setting LIMIT 0,1000
/var/www/selfy.com.ua/catalog/model/blog/setting.php:34
13 (0.133)
SELECT *
FROM oc_july_blog_setting_general
WHERE language_id = '3' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/setting.php:79
14 (0.492)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'july'
/var/www/selfy.com.ua/catalog/model/setting/setting.php:6
15 (0.198)
SELECT DISTINCT *
FROM oc_july_blog_category c
LEFT JOIN oc_july_blog_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_july_blog_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '2' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = 'publish'
/var/www/selfy.com.ua/catalog/model/blog/category.php:4
16 (1.045)
SELECT DISTINCT *, pd.title, p.post_thumb
FROM oc_july_blog_post p
LEFT JOIN oc_july_blog_post_description pd ON (p.ID = pd.post_id)
LEFT JOIN oc_july_blog_post_to_store p2s ON (p.ID = p2s.post_id)
WHERE p.ID='121' AND pd.language_id = '3' AND p.post_status = 'publish' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/catalog/model/blog/post.php:104
17 (0.095)
SELECT *
FROM oc_july_blog_postmeta pm
WHERE post_id='121' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/post.php:406
18 (0.396)
UPDATE oc_july_blog_post SET view = view + 1
WHERE ID='121' LIMIT 1
/var/www/selfy.com.ua/catalog/model/blog/post.php:310
19 (0.085)
SELECT *
FROM oc_july_blog_related_product
WHERE post_id='121' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/post.php:300
20 (0.115)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
21 (0.093)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'post_header'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
22 (0.066)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
23 (0.067)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'pre_footer'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
24 (0.063)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
25 (0.055)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_left'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
26 (0.076)
SELECT *
FROM oc_module
WHERE module_id = '114'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
27 (0.289)
SELECT *
FROM oc_module
WHERE module_id = '70'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
28 (3.770)
SELECT p.ID
FROM oc_july_blog_post p
LEFT JOIN oc_july_blog_post_description pd ON (p.ID = pd.post_id)
LEFT JOIN oc_july_blog_post_to_store p2s ON (p.ID = p2s.post_id)
WHERE pd.language_id = '3' AND p.post_status = 'publish' AND p.date_available <= NOW() AND p2s.store_id = '0' GROUP BY p.ID
ORDER BY p.date_available DESC LIMIT 0,3
/var/www/selfy.com.ua/catalog/model/blog/post.php:249
29 (1.300)
SELECT DISTINCT *, pd.title, p.post_thumb
FROM oc_july_blog_post p
LEFT JOIN oc_july_blog_post_description pd ON (p.ID = pd.post_id)
LEFT JOIN oc_july_blog_post_to_store p2s ON (p.ID = p2s.post_id)
WHERE p.ID='122' AND pd.language_id = '3' AND p.post_status = 'publish' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/catalog/model/blog/post.php:104
30 (0.383)
SELECT *
FROM oc_july_blog_postmeta pm
WHERE post_id='122' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/post.php:406
31 (1.065)
SELECT DISTINCT *, pd.title, p.post_thumb
FROM oc_july_blog_post p
LEFT JOIN oc_july_blog_post_description pd ON (p.ID = pd.post_id)
LEFT JOIN oc_july_blog_post_to_store p2s ON (p.ID = p2s.post_id)
WHERE p.ID='121' AND pd.language_id = '3' AND p.post_status = 'publish' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/catalog/model/blog/post.php:104
32 (0.150)
SELECT *
FROM oc_july_blog_postmeta pm
WHERE post_id='121' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/post.php:406
33 (1.138)
SELECT DISTINCT *, pd.title, p.post_thumb
FROM oc_july_blog_post p
LEFT JOIN oc_july_blog_post_description pd ON (p.ID = pd.post_id)
LEFT JOIN oc_july_blog_post_to_store p2s ON (p.ID = p2s.post_id)
WHERE p.ID='120' AND pd.language_id = '3' AND p.post_status = 'publish' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/catalog/model/blog/post.php:104
34 (0.144)
SELECT *
FROM oc_july_blog_postmeta pm
WHERE post_id='120' LIMIT 0,20
/var/www/selfy.com.ua/catalog/model/blog/post.php:406
35 (0.228)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
36 (0.150)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'column_right'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
37 (0.114)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
38 (0.118)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'content_top'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
39 (0.106)
SELECT *
FROM oc_module
WHERE module_id = '118'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
40 (0.243)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'forgotten_cart'
/var/www/selfy.com.ua/catalog/model/module/forgotten_cart.php:7
41 (1.212)
SELECT *
FROM `oc_forgotten_cart_messages`
/var/www/selfy.com.ua/catalog/model/module/forgotten_cart.php:23
42 (0.157)
SELECT *
FROM oc_layout_route
WHERE 'blog/single' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/selfy.com.ua/catalog/model/design/layout.php:4
43 (0.182)
SELECT *
FROM oc_layout_module
WHERE layout_id = '4' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/selfy.com.ua/catalog/model/design/layout.php:14
44 (0.100)
SELECT *
FROM oc_module
WHERE module_id = '121'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
45 (1.117)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'july'
/var/www/selfy.com.ua/catalog/model/setting/setting.php:6
46 (0.309)
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)
WHERE c.category_id = '124' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/var/www/selfy.com.ua/catalog/model/catalog/category.php:4
47 (0.238)
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 = '124' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/selfy.com.ua/catalog/model/catalog/category.php:10
48 (31.667)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY (p.quantity > 0) DESC, 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 (p.quantity > 0) DESC, 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 = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '124' GROUP BY p.product_id
ORDER BY (p.quantity > 0) DESC, p.date_added DESC, p.product_id DESC LIMIT 0,15
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:250
49 (1.118)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15894' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
50 (0.762)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15893' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
51 (0.672)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15871' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
52 (2.267)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15870' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
53 (1.688)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15810' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
54 (1.975)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '15768' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
55 (1.712)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14814' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
56 (1.792)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14731' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
57 (1.496)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14812' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
58 (1.335)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14811' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
59 (1.740)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14710' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
60 (1.557)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14606' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
61 (1.836)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14603' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
62 (0.878)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14604' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
63 (0.868)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14602' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
64 (0.085)
SELECT *
FROM oc_product_image
WHERE product_id = '15894'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
65 (0.151)
SELECT *
FROM oc_product_image
WHERE product_id = '15894'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
66 (0.958)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
67 (0.552)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
68 (0.083)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15894' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
69 (0.078)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15894'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
70 (0.050)
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.product_id = '15894' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
71 (0.049)
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.product_id = '15894' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
72 (0.185)
SELECT *
FROM oc_product_image
WHERE product_id = '15893'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
73 (0.084)
SELECT *
FROM oc_product_image
WHERE product_id = '15893'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
74 (0.761)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
75 (1.379)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
76 (0.124)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15893' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
77 (0.102)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15893'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
78 (0.085)
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.product_id = '15893' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
79 (0.135)
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.product_id = '15893' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
80 (0.095)
SELECT *
FROM oc_product_image
WHERE product_id = '15871'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
81 (0.081)
SELECT *
FROM oc_product_image
WHERE product_id = '15871'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
82 (0.914)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
83 (1.189)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
84 (0.294)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15871' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
85 (0.090)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15871'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
86 (0.092)
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.product_id = '15871' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
87 (0.105)
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.product_id = '15871' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
88 (0.109)
SELECT *
FROM oc_product_image
WHERE product_id = '15870'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
89 (0.067)
SELECT *
FROM oc_product_image
WHERE product_id = '15870'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
90 (0.606)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
91 (0.608)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
92 (0.091)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15870' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
93 (0.068)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15870'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
94 (0.049)
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.product_id = '15870' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
95 (0.081)
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.product_id = '15870' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
96 (0.181)
SELECT *
FROM oc_product_image
WHERE product_id = '15810'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
97 (0.098)
SELECT *
FROM oc_product_image
WHERE product_id = '15810'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
98 (0.881)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
99 (0.825)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
100 (0.119)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15810' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
101 (0.087)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15810'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
102 (0.178)
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.product_id = '15810' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
103 (0.078)
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.product_id = '15810' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
104 (0.105)
SELECT *
FROM oc_product_image
WHERE product_id = '15768'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
105 (0.066)
SELECT *
FROM oc_product_image
WHERE product_id = '15768'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
106 (0.869)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
107 (0.760)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
108 (0.136)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '15768' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
109 (0.084)
SELECT *
FROM oc_product_sticker
WHERE product_id = '15768'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
110 (0.079)
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.product_id = '15768' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
111 (0.072)
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.product_id = '15768' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
112 (0.153)
SELECT *
FROM oc_product_image
WHERE product_id = '14814'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
113 (0.167)
SELECT *
FROM oc_product_image
WHERE product_id = '14814'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
114 (1.017)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
115 (1.288)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
116 (0.227)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14814' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
117 (0.136)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14814'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
118 (0.171)
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.product_id = '14814' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
119 (0.159)
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.product_id = '14814' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
120 (0.177)
SELECT *
FROM oc_product_image
WHERE product_id = '14731'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
121 (0.134)
SELECT *
FROM oc_product_image
WHERE product_id = '14731'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
122 (0.679)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
123 (0.747)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
124 (0.126)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14731' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
125 (0.116)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14731'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
126 (0.119)
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.product_id = '14731' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
127 (0.093)
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.product_id = '14731' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
128 (0.092)
SELECT *
FROM oc_product_image
WHERE product_id = '14812'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
129 (0.063)
SELECT *
FROM oc_product_image
WHERE product_id = '14812'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
130 (0.556)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
131 (0.664)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
132 (0.125)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14812' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
133 (0.157)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14812'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
134 (0.141)
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.product_id = '14812' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
135 (0.128)
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.product_id = '14812' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
136 (0.123)
SELECT *
FROM oc_product_image
WHERE product_id = '14811'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
137 (0.075)
SELECT *
FROM oc_product_image
WHERE product_id = '14811'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
138 (0.715)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
139 (0.675)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
140 (0.124)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14811' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
141 (0.117)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14811'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
142 (0.125)
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.product_id = '14811' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
143 (0.378)
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.product_id = '14811' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
144 (0.153)
SELECT *
FROM oc_product_image
WHERE product_id = '14710'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
145 (0.079)
SELECT *
FROM oc_product_image
WHERE product_id = '14710'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
146 (0.674)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
147 (0.641)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
148 (0.111)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14710' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
149 (0.105)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14710'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
150 (0.112)
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.product_id = '14710' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
151 (0.123)
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.product_id = '14710' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
152 (0.110)
SELECT *
FROM oc_product_image
WHERE product_id = '14606'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
153 (0.088)
SELECT *
FROM oc_product_image
WHERE product_id = '14606'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
154 (0.799)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
155 (0.904)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
156 (0.154)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14606' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
157 (0.127)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14606'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
158 (0.118)
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.product_id = '14606' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
159 (0.104)
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.product_id = '14606' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
160 (0.100)
SELECT *
FROM oc_product_image
WHERE product_id = '14603'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
161 (0.118)
SELECT *
FROM oc_product_image
WHERE product_id = '14603'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
162 (1.137)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
163 (1.067)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
164 (0.195)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14603' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
165 (0.167)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14603'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
166 (0.157)
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.product_id = '14603' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
167 (0.113)
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.product_id = '14603' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
168 (0.122)
SELECT *
FROM oc_product_image
WHERE product_id = '14604'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
169 (0.156)
SELECT *
FROM oc_product_image
WHERE product_id = '14604'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
170 (1.243)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
171 (0.894)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
172 (0.134)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14604' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
173 (0.112)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14604'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
174 (0.263)
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.product_id = '14604' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
175 (0.169)
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.product_id = '14604' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
176 (0.129)
SELECT *
FROM oc_product_image
WHERE product_id = '14602'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
177 (0.103)
SELECT *
FROM oc_product_image
WHERE product_id = '14602'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
178 (1.181)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
179 (1.034)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
180 (0.137)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14602' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
181 (0.130)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14602'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
182 (0.155)
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.product_id = '14602' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
183 (0.147)
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.product_id = '14602' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
184 (0.249)
SELECT *
FROM oc_module
WHERE module_id = '122'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
185 (1.365)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'july'
/var/www/selfy.com.ua/catalog/model/setting/setting.php:6
186 (0.238)
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)
WHERE c.category_id = '171' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/var/www/selfy.com.ua/catalog/model/catalog/category.php:4
187 (0.246)
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 = '171' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/selfy.com.ua/catalog/model/catalog/category.php:10
188 (29.486)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY (p.quantity > 0) DESC, 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 (p.quantity > 0) DESC, 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 = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '171' GROUP BY p.product_id
ORDER BY (p.quantity > 0) DESC, p.date_added DESC, p.product_id DESC LIMIT 0,15
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:250
189 (2.197)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14946' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
190 (2.102)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14945' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
191 (1.737)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14944' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
192 (2.118)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14943' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
193 (1.335)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14942' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
194 (1.118)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14940' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
195 (1.286)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14937' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
196 (1.012)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14936' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
197 (1.057)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14931' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
198 (1.317)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14930' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
199 (1.081)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14929' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
200 (1.230)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14923' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
201 (1.580)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14922' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
202 (1.427)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14921' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
203 (1.374)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14915' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
204 (0.234)
SELECT *
FROM oc_product_image
WHERE product_id = '14946'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
205 (0.112)
SELECT *
FROM oc_product_image
WHERE product_id = '14946'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
206 (0.867)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
207 (0.602)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
208 (0.237)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14946' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
209 (0.124)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14946'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
210 (0.114)
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.product_id = '14946' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
211 (0.168)
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.product_id = '14946' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
212 (0.278)
SELECT *
FROM oc_product_image
WHERE product_id = '14945'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
213 (0.094)
SELECT *
FROM oc_product_image
WHERE product_id = '14945'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
214 (0.688)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
215 (0.621)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
216 (0.211)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14945' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
217 (0.144)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14945'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
218 (0.140)
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.product_id = '14945' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
219 (0.141)
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.product_id = '14945' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
220 (0.425)
SELECT *
FROM oc_product_image
WHERE product_id = '14944'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
221 (0.210)
SELECT *
FROM oc_product_image
WHERE product_id = '14944'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
222 (1.035)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
223 (1.252)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
224 (0.141)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14944' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
225 (0.123)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14944'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
226 (0.180)
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.product_id = '14944' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
227 (0.447)
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.product_id = '14944' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
228 (0.171)
SELECT *
FROM oc_product_image
WHERE product_id = '14943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
229 (0.128)
SELECT *
FROM oc_product_image
WHERE product_id = '14943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
230 (0.979)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
231 (1.067)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
232 (0.185)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14943' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
233 (0.125)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
234 (0.166)
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.product_id = '14943' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
235 (0.194)
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.product_id = '14943' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
236 (0.130)
SELECT *
FROM oc_product_image
WHERE product_id = '14942'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
237 (0.083)
SELECT *
FROM oc_product_image
WHERE product_id = '14942'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
238 (0.916)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
239 (0.812)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
240 (0.154)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14942' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
241 (0.131)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14942'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
242 (0.478)
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.product_id = '14942' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
243 (0.444)
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.product_id = '14942' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
244 (0.109)
SELECT *
FROM oc_product_image
WHERE product_id = '14940'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
245 (0.085)
SELECT *
FROM oc_product_image
WHERE product_id = '14940'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
246 (1.166)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
247 (0.791)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
248 (0.107)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14940' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
249 (0.088)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14940'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
250 (0.085)
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.product_id = '14940' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
251 (0.256)
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.product_id = '14940' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
252 (0.121)
SELECT *
FROM oc_product_image
WHERE product_id = '14937'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
253 (0.059)
SELECT *
FROM oc_product_image
WHERE product_id = '14937'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
254 (0.810)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
255 (0.786)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
256 (0.078)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14937' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
257 (0.071)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14937'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
258 (0.068)
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.product_id = '14937' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
259 (0.103)
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.product_id = '14937' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
260 (0.087)
SELECT *
FROM oc_product_image
WHERE product_id = '14936'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
261 (0.064)
SELECT *
FROM oc_product_image
WHERE product_id = '14936'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
262 (0.757)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
263 (1.034)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
264 (0.093)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14936' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
265 (0.078)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14936'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
266 (0.111)
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.product_id = '14936' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
267 (0.081)
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.product_id = '14936' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
268 (0.106)
SELECT *
FROM oc_product_image
WHERE product_id = '14931'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
269 (0.055)
SELECT *
FROM oc_product_image
WHERE product_id = '14931'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
270 (0.968)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
271 (0.966)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
272 (0.224)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14931' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
273 (0.091)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14931'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
274 (0.084)
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.product_id = '14931' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
275 (0.094)
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.product_id = '14931' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
276 (0.070)
SELECT *
FROM oc_product_image
WHERE product_id = '14930'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
277 (0.053)
SELECT *
FROM oc_product_image
WHERE product_id = '14930'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
278 (0.907)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
279 (0.860)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
280 (0.082)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14930' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
281 (0.071)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14930'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
282 (0.068)
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.product_id = '14930' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
283 (0.075)
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.product_id = '14930' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
284 (0.087)
SELECT *
FROM oc_product_image
WHERE product_id = '14929'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
285 (0.050)
SELECT *
FROM oc_product_image
WHERE product_id = '14929'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
286 (0.756)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
287 (0.629)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
288 (0.076)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14929' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
289 (0.067)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14929'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
290 (0.063)
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.product_id = '14929' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
291 (0.058)
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.product_id = '14929' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
292 (0.070)
SELECT *
FROM oc_product_image
WHERE product_id = '14923'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
293 (0.060)
SELECT *
FROM oc_product_image
WHERE product_id = '14923'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
294 (0.624)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
295 (0.656)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
296 (0.191)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14923' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
297 (0.458)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14923'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
298 (0.194)
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.product_id = '14923' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
299 (0.418)
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.product_id = '14923' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
300 (0.139)
SELECT *
FROM oc_product_image
WHERE product_id = '14922'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
301 (0.091)
SELECT *
FROM oc_product_image
WHERE product_id = '14922'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
302 (0.947)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
303 (0.747)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
304 (0.159)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14922' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
305 (0.239)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14922'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
306 (0.200)
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.product_id = '14922' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
307 (0.192)
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.product_id = '14922' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
308 (0.160)
SELECT *
FROM oc_product_image
WHERE product_id = '14921'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
309 (0.139)
SELECT *
FROM oc_product_image
WHERE product_id = '14921'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
310 (0.937)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
311 (1.099)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
312 (0.140)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14921' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
313 (0.118)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14921'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
314 (0.155)
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.product_id = '14921' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
315 (0.257)
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.product_id = '14921' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
316 (0.190)
SELECT *
FROM oc_product_image
WHERE product_id = '14915'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
317 (0.141)
SELECT *
FROM oc_product_image
WHERE product_id = '14915'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
318 (0.978)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
319 (1.433)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
320 (0.304)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14915' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
321 (0.192)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14915'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
322 (0.143)
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.product_id = '14915' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
323 (0.099)
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.product_id = '14915' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
324 (0.126)
SELECT *
FROM oc_module
WHERE module_id = '123'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
325 (1.017)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'july'
/var/www/selfy.com.ua/catalog/model/setting/setting.php:6
326 (0.150)
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)
WHERE c.category_id = '274' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/var/www/selfy.com.ua/catalog/model/catalog/category.php:4
327 (0.137)
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 = '274' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/selfy.com.ua/catalog/model/catalog/category.php:10
328 (3.583)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY (p.quantity > 0) DESC, 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 (p.quantity > 0) DESC, 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 = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '274' GROUP BY p.product_id
ORDER BY (p.quantity > 0) DESC, p.date_added DESC, p.product_id DESC LIMIT 0,20
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:250
329 (0.948)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '13735' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
330 (0.961)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '13734' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
331 (1.846)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '11835' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
332 (1.992)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '11524' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
333 (1.612)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '11144' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
334 (2.105)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '11143' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
335 (1.731)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '10241' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
336 (2.045)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '8316' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
337 (1.453)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '2214' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
338 (1.772)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '2213' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
339 (1.541)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '2212' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
340 (2.403)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '2210' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
341 (1.572)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '245' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
342 (1.079)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '244' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
343 (1.320)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '242' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
344 (2.002)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '235' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
345 (2.109)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '234' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
346 (1.703)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '227' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
347 (1.674)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '219' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
348 (1.274)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '218' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
349 (0.280)
SELECT *
FROM oc_product_image
WHERE product_id = '13735'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
350 (0.244)
SELECT *
FROM oc_product_image
WHERE product_id = '13735'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
351 (1.183)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
352 (1.143)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
353 (0.193)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '13735' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
354 (0.231)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '13735' AND pov.product_option_id = '3804' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
355 (0.191)
SELECT *
FROM oc_product_sticker
WHERE product_id = '13735'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
356 (0.182)
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.product_id = '13735' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
357 (0.195)
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.product_id = '13735' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
358 (0.210)
SELECT *
FROM oc_product_image
WHERE product_id = '13734'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
359 (0.221)
SELECT *
FROM oc_product_image
WHERE product_id = '13734'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
360 (1.129)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
361 (1.257)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
362 (0.203)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '13734' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
363 (0.207)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '13734' AND pov.product_option_id = '3803' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
364 (0.145)
SELECT *
FROM oc_product_sticker
WHERE product_id = '13734'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
365 (0.142)
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.product_id = '13734' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
366 (0.130)
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.product_id = '13734' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
367 (0.168)
SELECT *
FROM oc_product_image
WHERE product_id = '11835'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
368 (0.198)
SELECT *
FROM oc_product_image
WHERE product_id = '11835'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
369 (1.522)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
370 (1.103)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
371 (0.215)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '11835' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
372 (0.265)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '11835' AND pov.product_option_id = '3424' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
373 (0.184)
SELECT *
FROM oc_product_sticker
WHERE product_id = '11835'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
374 (0.109)
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.product_id = '11835' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
375 (0.163)
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.product_id = '11835' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
376 (0.093)
SELECT *
FROM oc_product_image
WHERE product_id = '11524'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
377 (0.081)
SELECT *
FROM oc_product_image
WHERE product_id = '11524'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
378 (4.250)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
379 (0.416)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
380 (0.079)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '11524' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
381 (0.106)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '11524' AND pov.product_option_id = '3392' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
382 (0.056)
SELECT *
FROM oc_product_sticker
WHERE product_id = '11524'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
383 (0.225)
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.product_id = '11524' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
384 (0.092)
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.product_id = '11524' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
385 (0.102)
SELECT *
FROM oc_product_image
WHERE product_id = '11144'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
386 (0.078)
SELECT *
FROM oc_product_image
WHERE product_id = '11144'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
387 (0.981)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
388 (1.121)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
389 (0.104)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '11144' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
390 (0.120)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '11144' AND pov.product_option_id = '3327' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
391 (0.090)
SELECT *
FROM oc_product_sticker
WHERE product_id = '11144'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
392 (0.102)
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.product_id = '11144' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
393 (0.098)
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.product_id = '11144' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
394 (0.076)
SELECT *
FROM oc_product_image
WHERE product_id = '11143'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
395 (0.071)
SELECT *
FROM oc_product_image
WHERE product_id = '11143'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
396 (0.884)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
397 (0.816)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
398 (0.112)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '11143' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
399 (0.109)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '11143' AND pov.product_option_id = '3326' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
400 (0.392)
SELECT *
FROM oc_product_sticker
WHERE product_id = '11143'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
401 (0.096)
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.product_id = '11143' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
402 (0.132)
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.product_id = '11143' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
403 (0.089)
SELECT *
FROM oc_product_image
WHERE product_id = '10241'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
404 (0.086)
SELECT *
FROM oc_product_image
WHERE product_id = '10241'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
405 (0.835)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
406 (0.797)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
407 (0.112)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '10241' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
408 (0.128)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '10241' AND pov.product_option_id = '3151' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
409 (0.097)
SELECT *
FROM oc_product_sticker
WHERE product_id = '10241'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
410 (0.072)
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.product_id = '10241' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
411 (0.085)
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.product_id = '10241' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
412 (0.141)
SELECT *
FROM oc_product_image
WHERE product_id = '8316'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
413 (0.108)
SELECT *
FROM oc_product_image
WHERE product_id = '8316'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
414 (0.819)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
415 (0.752)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
416 (0.101)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '8316' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
417 (0.140)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '8316' AND pov.product_option_id = '2684' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
418 (0.087)
SELECT *
FROM oc_product_sticker
WHERE product_id = '8316'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
419 (0.075)
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.product_id = '8316' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
420 (0.086)
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.product_id = '8316' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
421 (0.127)
SELECT *
FROM oc_product_image
WHERE product_id = '2214'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
422 (0.096)
SELECT *
FROM oc_product_image
WHERE product_id = '2214'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
423 (1.119)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
424 (0.693)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
425 (0.090)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '2214' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
426 (0.126)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '2214' AND pov.product_option_id = '1075' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
427 (0.079)
SELECT *
FROM oc_product_sticker
WHERE product_id = '2214'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
428 (0.170)
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.product_id = '2214' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
429 (0.107)
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.product_id = '2214' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
430 (0.160)
SELECT *
FROM oc_product_image
WHERE product_id = '2213'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
431 (0.074)
SELECT *
FROM oc_product_image
WHERE product_id = '2213'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
432 (0.918)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
433 (1.239)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
434 (0.101)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '2213' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
435 (0.124)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '2213' AND pov.product_option_id = '1074' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
436 (0.083)
SELECT *
FROM oc_product_sticker
WHERE product_id = '2213'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
437 (0.074)
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.product_id = '2213' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
438 (0.082)
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.product_id = '2213' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
439 (0.100)
SELECT *
FROM oc_product_image
WHERE product_id = '2212'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
440 (0.079)
SELECT *
FROM oc_product_image
WHERE product_id = '2212'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
441 (0.785)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
442 (0.920)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
443 (0.144)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '2212' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
444 (0.147)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '2212' AND pov.product_option_id = '1073' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
445 (0.114)
SELECT *
FROM oc_product_sticker
WHERE product_id = '2212'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
446 (0.077)
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.product_id = '2212' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
447 (0.092)
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.product_id = '2212' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
448 (0.111)
SELECT *
FROM oc_product_image
WHERE product_id = '2210'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
449 (0.058)
SELECT *
FROM oc_product_image
WHERE product_id = '2210'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
450 (0.525)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
451 (0.486)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
452 (0.073)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '2210' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
453 (0.117)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '2210' AND pov.product_option_id = '1071' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
454 (0.079)
SELECT *
FROM oc_product_sticker
WHERE product_id = '2210'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
455 (0.063)
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.product_id = '2210' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
456 (0.093)
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.product_id = '2210' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
457 (0.168)
SELECT *
FROM oc_product_image
WHERE product_id = '245'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
458 (0.446)
SELECT *
FROM oc_product_image
WHERE product_id = '245'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
459 (0.948)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
460 (0.840)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
461 (0.101)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '245' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
462 (0.108)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '245' AND pov.product_option_id = '245' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
463 (0.133)
SELECT *
FROM oc_product_sticker
WHERE product_id = '245'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
464 (0.101)
SELECT *
FROM oc_product_discount
WHERE product_id = '245' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
465 (0.091)
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.product_id = '245' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
466 (0.099)
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.product_id = '245' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
467 (0.084)
SELECT *
FROM oc_product_image
WHERE product_id = '244'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
468 (0.068)
SELECT *
FROM oc_product_image
WHERE product_id = '244'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
469 (1.181)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
470 (0.797)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
471 (0.101)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '244' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
472 (0.113)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '244' AND pov.product_option_id = '244' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
473 (0.089)
SELECT *
FROM oc_product_sticker
WHERE product_id = '244'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
474 (0.098)
SELECT *
FROM oc_product_discount
WHERE product_id = '244' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
475 (0.073)
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.product_id = '244' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
476 (0.082)
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.product_id = '244' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
477 (0.077)
SELECT *
FROM oc_product_image
WHERE product_id = '242'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
478 (0.066)
SELECT *
FROM oc_product_image
WHERE product_id = '242'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
479 (1.056)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
480 (0.814)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
481 (0.094)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '242' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
482 (0.104)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '242' AND pov.product_option_id = '242' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
483 (0.175)
SELECT *
FROM oc_product_sticker
WHERE product_id = '242'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
484 (0.126)
SELECT *
FROM oc_product_discount
WHERE product_id = '242' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
485 (0.161)
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.product_id = '242' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
486 (0.089)
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.product_id = '242' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
487 (0.107)
SELECT *
FROM oc_product_image
WHERE product_id = '235'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
488 (0.119)
SELECT *
FROM oc_product_image
WHERE product_id = '235'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
489 (0.565)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
490 (0.436)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
491 (0.101)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '235' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
492 (0.270)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '235' AND pov.product_option_id = '235' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
493 (0.328)
SELECT *
FROM oc_product_sticker
WHERE product_id = '235'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
494 (0.097)
SELECT *
FROM oc_product_discount
WHERE product_id = '235' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
495 (0.087)
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.product_id = '235' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
496 (0.110)
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.product_id = '235' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
497 (0.102)
SELECT *
FROM oc_product_image
WHERE product_id = '234'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
498 (0.153)
SELECT *
FROM oc_product_image
WHERE product_id = '234'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
499 (0.957)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
500 (0.790)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
501 (0.105)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '234' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
502 (0.107)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '234' AND pov.product_option_id = '234' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
503 (0.311)
SELECT *
FROM oc_product_sticker
WHERE product_id = '234'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
504 (0.109)
SELECT *
FROM oc_product_discount
WHERE product_id = '234' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
505 (0.075)
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.product_id = '234' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
506 (0.088)
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.product_id = '234' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
507 (0.098)
SELECT *
FROM oc_product_image
WHERE product_id = '227'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
508 (0.090)
SELECT *
FROM oc_product_image
WHERE product_id = '227'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
509 (0.831)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
510 (0.818)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
511 (0.166)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '227' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
512 (0.133)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '227' AND pov.product_option_id = '227' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
513 (0.126)
SELECT *
FROM oc_product_sticker
WHERE product_id = '227'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
514 (0.143)
SELECT *
FROM oc_product_discount
WHERE product_id = '227' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
515 (0.094)
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.product_id = '227' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
516 (0.092)
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.product_id = '227' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
517 (0.096)
SELECT *
FROM oc_product_image
WHERE product_id = '219'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
518 (0.081)
SELECT *
FROM oc_product_image
WHERE product_id = '219'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
519 (0.962)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
520 (0.756)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
521 (0.106)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '219' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
522 (0.141)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '219' AND pov.product_option_id = '219' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
523 (0.090)
SELECT *
FROM oc_product_sticker
WHERE product_id = '219'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
524 (0.074)
SELECT *
FROM oc_product_discount
WHERE product_id = '219' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
525 (0.068)
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.product_id = '219' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
526 (0.083)
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.product_id = '219' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
527 (0.170)
SELECT *
FROM oc_product_image
WHERE product_id = '218'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
528 (0.338)
SELECT *
FROM oc_product_image
WHERE product_id = '218'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
529 (0.971)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
530 (0.769)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
531 (0.104)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '218' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
532 (0.124)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '218' AND pov.product_option_id = '218' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
533 (0.112)
SELECT *
FROM oc_product_sticker
WHERE product_id = '218'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
534 (0.090)
SELECT *
FROM oc_product_discount
WHERE product_id = '218' AND customer_group_id = '1' AND ((date_start = '0000-00-00' OR date_start < '2020-01-26 03:26:00') AND (date_end = '0000-00-00' OR date_end > '2020-01-26 03:26:00'))
ORDER BY quantity ASC, priority ASC, price ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:67
535 (0.081)
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.product_id = '218' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
536 (0.095)
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.product_id = '218' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
537 (0.116)
SELECT *
FROM oc_module
WHERE module_id = '124'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/extension/module.php:4
538 (0.968)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'july'
/var/www/selfy.com.ua/catalog/model/setting/setting.php:6
539 (0.205)
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)
WHERE c.category_id = '248' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
/var/www/selfy.com.ua/catalog/model/catalog/category.php:4
540 (0.117)
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 = '248' AND cd.language_id = '3' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/selfy.com.ua/catalog/model/catalog/category.php:10
541 (15.151)
SELECT p.product_id, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY (p.quantity > 0) DESC, 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 (p.quantity > 0) DESC, 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 = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '248' GROUP BY p.product_id
ORDER BY (p.quantity > 0) DESC, p.date_added DESC, p.product_id DESC LIMIT 0,20
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:250
542 (1.201)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14817' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
543 (0.689)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14816' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
544 (0.766)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14815' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
545 (0.759)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14706' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
546 (0.746)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14705' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
547 (0.989)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '13943' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
548 (0.715)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '13706' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
549 (0.741)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '11382' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
550 (0.709)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '10281' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
551 (0.726)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '10280' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
552 (0.749)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '7336' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
553 (0.703)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '7335' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
554 (0.708)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '6147' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
555 (0.723)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '6130' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
556 (0.597)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14951' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
557 (0.640)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14950' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
558 (0.612)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14623' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
559 (0.628)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14622' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
560 (0.630)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14621' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
561 (0.571)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '3') 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 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 = '3') 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 = '3') 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 = '3') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '14620' AND pd.language_id = '3' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:14
562 (0.066)
SELECT *
FROM oc_product_image
WHERE product_id = '14817'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
563 (0.039)
SELECT *
FROM oc_product_image
WHERE product_id = '14817'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
564 (0.458)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
565 (0.591)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
566 (0.074)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14817' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
567 (0.108)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '14817' AND pov.product_option_id = '3970' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
568 (0.177)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14817'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
569 (0.095)
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.product_id = '14817' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
570 (0.091)
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.product_id = '14817' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
571 (0.075)
SELECT *
FROM oc_product_image
WHERE product_id = '14816'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
572 (0.070)
SELECT *
FROM oc_product_image
WHERE product_id = '14816'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
573 (0.503)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
574 (0.421)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
575 (0.085)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14816' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
576 (0.120)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '14816' AND pov.product_option_id = '3969' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
577 (0.074)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14816'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
578 (0.272)
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.product_id = '14816' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
579 (0.087)
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.product_id = '14816' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
580 (0.108)
SELECT *
FROM oc_product_image
WHERE product_id = '14815'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
581 (0.064)
SELECT *
FROM oc_product_image
WHERE product_id = '14815'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
582 (0.546)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
583 (0.661)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
584 (0.144)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14815' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
585 (0.190)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '14815' AND pov.product_option_id = '3968' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
586 (0.138)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14815'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
587 (0.125)
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.product_id = '14815' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
588 (0.112)
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.product_id = '14815' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
589 (0.178)
SELECT *
FROM oc_product_image
WHERE product_id = '14706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
590 (0.087)
SELECT *
FROM oc_product_image
WHERE product_id = '14706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
591 (0.689)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
592 (0.550)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
593 (0.148)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14706' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
594 (0.244)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '14706' AND pov.product_option_id = '3959' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
595 (0.111)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
596 (0.125)
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.product_id = '14706' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
597 (0.175)
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.product_id = '14706' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
598 (0.115)
SELECT *
FROM oc_product_image
WHERE product_id = '14705'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
599 (0.077)
SELECT *
FROM oc_product_image
WHERE product_id = '14705'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
600 (0.723)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
601 (0.595)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
602 (0.156)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '14705' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
603 (0.224)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '14705' AND pov.product_option_id = '3958' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
604 (0.164)
SELECT *
FROM oc_product_sticker
WHERE product_id = '14705'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
605 (0.206)
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.product_id = '14705' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
606 (0.194)
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.product_id = '14705' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
607 (0.133)
SELECT *
FROM oc_product_image
WHERE product_id = '13943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
608 (0.543)
SELECT *
FROM oc_product_image
WHERE product_id = '13943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
609 (0.899)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
610 (0.684)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
611 (0.171)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '13943' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
612 (0.301)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '13943' AND pov.product_option_id = '3841' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
613 (0.152)
SELECT *
FROM oc_product_sticker
WHERE product_id = '13943'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
614 (0.153)
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.product_id = '13943' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
615 (0.115)
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.product_id = '13943' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
616 (0.111)
SELECT *
FROM oc_product_image
WHERE product_id = '13706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
617 (0.260)
SELECT *
FROM oc_product_image
WHERE product_id = '13706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
618 (0.751)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
619 (0.929)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
620 (0.110)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '13706' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
621 (0.173)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '13706' AND pov.product_option_id = '3799' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
622 (0.123)
SELECT *
FROM oc_product_sticker
WHERE product_id = '13706'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
623 (0.087)
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.product_id = '13706' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
624 (0.092)
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.product_id = '13706' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
625 (0.095)
SELECT *
FROM oc_product_image
WHERE product_id = '11382'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
626 (0.080)
SELECT *
FROM oc_product_image
WHERE product_id = '11382'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
627 (0.828)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
628 (0.750)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
629 (0.357)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '11382' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
630 (0.228)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '11382' AND pov.product_option_id = '3368' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
631 (0.123)
SELECT *
FROM oc_product_sticker
WHERE product_id = '11382'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
632 (0.100)
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.product_id = '11382' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
633 (0.098)
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.product_id = '11382' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
634 (0.114)
SELECT *
FROM oc_product_image
WHERE product_id = '10281'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
635 (0.083)
SELECT *
FROM oc_product_image
WHERE product_id = '10281'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
636 (0.891)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
637 (0.787)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
638 (0.372)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '10281' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
639 (0.266)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '10281' AND pov.product_option_id = '3173' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
640 (0.193)
SELECT *
FROM oc_product_sticker
WHERE product_id = '10281'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
641 (0.106)
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.product_id = '10281' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
642 (0.207)
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.product_id = '10281' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
643 (0.156)
SELECT *
FROM oc_product_image
WHERE product_id = '10280'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
644 (0.086)
SELECT *
FROM oc_product_image
WHERE product_id = '10280'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
645 (0.803)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
646 (0.730)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
647 (0.391)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '10280' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
648 (0.212)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '10280' AND pov.product_option_id = '3182' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
649 (0.144)
SELECT *
FROM oc_product_sticker
WHERE product_id = '10280'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
650 (0.101)
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.product_id = '10280' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
651 (0.108)
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.product_id = '10280' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
652 (0.118)
SELECT *
FROM oc_product_image
WHERE product_id = '7336'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
653 (0.164)
SELECT *
FROM oc_product_image
WHERE product_id = '7336'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
654 (1.269)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
655 (1.184)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
656 (0.133)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '7336' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
657 (0.175)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '7336' AND pov.product_option_id = '2528' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
658 (0.094)
SELECT *
FROM oc_product_sticker
WHERE product_id = '7336'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
659 (0.078)
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.product_id = '7336' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
660 (0.112)
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.product_id = '7336' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
661 (0.212)
SELECT *
FROM oc_product_image
WHERE product_id = '7335'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
662 (0.170)
SELECT *
FROM oc_product_image
WHERE product_id = '7335'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
663 (1.034)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
664 (1.252)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
665 (0.177)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '7335' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
666 (0.286)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '7335' AND pov.product_option_id = '2527' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
667 (0.181)
SELECT *
FROM oc_product_sticker
WHERE product_id = '7335'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
668 (0.110)
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.product_id = '7335' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
669 (0.153)
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.product_id = '7335' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
670 (0.093)
SELECT *
FROM oc_product_image
WHERE product_id = '6147'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
671 (0.126)
SELECT *
FROM oc_product_image
WHERE product_id = '6147'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
672 (0.700)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
673 (0.770)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
674 (0.140)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '6147' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
675 (0.218)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '6147' AND pov.product_option_id = '2115' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
676 (0.155)
SELECT *
FROM oc_product_sticker
WHERE product_id = '6147'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
677 (0.152)
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.product_id = '6147' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
678 (0.250)
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.product_id = '6147' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
679 (0.142)
SELECT *
FROM oc_product_image
WHERE product_id = '6130'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
680 (0.137)
SELECT *
FROM oc_product_image
WHERE product_id = '6130'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
681 (0.876)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
682 (0.511)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
683 (0.116)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '6130' AND od.language_id = '3'
ORDER BY o.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:441
684 (0.210)
SELECT *, IF(pov.image = '', ov.image, pov.image) AS image
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id = '6130' AND pov.product_option_id = '2098' AND ovd.language_id = '3'
ORDER BY ov.sort_order
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:446
685 (0.151)
SELECT *
FROM oc_product_sticker
WHERE product_id = '6130'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/catalog/model/catalog/july_stickers.php:5
686 (0.132)
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.product_id = '6130' AND agd.language_id = '3' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:402
687 (0.157)
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.product_id = '6130' AND a.attribute_group_id = '7' AND ad.language_id = '3' AND pa.language_id = '3'
ORDER BY a.sort_order, ad.name
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:407
688 (0.129)
SELECT *
FROM oc_product_image
WHERE product_id = '14951'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
689 (0.089)
SELECT *
FROM oc_product_image
WHERE product_id = '14951'
ORDER BY sort_order ASC
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:488
690 (1.012)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'image'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:429
691 (0.685)
SHOW COLUMNS
FROM `oc_product_option_value` LIKE 'sku'
/var/www/selfy.com.ua/system/storage/modification/catalog/model/catalog/product.php:431
692 (0.133)