1 (0.119)
SET time_zone = '+00:00'
/home/lifesmart/domains/lifesmart.vn/public_html/system/framework.php:84
2 (1.143)
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.314)
SELECT `data`
FROM `ttq_session`
WHERE `session_id` = '1501ff5e97410bb8797d3a5f0a' AND `expire` > '2024-12-03 17:54:45'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/session/db.php:16
4 (0.692)
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.541)
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.108)
SET time_zone = '+07:00'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/startup.php:40
7 (0.220)
SELECT *
FROM ttq_currency
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/currency.php:10
8 (0.447)
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.323)
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.381)
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.340)
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.330)
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.465)
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 (1.040)
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.296)
SELECT *
FROM ttq_seo_url
WHERE keyword = 'porch-wall-lamp' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:61
16 (0.706)
SELECT
count(*) AS total
FROM
`ttq_journal3_skin`
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/settings.php:112
17 (0.565)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
18 (0.796)
SELECT *
FROM ttq_product_to_layout
WHERE product_id = '37' AND store_id = '0'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:411
19 (0.882)
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.766)
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.292)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
22 (0.344)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
23 (0.665)
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.272)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/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 = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
26 (0.342)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
27 (0.423)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
28 (0.450)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
29 (0.273)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
30 (0.257)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
31 (0.271)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
32 (0.212)
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.669)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '37'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:428
34 (1.545)
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.267)
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.328)
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.267)
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.304)
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.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 = '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.776)
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 = '37' 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.191)
SELECT *
FROM ttq_product_to_category
WHERE product_id = '37' AND category_id IN(7)
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:565
42 (0.270)
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.759)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '273'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
44 (0.963)
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 = '37' 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.294)
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 = '37' 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.421)
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 = '37' 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.216)
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.235)
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.280)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '37' 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.194)
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.313)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
52 (0.292)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '274'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
53 (0.294)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/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.390)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/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.282)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
58 (2.220)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '37'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
59 (0.242)
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.332)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
61 (0.288)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '37'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
62 (0.217)
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.248)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
64 (0.686)
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.303)
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.307)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
67 (0.295)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
68 (0.261)
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.873)
SELECT *
FROM ttq_product_image
WHERE product_id = '37'
ORDER BY sort_order ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:393
70 (0.260)
SELECT *
FROM ttq_product_custom_tab
WHERE product_id = '37'
ORDER BY id ASC
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:388
71 (0.295)
SELECT *
FROM ttq_product_discount
WHERE product_id = '37' 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.676)
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 = '37' 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.307)
SELECT COUNT(review_id) as count, rating
FROM ttq_review
WHERE product_id = '37' 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.355)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
75 (0.511)
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 = '37' 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.050)
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 = '37' 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.559)
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 = 37 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.290)
UPDATE ttq_product SET viewed = (viewed + 1)
WHERE product_id = '37'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/model/catalog/product.php:4
79 (1.564)
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 = '37'
/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 = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
81 (0.337)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
82 (0.273)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
83 (0.260)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
84 (0.283)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
85 (0.251)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
86 (0.267)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
87 (0.276)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
88 (0.264)
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.344)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
90 (0.269)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
91 (0.336)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
92 (0.264)
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.343)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
94 (0.305)
SELECT *
FROM `ttq_journal3_module`
WHERE `module_id` = '0'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/journal3/module.php:8
95 (0.308)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
96 (0.239)
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.340)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
98 (0.239)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
100 (0.232)
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.327)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
102 (0.264)
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.330)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
104 (0.256)
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.339)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
106 (0.247)
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.302)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
108 (0.248)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
110 (0.253)
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.316)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
112 (0.283)
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.260)
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.322)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
115 (0.290)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
116 (0.302)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
117 (0.333)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
118 (0.290)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
119 (0.411)
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.254)
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.282)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
122 (1.208)
SELECT *
FROM ttq_extension
WHERE `type` = 'analytics'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
123 (0.243)
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.229)
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.353)
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.355)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
127 (0.282)
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.322)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
129 (0.275)
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.364)
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.350)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
132 (0.248)
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.318)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
134 (0.224)
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.256)
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.276)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
137 (0.261)
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.309)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
139 (0.278)
SELECT *
FROM ttq_extension
WHERE `type` = 'total'
/home/lifesmart/domains/lifesmart.vn/public_html/catalog/model/setting/extension.php:4
140 (0.297)
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.309)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
142 (0.277)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
143 (0.290)
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.297)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
145 (0.334)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
146 (0.295)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
147 (0.230)
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.306)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
149 (0.256)
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.237)
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.331)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
152 (0.243)
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.155)
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 = '37' 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.368)
SELECT *
FROM ttq_seo_url
WHERE `query` = 'product_id=37' AND store_id = '0' AND language_id = '2'
/home/lifesmart/domains/lifesmart.vn/storage/modification/catalog/controller/startup/seo_url.php:243
155 (0.450)
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 = '37'
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.337)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
157 (0.322)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
158 (0.335)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
159 (0.278)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
160 (0.338)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
161 (0.371)
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.301)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
163 (0.223)
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.338)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
165 (0.244)
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.270)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36
167 (0.400)
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.311)
SELECT *
FROM ttq_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = '1501ff5e97410bb8797d3a5f0a'
/home/lifesmart/domains/lifesmart.vn/public_html/system/library/cart/cart.php:36