1 (0.099)
SET time_zone = '+00:00'
/home/lifesmart/domains/lifesmart.vn/public_html/system/framework.php:84
2 (0.350)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
3 (0.629)
SELECT `data`
FROM `ttq_session`
WHERE `session_id` = 'e2de58e21815b6ecb38a07449f' AND `expire` > '2024-11-23 08:08:10'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/session/db.php:16
4 (0.242)
SELECT *
FROM ttq_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://lifesmart.vn/'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/startup.php:6
5 (1.545)
SELECT *
FROM `ttq_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/startup.php:25
6 (0.162)
SET time_zone = '+07:00'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/startup.php:40
7 (0.234)
SELECT *
FROM ttq_currency
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/currency.php:10
8 (0.467)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM ttq_tax_rule tr1
LEFT JOIN ttq_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN ttq_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN ttq_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN ttq_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 = '230' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '202')
ORDER BY tr1.priority ASC
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/tax.php:16
9 (0.280)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM ttq_tax_rule tr1
LEFT JOIN ttq_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN ttq_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN ttq_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN ttq_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 = '230' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '202')
ORDER BY tr1.priority ASC
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/tax.php:44
10 (0.325)
SELECT *
FROM ttq_weight_class wc
LEFT JOIN ttq_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '2'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/weight.php:10
11 (0.321)
SELECT *
FROM ttq_length_class mc
LEFT JOIN ttq_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '2'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/length.php:10
12 (0.297)
DELETE
FROM ttq_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:15
13 (0.527)
SELECT *
FROM `ttq_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `sort_order` ASC
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/event.php:4
14 (0.326)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'chieu-sang-thong-minh' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
15 (0.251)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'blend-light-strip' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
16 (0.272)
SELECT
count(*) AS total
FROM
`ttq_journal3_skin`
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/settings.php:112
17 (0.328)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
18 (1.165)
SELECT *
FROM ttq_product_to_layout
WHERE product_id = '27' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:411
19 (0.426)
SELECT *
FROM ttq_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/layout.php:4
20 (0.258)
SELECT
layout_id,
layout_data
FROM
`ttq_journal3_layout`
WHERE
`layout_id` = '2'
OR `layout_id` = -1
ORDER BY
`layout_id` DESC
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/layout.php:122
21 (0.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
22 (0.268)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
23 (0.239)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/css'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
24 (0.306)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
25 (0.269)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
26 (0.350)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
27 (0.318)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
28 (0.317)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
29 (0.317)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
30 (0.286)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
31 (0.325)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
32 (0.271)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
33 (0.764)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '27'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:428
34 (1.497)
SELECT DISTINCT *
FROM ttq_category c
LEFT JOIN ttq_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN ttq_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '7' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/category.php:4
35 (0.264)
SELECT DISTINCT *
FROM ttq_category c
LEFT JOIN ttq_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN ttq_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '0' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/category.php:4
36 (0.293)
SELECT DISTINCT *
FROM ttq_category c
LEFT JOIN ttq_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN ttq_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '7' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/category.php:4
37 (0.289)
SELECT DISTINCT *
FROM ttq_category c
LEFT JOIN ttq_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN ttq_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '7' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/category.php:4
38 (0.291)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=7' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
39 (0.249)
SELECT DISTINCT *
FROM ttq_category c
LEFT JOIN ttq_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN ttq_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.category_id = '7' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/category.php:4
40 (4.660)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM ttq_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 ttq_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 ttq_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM ttq_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM ttq_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM ttq_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM ttq_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' AND r1.parent_id = '0' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM ttq_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM ttq_product p
LEFT JOIN ttq_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN ttq_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN ttq_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '27' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:8
41 (0.206)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '27' AND category_id IN(7)
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:565
42 (0.259)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/compare' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
43 (0.291)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '273'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
44 (0.879)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM ttq_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 ttq_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 ttq_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM ttq_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM ttq_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM ttq_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM ttq_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' AND r1.parent_id = '0' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM ttq_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM ttq_product p
LEFT JOIN ttq_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN ttq_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN ttq_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '27' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:8
45 (2.265)
SELECT ag.attribute_group_id, agd.name
FROM ttq_product_attribute pa
LEFT JOIN ttq_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN ttq_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN ttq_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '27' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:316
46 (1.407)
SELECT a.attribute_id, ad.name, pa.text
FROM ttq_product_attribute pa
LEFT JOIN ttq_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN ttq_attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '27' AND a.attribute_group_id = '1' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY pa.product_attribute_id ,a.sort_order, ad.name
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:321
47 (0.242)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_attributes'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
48 (0.293)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
49 (0.284)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '27' AND parent_id = '0' GROUP BY rating
ORDER BY rating DESC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/journal3/product_tabs.php:173
50 (0.224)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_reviews'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
51 (0.312)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
52 (0.274)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '274'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
53 (0.360)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
54 (0.300)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '275'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
55 (0.342)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
56 (0.294)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '276'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
57 (0.352)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
58 (1.978)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '27'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
59 (0.243)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_tabs'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
60 (0.315)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
61 (0.297)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '27'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
62 (0.256)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_tabs'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
63 (0.266)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
64 (0.647)
SELECT *
FROM ttq_manufacturer m
LEFT JOIN ttq_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE m.manufacturer_id = '0' AND m2s.store_id = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/catalog/manufacturer.php:4
65 (0.283)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=7' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
66 (0.266)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
67 (0.292)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
68 (0.262)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'manufacturer_id=0' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
69 (0.905)
SELECT *
FROM ttq_product_image
WHERE product_id = '27'
ORDER BY sort_order ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:393
70 (0.313)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '27'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
71 (0.238)
SELECT *
FROM ttq_product_discount
WHERE product_id = '27' AND customer_group_id = '1' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
ORDER BY quantity ASC, priority ASC, price ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:381
72 (1.345)
SELECT *
FROM ttq_product_option po
LEFT JOIN `ttq_option` o ON (po.option_id = o.option_id)
LEFT JOIN ttq_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '27' AND od.language_id = '2'
ORDER BY o.sort_order
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:344
73 (0.296)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '27' AND parent_id = '0' GROUP BY rating
ORDER BY rating DESC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/product/product.php:641
74 (0.301)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
75 (0.520)
SELECT ag.attribute_group_id, agd.name
FROM ttq_product_attribute pa
LEFT JOIN ttq_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN ttq_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN ttq_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '27' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:316
76 (1.005)
SELECT a.attribute_id, ad.name, pa.text
FROM ttq_product_attribute pa
LEFT JOIN ttq_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN ttq_attribute_description ad ON (a.attribute_id = ad.attribute_id)
WHERE pa.product_id = '27' AND a.attribute_group_id = '1' AND ad.language_id = '2' AND pa.language_id = '2'
ORDER BY pa.product_attribute_id ,a.sort_order, ad.name
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:321
77 (1.432)
SELECT rd.*
FROM ttq_product_recurring pr JOIN ttq_recurring_description rd ON (rd.language_id = 2 AND rd.recurring_id = pr.recurring_id) JOIN ttq_recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 27 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:542
78 (0.318)
UPDATE ttq_product SET viewed = (viewed + 1)
WHERE product_id = '27'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:4
79 (1.370)
SELECT
SUM(op.quantity) AS quantity
FROM `ttq_order_product` op
LEFT JOIN `ttq_order` o ON op.order_id = o.order_id
WHERE o.order_status_id <> 0 AND op.product_id = '27'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/journal3/opencart/model.php:48
80 (0.286)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
81 (0.272)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
82 (0.328)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
83 (0.235)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
84 (0.286)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
85 (0.310)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
86 (0.341)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
87 (0.306)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
88 (0.200)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/main_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
89 (0.299)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
90 (0.224)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
91 (0.327)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
92 (0.266)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
93 (0.305)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
94 (0.226)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
95 (0.300)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
96 (0.240)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
97 (0.296)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
98 (0.255)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
99 (0.272)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
100 (0.198)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/info_blocks'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
101 (0.321)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
102 (0.223)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/info_blocks'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
103 (0.304)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
104 (0.207)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
105 (0.314)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
106 (0.257)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/newsletter'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
107 (0.332)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
108 (0.238)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
109 (0.304)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
110 (0.250)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/layout'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
111 (0.339)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
112 (0.265)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/footer' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
113 (0.273)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/footer'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
114 (0.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
115 (0.387)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
116 (0.283)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
117 (0.274)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
118 (0.438)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
119 (0.421)
SELECT *
FROM ttq_setting
WHERE store_id = '0' AND `code` = 'd_social_login'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/setting.php:6
120 (0.238)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'extension/module/d_social_login'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
121 (0.381)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
122 (0.296)
SELECT *
FROM ttq_extension
WHERE `type` = 'analytics'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
123 (0.251)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
124 (0.303)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/language' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
125 (0.373)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=7' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
126 (0.275)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
127 (0.195)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/language'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
128 (0.313)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
129 (0.270)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/currency' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
130 (0.351)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=7' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
131 (0.268)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
132 (0.241)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/currency'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
133 (0.305)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
134 (0.272)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/search' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
135 (0.251)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/search'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
136 (0.433)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
137 (0.275)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/cart' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
138 (0.304)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
139 (0.236)
SELECT *
FROM ttq_extension
WHERE `type` = 'total'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
140 (0.282)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/sub_total' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
141 (0.332)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
142 (0.300)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
143 (0.268)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/total' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
144 (0.299)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
145 (0.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
146 (0.347)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
147 (0.263)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/cart'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
148 (0.369)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
149 (0.266)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/menu' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
150 (0.251)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/menu'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
151 (0.347)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
152 (0.254)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/header'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
153 (1.497)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM ttq_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 ttq_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 ttq_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name
FROM ttq_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') AS stock_status, (SELECT wcd.unit
FROM ttq_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '2') AS weight_class, (SELECT lcd.unit
FROM ttq_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '2') AS length_class, (SELECT AVG(rating) AS total
FROM ttq_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' AND r1.parent_id = '0' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM ttq_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM ttq_product p
LEFT JOIN ttq_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN ttq_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN ttq_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '27' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:8
154 (0.408)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=27' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
155 (0.509)
SELECT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added
FROM ttq_review r
LEFT JOIN ttq_product p ON (r.product_id = p.product_id)
LEFT JOIN ttq_product_description pd ON (p.product_id = pd.product_id)
WHERE
p.product_id = '27'
AND p.date_available <= NOW()
AND p.status = '1'
AND r.status = '1'
AND pd.language_id = '2'
ORDER BY
r.date_added DESC
LIMIT 1
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/journal3/seo.php:323
156 (0.380)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
157 (0.342)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
158 (0.371)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
159 (0.314)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
160 (0.357)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
161 (0.494)
SELECT *
FROM ttq_setting
WHERE store_id = '0' AND `code` = 'advertise_google'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/setting.php:6
162 (0.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
163 (0.330)
SELECT *
FROM ttq_theme
WHERE store_id = '0' AND theme = 'journal3' AND route = 'product/product'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/theme.php:4
164 (0.317)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
165 (0.267)
SELECT *
FROM ttq_translation
WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'vi-vn')
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/design/translation.php:6
166 (0.381)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
167 (0.431)
SELECT *
FROM ttq_setting
WHERE store_id = '0' AND `code` = 'advertise_google'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/setting.php:6
168 (0.357)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'e2de58e21815b6ecb38a07449f'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36