1 (0.139)
SET time_zone = '+00:00'
/home/lifesmart/domains/lifesmart.vn/public_html/system/framework.php:84
2 (0.414)
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.362)
SELECT `data`
FROM `ttq_session`
WHERE `session_id` = '05f5321a21c96e09e0f6284a16' AND `expire` > '2024-12-03 17:49:33'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/session/db.php:16
4 (0.241)
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.677)
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.304)
SELECT *
FROM ttq_currency
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/currency.php:10
8 (0.508)
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.300)
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.364)
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.309)
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.352)
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.553)
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.418)
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.302)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'bo-den-luc-giac-lap-ghep-cololight-pro' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
16 (0.295)
SELECT
count(*) AS total
FROM
`ttq_journal3_skin`
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/settings.php:112
17 (0.427)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
18 (1.510)
SELECT *
FROM ttq_product_to_layout
WHERE product_id = '32' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:411
19 (0.450)
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.360)
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.334)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
22 (0.406)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
23 (0.256)
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.417)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
25 (0.338)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
26 (0.380)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
27 (0.299)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
28 (0.439)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
29 (0.382)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
30 (0.322)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
31 (0.334)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
32 (0.305)
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 (1.408)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '32'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:428
34 (1.938)
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.278)
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.292)
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.306)
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.406)
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.241)
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 (5.559)
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 = '32' 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.230)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '32' AND category_id IN(7)
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:565
42 (0.308)
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.359)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '273'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
44 (1.062)
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 = '32' 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.688)
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 = '32' 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.621)
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 = '32' 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.265)
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.285)
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 = '32' 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.252)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
52 (0.306)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '274'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
53 (0.282)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
54 (0.350)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '275'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
55 (0.320)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
56 (0.308)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '276'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
57 (0.288)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
58 (2.479)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '32'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
59 (0.235)
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.279)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
61 (0.263)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '32'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
62 (0.208)
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.361)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
64 (0.765)
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.507)
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.313)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
67 (0.304)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
68 (0.305)
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 (1.042)
SELECT *
FROM ttq_product_image
WHERE product_id = '32'
ORDER BY sort_order ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:393
70 (0.378)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '32'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
71 (0.282)
SELECT *
FROM ttq_product_discount
WHERE product_id = '32' 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 (2.261)
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 = '32' 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.367)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '32' 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.319)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
75 (0.577)
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 = '32' 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.150)
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 = '32' 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.501)
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 = 32 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.319)
UPDATE ttq_product SET viewed = (viewed + 1)
WHERE product_id = '32'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:4
79 (1.607)
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 = '32'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/journal3/opencart/model.php:48
80 (0.344)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
81 (0.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
82 (0.301)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
83 (0.325)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
84 (0.298)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
85 (0.309)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
86 (0.308)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
87 (0.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
88 (0.306)
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.303)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
90 (0.250)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
91 (0.282)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
92 (0.260)
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.345)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
94 (0.240)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
95 (0.325)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
96 (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
97 (0.370)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
98 (0.276)
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.459)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
100 (0.256)
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.441)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
102 (0.248)
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.385)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
104 (0.320)
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.326)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
106 (0.368)
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.355)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
108 (0.307)
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.300)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
110 (0.271)
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.344)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
112 (0.234)
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.257)
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.328)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
115 (0.355)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
116 (0.337)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
117 (0.297)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
118 (0.329)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
119 (0.477)
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.243)
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.329)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
122 (0.441)
SELECT *
FROM ttq_extension
WHERE `type` = 'analytics'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
123 (0.287)
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.233)
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.508)
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.316)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
127 (0.242)
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.324)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
129 (0.328)
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.375)
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.367)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
132 (0.341)
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.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
134 (0.324)
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.275)
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.328)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
137 (0.296)
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.246)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
139 (0.250)
SELECT *
FROM ttq_extension
WHERE `type` = 'total'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
140 (0.356)
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.307)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
142 (0.361)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
143 (0.273)
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.291)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
145 (0.416)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
146 (0.271)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
147 (0.310)
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.335)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
149 (0.288)
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.275)
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.319)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
152 (0.309)
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.463)
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 = '32' 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.296)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=32' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
155 (0.456)
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 = '32'
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.374)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
157 (0.347)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
158 (0.344)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
159 (0.335)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
160 (0.335)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
161 (0.418)
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.324)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
163 (0.242)
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.348)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/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.356)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
167 (0.430)
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.280)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '05f5321a21c96e09e0f6284a16'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36