Queries: 68, Total time: 27.235 ms [By time] [By id] [By file]
1 (0.261)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/openbay.php:117
2 (0.230)
SELECT *
FROM oc_store
WHERE REPLACE(`url`, 'www.', '') = 'http://shreebookcentre.com/'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/controller/startup/startup.php:8
3 (1.096)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/controller/startup/startup.php:25
4 (0.207)
SELECT *
FROM oc_currency
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/currency.php:10
5 (0.605)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '2' AND z2gz.country_id = '99' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '1493')
ORDER BY tr1.priority ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/system/storage/modification/system/library/cart/tax.php:23
6 (0.366)
SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority
FROM oc_tax_rule tr1
LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id)
INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id)
LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id)
LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id)
WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '2' AND z2gz.country_id = '99' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '1493')
ORDER BY tr1.priority ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/system/storage/modification/system/library/cart/tax.php:51
7 (0.261)
SELECT *
FROM oc_weight_class wc
LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id)
WHERE wcd.language_id = '1'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/weight.php:10
8 (0.283)
SELECT *
FROM oc_length_class mc
LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id)
WHERE mcd.language_id = '1'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/length.php:10
9 (1.046)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:15
10 (0.156)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/openbay.php:117
11 (0.210)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `event_id` ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/extension/event.php:4
12 (2.784)
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price
FROM oc_product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '2' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM oc_product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '2' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM oc_product_reward pr
WHERE pr.product_id = p.product_id AND pr.customer_group_id = '2') AS reward, (SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit
FROM oc_weight_class_description wcd
WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit
FROM oc_length_class_description lcd
WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM oc_product p
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
WHERE p.product_id = '18349' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:19
13 (0.243)
SELECT *
FROM oc_product_image
WHERE product_id = '18349'
ORDER BY sort_order ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:405
14 (0.238)
SELECT *
FROM oc_product_discount
WHERE product_id = '18349' AND customer_group_id = '2' 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
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:399
15 (0.427)
SELECT *
FROM oc_product_option po
LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
WHERE po.product_id = '18349' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:362
16 (0.363)
SELECT ag.attribute_group_id, agd.name
FROM oc_product_attribute pa
LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id)
LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id)
LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id)
WHERE pa.product_id = '18349' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:334
17 (1.748)
SELECT series
FROM oc_product_series_displaybox
WHERE product_id ='18349'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:1788
18 (1.753)
SELECT display_box
FROM oc_product_series_displaybox
WHERE series =''
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:1801
19 (0.302)
SELECT *
FROM oc_product_related pr
LEFT JOIN oc_product p ON (pr.related_id = p.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
WHERE pr.product_id = '18349' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:413
20 (0.333)
SELECT rd.*
FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 1 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
WHERE pr.product_id = 18349 AND status = '1' AND pr.customer_group_id = '2'
ORDER BY sort_order ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:582
21 (2.443)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '18349'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:15
22 (0.192)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '18349' AND store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:458
23 (0.214)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:4
24 (0.217)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
25 (0.139)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '18349' AND store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:458
26 (0.177)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:4
27 (0.165)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
28 (0.139)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '18349' AND store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:458
29 (0.173)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:4
30 (0.163)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
31 (0.173)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '18349' AND store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:458
32 (0.174)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:4
33 (0.164)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
34 (0.142)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '18349' AND store_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/product.php:458
35 (0.202)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:4
36 (0.161)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/themecontrol.php:22
37 (0.164)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_top'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
38 (0.161)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_center'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
39 (0.157)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_bottom'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
40 (0.816)
SELECT *
FROM oc_information i
LEFT JOIN oc_information_description id ON (i.information_id = id.information_id)
LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1'
ORDER BY i.sort_order, LCASE(id.title) ASC
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/information.php:10
41 (0.206)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_top'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
42 (0.164)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_center'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
43 (0.160)
SELECT *
FROM oc_layout_module
WHERE layout_id = '1' AND position = 'footer_bottom'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
44 (0.158)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'mass_bottom'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
45 (0.163)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'footer_bottom'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
46 (0.243)
SELECT *
FROM oc_extension
WHERE `type` = 'module'
ORDER BY code
/var/www/vhosts/shreebookcentre.com/httpdocs/system/pavothemes/framework.php:850
47 (0.622)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/category.php:10
48 (0.169)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/extension/extension.php:4
49 (0.466)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '0' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/category.php:10
50 (0.741)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '678' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/category.php:10
51 (0.792)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '594' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/category.php:10
52 (0.425)
SELECT *
FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c.parent_id = '662' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/catalog/category.php:10
53 (0.278)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'kslg0c1s28nqub8iu2jju86jfs'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:36
54 (0.167)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/extension/extension.php:4
55 (0.187)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'kslg0c1s28nqub8iu2jju86jfs'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:36
56 (0.214)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'kslg0c1s28nqub8iu2jju86jfs'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:36
57 (0.192)
SELECT SUM(amount) AS total
FROM oc_customer_transaction
WHERE customer_id = '0'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/customer.php:137
58 (0.186)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'kslg0c1s28nqub8iu2jju86jfs'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:36
59 (0.181)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'kslg0c1s28nqub8iu2jju86jfs'
/var/www/vhosts/shreebookcentre.com/httpdocs/system/library/cart/cart.php:36
60 (0.215)
SELECT *
FROM oc_extension
WHERE `type` = 'module'
ORDER BY code
/var/www/vhosts/shreebookcentre.com/httpdocs/system/pavothemes/framework.php:850
61 (0.492)
SELECT *
FROM oc_setting
WHERE store_id = '0' AND `code` = 'pavmegamenu_params'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/setting/setting.php:6
62 (0.457)
SHOW TABLES LIKE 'oc_megamenu'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/menu/megamenu.php:567
63 (0.369)
SELECT m.*, md.title,md.description
FROM oc_megamenu m
LEFT JOIN oc_megamenu_description md ON m.megamenu_id=md.megamenu_id AND language_id=1
WHERE m.`published`=1 AND store_id=0
ORDER BY `position`
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/menu/megamenu.php:47
64 (0.139)
SELECT `parent_id`
FROM `oc_category`
WHERE `category_id` = '594'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/menu/megamenu.php:493
65 (0.128)
SELECT `parent_id`
FROM `oc_category`
WHERE `category_id` = '662'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/menu/megamenu.php:493
66 (0.129)
SELECT `parent_id`
FROM `oc_category`
WHERE `category_id` = '678'
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/menu/megamenu.php:493
67 (0.176)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'slideshow'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14
68 (0.167)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'showcase'
ORDER BY sort_order
/var/www/vhosts/shreebookcentre.com/httpdocs/catalog/model/design/layout.php:14