1 (0.102)
SET time_zone = '+00:00'
/home/lifesmart/domains/lifesmart.vn/public_html/system/framework.php:84
2 (0.274)
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.308)
SELECT `data`
FROM `ttq_session`
WHERE `session_id` = '8f8ee31d29149d673ea3f1f023' AND `expire` > '2024-12-21 17:53:04'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/session/db.php:16
4 (0.263)
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.490)
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.252)
SELECT *
FROM ttq_currency
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/currency.php:10
8 (0.488)
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.326)
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.344)
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.289)
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.554)
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.397)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'dieu-khien-thong-minh' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
15 (0.262)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'bo-xu-ly-trung-tam-smart-station-lifesmart' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
16 (0.220)
SELECT
count(*) AS total
FROM
`ttq_journal3_skin`
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/settings.php:112
17 (0.380)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
18 (0.345)
SELECT *
FROM ttq_product_to_layout
WHERE product_id = '12' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:411
19 (0.408)
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.276)
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.317)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
22 (0.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
23 (0.295)
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.330)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
25 (0.293)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
26 (0.296)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
27 (0.306)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
28 (0.315)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
29 (0.341)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
30 (0.426)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
31 (0.298)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
32 (0.308)
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.315)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '12'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:428
34 (0.370)
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 = '5' 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.228)
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.294)
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 = '5' 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.261)
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 = '5' 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.280)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=5' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
39 (0.254)
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 = '5' 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 (1.336)
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 = '12' 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.226)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '12' AND category_id IN(5)
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:565
42 (0.204)
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.337)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '273'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
44 (0.935)
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 = '12' 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 (0.820)
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 = '12' 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.169)
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 = '12' 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.274)
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.243)
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.309)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '12' 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.220)
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.315)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
52 (0.271)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '274'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
53 (0.277)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
54 (0.248)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '275'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
55 (0.323)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
56 (0.286)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '276'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
57 (0.358)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
58 (0.626)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '12'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
59 (0.255)
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.323)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
61 (0.313)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '12'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
62 (0.232)
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.290)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
64 (0.264)
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.305)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=5' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
66 (0.245)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
67 (0.282)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
68 (0.339)
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.347)
SELECT *
FROM ttq_product_image
WHERE product_id = '12'
ORDER BY sort_order ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:393
70 (0.322)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '12'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
71 (0.206)
SELECT *
FROM ttq_product_discount
WHERE product_id = '12' 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 (0.246)
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 = '12' 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.278)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '12' 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.316)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
75 (0.600)
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 = '12' 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 (0.934)
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 = '12' 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 (0.280)
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 = 12 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.244)
UPDATE ttq_product SET viewed = (viewed + 1)
WHERE product_id = '12'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:4
79 (0.321)
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 = '12'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/journal3/opencart/model.php:48
80 (0.238)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
81 (0.282)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
82 (0.318)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
83 (0.278)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
84 (0.342)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
85 (0.341)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
86 (0.261)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
87 (0.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/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.329)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
90 (0.262)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
91 (0.285)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
92 (0.234)
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.358)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
94 (0.236)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
95 (0.290)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
96 (0.251)
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.312)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
98 (0.267)
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.334)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
100 (0.222)
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.359)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
102 (0.240)
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.288)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
104 (0.252)
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.322)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
106 (0.293)
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.357)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
108 (0.245)
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.310)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
110 (0.262)
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.402)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
112 (0.199)
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.301)
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.332)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
115 (0.311)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
116 (0.299)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
117 (0.294)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
118 (0.342)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
119 (0.530)
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.313)
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.362)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
122 (0.322)
SELECT *
FROM ttq_extension
WHERE `type` = 'analytics'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
123 (0.254)
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.292)
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.505)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=5' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
126 (0.359)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
127 (0.247)
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.388)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
129 (0.247)
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.460)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'category_id=5' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:331
131 (0.384)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
132 (0.281)
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.346)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
134 (0.270)
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.287)
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.315)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
137 (0.293)
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.388)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
139 (0.315)
SELECT *
FROM ttq_extension
WHERE `type` = 'total'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
140 (0.296)
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.333)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
142 (0.433)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
143 (0.219)
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.346)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
145 (0.389)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
146 (0.312)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
147 (0.243)
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.317)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
149 (0.301)
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.259)
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.355)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
152 (0.239)
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.505)
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 = '12' 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.487)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=12' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
155 (0.520)
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 = '12'
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.303)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
157 (0.431)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
158 (0.318)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
159 (0.366)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
160 (0.331)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
161 (0.485)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
163 (0.267)
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.381)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
165 (0.272)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
167 (0.461)
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.424)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '8f8ee31d29149d673ea3f1f023'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36