0
Хит

Масляный универсальный бальзам ЯРА

  • На складе
  • 450₽

оценка: 5; 78 отзывов



Мы знаем, как вы ждали возвращения наших масляных кремов ЯРА и БЛАГОДАР. Кремов, которые были нашими хитами на протяжении 4х лет (!) Мы создали для вас квинтэссенцию этих двух продуктов, чтобы сделать идеальный бальзам-крем для всех случаев жизни в супер удобной упаковке!

Благодаря прекрасному составу этот крем подойдет практически для любых целей, а также поможет справиться с порезами и растяжениями и маленькими ранками. Подойдет для любой кожи, особенно склонной к сухости, раздражениям и прыщам. Возрастной коже он поможет справиться с морщинками, разгладит  и наполнит ее необходимыми витаминами, благодаря великолепному составу. В холодную пору помогает справиться с проблемой обветривания и сухости кожи, летом отлично защитит от воздействия УФ-лучей, а также поможет справиться с солнечными ожогами и покраснениями кожи. Подходит для ежедневного использования.

  • у вас сухие руки/ноги - это ваш спаситель
  • летом поможет снять раздражение от укусов насекомых, ссадин, ожогов, порезов.
  • возьмите его с собой в поход, в лес, на прогулку с детьми
  • хотите избавиться от сухости и шелушения на лице - это самый лучший вариант
  • у продукта очень необычный и приятный природный, лесной аромат. Если вы от него точно "закайфуте" и, возможно, захотите использовать его как духи!
  • разнозаживляющие и рассасывающие (синяки, припухлости и т.д) свойства точно не оставят вас равнодушными!
  • используй крем локально на воспаления, высыпания, прыщи
  • подойдет как для сухой, так и проблемной кожи

Состав: виноградной косточки масло,, ши (карите) масло,, кедровое масло,, лавровое масло,, воск пчелиный,, токоферол (смесь), бета-ситостерол, сквален,, хлорофилл-каротиновая паста,, экстракт можжевельника,, эфирное масло лаванды,, эфирное масло цитронеллы,, эфирное масло эвкалипта.

Способ применения: небольшое количество продукта наносить на чистую кожу \ ранку \ раздражение Достаточно создать небольшую пленку продукта на поверхности кожи - излишки будут долго впитываться. Перед применением продукта на лицо рекомендуем использовать гидролат.

Цвет: хвойно-зеленый

Запах: лесной, хвойный, природный

Объем: 30 мл.

Срок годности: 12 месяцев.

! Важно ! продукт представляет собой смесь натуральных масел и пчелиного воска. В нем нет водной фазы. Из-за этого продукт имеет плотную текстуру и экономичный расход. Так же, ввиду этого, нежелателен избыток нанесенного продукта, т.к. он может впитываться кожей весьма длительное время. Для ускорения впитывания рекомендуем наносить на влажную кожу.

Написать отзыв

Внимание: для вопросов и иных сообщений, не относящихся к теме реальных отзывов о продукте, предусмотрена форма обратной связи
Мы оставляем за собой право удалять сообщения, не относящиеся к отзывам.
    Плохо           Хорошо
Натуральная косметика из органических компонентов
Узнай, как купить дешевле скидки от 10% до 25%
Гарантия доставки Все приедет в целости

Вместе дешевле

БАЛЬЗАМ ЯРА: дайте два!

+
=
Экономия: 45₽
Queries: 117, Total time: 70.146 ms [By time] [By id] [By file]
1 (0.236)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/cosmavera.com/html/system/library/openbay.php:117
2 (0.151)
SELECT *
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://cosmavera.com/'
/var/www/cosmavera.com/html/system/storage/modification/catalog/controller/startup/startup.php:6
3 (4.864)
SELECT *
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/cosmavera.com/html/system/storage/modification/catalog/controller/startup/startup.php:25
4 (0.245)
SELECT *
FROM oc_currency
/var/www/cosmavera.com/html/system/library/cart/currency.php:10
5 (0.147)
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 = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2807')
ORDER BY tr1.priority ASC
/var/www/cosmavera.com/html/system/library/cart/tax.php:17
6 (0.128)
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 = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2807')
ORDER BY tr1.priority ASC
/var/www/cosmavera.com/html/system/library/cart/tax.php:45
7 (0.107)
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/cosmavera.com/html/system/library/cart/weight.php:10
8 (0.107)
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/cosmavera.com/html/system/library/cart/length.php:10
9 (2.799)
DELETE
FROM oc_cart
WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 2 DAY)
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:15
10 (0.314)
SELECT *
FROM oc_extension
WHERE `type` = 'openbay'
/var/www/cosmavera.com/html/system/library/openbay.php:117
11 (0.135)
SELECT *
FROM `oc_event`
WHERE `trigger` LIKE 'catalog/%' AND status = '1'
ORDER BY `event_id` ASC
/var/www/cosmavera.com/html/catalog/model/extension/event.php:4
12 (0.192)
SELECT *
FROM oc_language
WHERE status = '1'
/var/www/cosmavera.com/html/catalog/controller/common/seoblog.php:104
13 (0.143)
SELECT *
FROM oc_layout l
LEFT JOIN oc_layout_route lr ON (l.layout_id = lr.layout_id)
ORDER BY name ASC
/var/www/cosmavera.com/html/catalog/model/design/bloglayout.php:42
14 (0.299)
SELECT DISTINCT *
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.category_id = '60' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:4
15 (8.701)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
16 (1.952)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '116' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
17 (1.735)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '114' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
18 (1.638)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
19 (3.666)
SELECT DISTINCT(k.id) as id,k.*
FROM `oc_kjset` k
LEFT JOIN `oc_kjset_product` kp ON k.id = kp.set_id
WHERE kp.product_id='115' AND k.status='1' AND(`customer_group_id`='0' OR (0<>0 AND `customer_group_id`='') OR (0=0 AND `customer_group_id`='1')) AND k.id NOT IN (SELECT DISTINCT(k.id)
FROM `oc_kjset_product` kp
LEFT JOIN `oc_kjset` k ON kp.set_id = k.id
LEFT JOIN `oc_product` p ON p.product_id=kp.product_id
WHERE p.quantity = 0 OR p.status = 0)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:98
20 (0.110)
SELECT *
FROM `oc_kjset_product`
WHERE oc_kjset_product.set_id IN(85);
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:108
21 (1.900)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
22 (0.210)
SELECT DISTINCT(k.id) as id,k.*
FROM `oc_kjset` k
LEFT JOIN `oc_kjset_product` kp ON k.id = kp.set_id
WHERE kp.product_id='115' AND k.status='1' AND(`customer_group_id`='0' OR (0<>0 AND `customer_group_id`='') OR (0=0 AND `customer_group_id`='1')) AND k.id NOT IN (SELECT DISTINCT(k.id)
FROM `oc_kjset_product` kp
LEFT JOIN `oc_kjset` k ON kp.set_id = k.id
LEFT JOIN `oc_product` p ON p.product_id=kp.product_id
WHERE p.quantity = 0 OR p.status = 0)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:98
23 (0.108)
SELECT *
FROM `oc_kjset_product`
WHERE oc_kjset_product.set_id IN(85);
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:108
24 (0.970)
SELECT * , (SELECT price
FROM oc_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
FROM oc_product p
LEFT JOIN oc_product_description pd ON p.product_id = pd.product_id
WHERE p.product_id IN (115,115)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:17
25 (0.102)
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 IN (115,115) AND od.language_id = '1'
ORDER BY po.product_id, o.sort_order
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:32
26 (0.097)
SELECT *
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id IN (115,115) AND ovd.language_id = '1'
ORDER BY pov.product_id, pov.product_option_id, ov.sort_order
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:36
27 (1.848)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
28 (0.578)
SELECT *
FROM oc_product_discount
WHERE product_id = '115' 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
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:379
29 (1.859)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
30 (0.309)
SELECT *
FROM oc_product_discount
WHERE product_id = '115' 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
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:379
31 (3.312)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
32 (0.115)
SELECT DISTINCT(k.id) as id,k.*
FROM `oc_kjset` k
LEFT JOIN `oc_kjset_product` kp ON k.id = kp.set_id
WHERE kp.product_id='115' AND k.status='1' AND(`customer_group_id`='0' OR (0<>0 AND `customer_group_id`='') OR (0=0 AND `customer_group_id`='1')) AND k.id NOT IN (SELECT DISTINCT(k.id)
FROM `oc_kjset_product` kp
LEFT JOIN `oc_kjset` k ON kp.set_id = k.id
LEFT JOIN `oc_product` p ON p.product_id=kp.product_id
WHERE p.quantity = 0 OR p.status = 0)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:98
33 (0.112)
SELECT *
FROM `oc_kjset_product`
WHERE oc_kjset_product.set_id IN(85);
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:108
34 (2.518)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
35 (0.197)
SELECT DISTINCT(k.id) as id,k.*
FROM `oc_kjset` k
LEFT JOIN `oc_kjset_product` kp ON k.id = kp.set_id
WHERE kp.product_id='115' AND k.status='1' AND(`customer_group_id`='0' OR (0<>0 AND `customer_group_id`='') OR (0=0 AND `customer_group_id`='1')) AND k.id NOT IN (SELECT DISTINCT(k.id)
FROM `oc_kjset_product` kp
LEFT JOIN `oc_kjset` k ON kp.set_id = k.id
LEFT JOIN `oc_product` p ON p.product_id=kp.product_id
WHERE p.quantity = 0 OR p.status = 0)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:98
36 (0.108)
SELECT *
FROM `oc_kjset_product`
WHERE oc_kjset_product.set_id IN(85);
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:108
37 (0.988)
SELECT * , (SELECT price
FROM oc_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
FROM oc_product p
LEFT JOIN oc_product_description pd ON p.product_id = pd.product_id
WHERE p.product_id IN (115,115)
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:17
38 (0.094)
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 IN (115,115) AND od.language_id = '1'
ORDER BY po.product_id, o.sort_order
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:32
39 (0.130)
SELECT *
FROM oc_product_option_value pov
LEFT JOIN oc_option_value ov ON (pov.option_value_id = ov.option_value_id)
LEFT JOIN oc_option_value_description ovd ON (ov.option_value_id = ovd.option_value_id)
WHERE pov.product_id IN (115,115) AND ovd.language_id = '1'
ORDER BY pov.product_id, pov.product_option_id, ov.sort_order
/var/www/cosmavera.com/html/catalog/model/extension/module/sets.php:36
40 (1.892)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
41 (0.302)
SELECT *
FROM oc_product_discount
WHERE product_id = '115' 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
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:379
42 (1.342)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
43 (0.260)
SELECT *
FROM oc_product_discount
WHERE product_id = '115' 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
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:379
44 (0.123)
SELECT DISTINCT *, md.name AS name
FROM oc_manufacturer m
LEFT JOIN oc_manufacturer_description md ON (m.manufacturer_id = md.manufacturer_id)
LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
WHERE md.language_id = '1' && m.manufacturer_id = '0' AND m2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/manufacturer.php:4
45 (0.132)
SELECT *
FROM oc_product_image
WHERE product_id = '115'
ORDER BY sort_order ASC
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:385
46 (0.337)
SELECT *
FROM oc_product_discount
WHERE product_id = '115' 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
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:379
47 (0.108)
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 = '115' AND od.language_id = '1'
ORDER BY o.sort_order
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:342
48 (0.104)
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 = '115' AND agd.language_id = '1' GROUP BY ag.attribute_group_id
ORDER BY ag.sort_order, agd.name
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:314
49 (0.510)
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 = '115' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:393
50 (0.087)
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 = 115 AND status = '1' AND pr.customer_group_id = '1'
ORDER BY sort_order ASC
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:527
51 (0.567)
UPDATE oc_product SET viewed = (viewed + 1)
WHERE product_id = '115'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:4
52 (0.131)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '115' AND store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:403
53 (0.097)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/design/layout.php:4
54 (0.058)
SELECT *
FROM oc_layout_route
WHERE layout_id='2' AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/agoo/design/layout.php:179
55 (0.096)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_left'
ORDER BY sort_order
/var/www/cosmavera.com/html/catalog/model/design/layout.php:14
56 (0.093)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '115' AND store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:403
57 (0.088)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/design/layout.php:4
58 (0.223)
SELECT *
FROM oc_layout_route
WHERE layout_id='2' AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/agoo/design/layout.php:179
59 (0.064)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'column_right'
ORDER BY sort_order
/var/www/cosmavera.com/html/catalog/model/design/layout.php:14
60 (0.074)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '115' AND store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:403
61 (0.071)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/design/layout.php:4
62 (0.056)
SELECT *
FROM oc_layout_route
WHERE layout_id='2' AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/agoo/design/layout.php:179
63 (0.060)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_top'
ORDER BY sort_order
/var/www/cosmavera.com/html/catalog/model/design/layout.php:14
64 (2.633)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT AVG(rating) AS total
FROM oc_comment r1
WHERE r1.record_id = p.record_id AND r1.status = '1' AND r1.rating_mark = '0' GROUP BY r1.record_id) AS rating, (SELECT COUNT(*) AS total
FROM oc_comment r2
WHERE r2.record_id = p.record_id AND r2.status = '1' GROUP BY r2.record_id) AS comments, p.sort_order
FROM oc_record p
LEFT JOIN oc_record_description pd ON (p.record_id = pd.record_id)
LEFT JOIN oc_record_to_store p2s ON (p.record_id = p2s.record_id)
LEFT JOIN oc_record_access raccess ON (raccess.record_id = p.record_id)
WHERE p.record_id = '1' AND raccess.customer_group_id IN (1) AND pd.language_id = '1' AND p.status = '1' AND NOW() BETWEEN p.date_available AND p.date_end AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/record/record.php:64
65 (0.172)
SELECT *
FROM oc_product_to_layout
WHERE product_id = '115' AND store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:403
66 (0.116)
SELECT *
FROM oc_layout_route
WHERE 'product/product' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/design/layout.php:4
67 (0.077)
SELECT *
FROM oc_layout_route
WHERE layout_id='2' AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/agoo/design/layout.php:179
68 (0.111)
SELECT *
FROM oc_layout_module
WHERE layout_id = '2' AND position = 'content_bottom'
ORDER BY sort_order
/var/www/cosmavera.com/html/catalog/model/design/layout.php:14
69 (0.181)
SELECT *
FROM oc_module
WHERE module_id = '39'
/var/www/cosmavera.com/html/catalog/model/extension/module.php:4
70 (2.001)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
71 (0.140)
SELECT *
FROM oc_language
WHERE status = '1'
/var/www/cosmavera.com/html/catalog/controller/common/seoblog.php:104
72 (0.100)
SELECT *
FROM oc_layout l
LEFT JOIN oc_layout_route lr ON (l.layout_id = lr.layout_id)
ORDER BY name ASC
/var/www/cosmavera.com/html/catalog/model/design/bloglayout.php:42
73 (0.111)
SELECT category_id
FROM oc_product_to_category
WHERE product_id = '115'
ORDER BY category_id DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/record/path.php:119
74 (1.421)
SELECT DISTINCT *, pd.name AS name, p.image, (SELECT md.name
FROM oc_manufacturer_description md
WHERE md.manufacturer_id = p.manufacturer_id AND md.language_id = '1') AS manufacturer, (SELECT price
FROM oc_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 oc_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 oc_product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') 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 = '115' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
/var/www/cosmavera.com/html/catalog/model/catalog/product.php:8
75 (0.112)
SELECT DISTINCT *
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.category_id = '72' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
/var/www/cosmavera.com/html/catalog/model/record/treecomments.php:416
76 (0.615)
SELECT COUNT(*) AS total
FROM oc_review r
LEFT JOIN oc_product p ON (r.product_id = p.product_id)
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
WHERE r.product_id = '115' AND p.product_id = '115' AND p.status = '1' AND r.status = '1' AND pd.language_id = '1' AND r.type_id = '1'
/var/www/cosmavera.com/html/catalog/model/record/treecomments.php:135
77 (1.862)
SELECT rc.*, rc.review_id as cid, rc.review_id as review_id, IF ((SELECT urc.delta
FROM oc_rate_review urc
WHERE urc.customer_id = '0' AND urc.review_id = rc.review_id LIMIT 1) < 0, -1 , IF ((SELECT urc.delta
FROM oc_rate_review urc
WHERE urc.customer_id = '0' AND urc.review_id = rc.review_id LIMIT 1) > 0, 1 , 0 ) ) as customer_delta , COUNT(rc.review_id) as rate_count, SUM(rc.delta) as rate_delta, SUM(rc.delta > 0) as rate_delta_blog_plus, SUM(rc.delta < 0) as rate_delta_blog_minus
FROM oc_rate_review rc
LEFT JOIN oc_review c on (rc.review_id = c.review_id)
LEFT JOIN oc_product r on (r.product_id = c.product_id)
LEFT JOIN oc_product_description pd ON (r.product_id = pd.product_id)
WHERE r.product_id= 115 AND r.status = '1' AND c.status = '1' AND pd.language_id = '1' GROUP BY rc.review_id
/var/www/cosmavera.com/html/catalog/model/record/treecomments.php:173
78 (0.088)
SELECT f.*
FROM oc_fields f GROUP BY f.field_id
ORDER BY f.field_order DESC
/var/www/cosmavera.com/html/catalog/model/record/fields.php:35
79 (0.054)
SELECT *
FROM oc_fields_description
/var/www/cosmavera.com/html/catalog/model/record/fields.php:43
80 (0.213)
SELECT f.*
FROM oc_fields f GROUP BY f.field_id
ORDER BY f.field_order DESC
/var/www/cosmavera.com/html/catalog/model/record/fields.php:35
81 (0.056)
SELECT *
FROM oc_fields_description
/var/www/cosmavera.com/html/catalog/model/record/fields.php:43
82 (0.416)
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/cosmavera.com/html/catalog/model/catalog/information.php:10
83 (0.133)
SELECT *
FROM oc_extension
WHERE `type` = 'analytics'
/var/www/cosmavera.com/html/catalog/model/extension/extension.php:4
84 (0.190)
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/cosmavera.com/html/catalog/model/catalog/information.php:10
85 (0.197)
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/cosmavera.com/html/catalog/model/catalog/category.php:10
86 (0.153)
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 = '59' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
87 (0.101)
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 = '62' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
88 (0.089)
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 = '63' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
89 (0.093)
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 = '64' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
90 (0.116)
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 = '69' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
91 (0.077)
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 = '70' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
92 (0.087)
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 = '75' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
93 (0.082)
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 = '80' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
94 (0.076)
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 = '83' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
95 (0.137)
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 = '60' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
96 (0.089)
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 = '71' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
97 (0.140)
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 = '72' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
98 (0.131)
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 = '74' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
99 (0.142)
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 = '76' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
100 (0.130)
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 = '77' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
101 (0.120)
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 = '84' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
102 (0.149)
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 = '61' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
103 (0.103)
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 = '65' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
104 (0.083)
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 = '66' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
105 (0.082)
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 = '67' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
106 (0.120)
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 = '68' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
107 (0.124)
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 = '78' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
108 (0.134)
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 = '79' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
ORDER BY c.sort_order, LCASE(cd.name)
/var/www/cosmavera.com/html/catalog/model/catalog/category.php:10
109 (4.443)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36
110 (0.121)
SELECT *
FROM oc_extension
WHERE `type` = 'total'
/var/www/cosmavera.com/html/catalog/model/extension/extension.php:4
111 (0.085)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36
112 (0.074)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36
113 (0.069)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36
114 (0.075)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36
115 (0.810)
SELECT `mg`.*, IFNULL(`t`.`total`, 0) AS `total`
FROM `oc_membership_gift` AS `mg`
LEFT JOIN (SELECT `gt`.`gift_id`, `gt`.`threshold`, COUNT(`ht`.`gift_id`) AS `total`
FROM `oc_membership_gift` AS `gt`
LEFT JOIN `oc_membership_gift_history` AS `ht` ON `gt`.`gift_id` = `ht`.`gift_id` GROUP BY `gt`.`gift_id`) as `t` ON `mg`.`gift_id` = `t`.`gift_id`
WHERE ((`mg`.`date_start` = '0000-00-00' OR `mg`.`date_start` < NOW()) AND (`mg`.`date_expiry` = '0000-00-00' OR `mg`.`date_expiry` > NOW())) AND `mg`.`threshold` <= '0' AND `mg`.`status` = 1 AND (`mg`.`giving_quantity` > `total` OR `mg`.`giving_quantity` = 0)
ORDER BY `mg`.`threshold` DESC LIMIT 1
/var/www/cosmavera.com/html/catalog/model/extension/total/membership_gift.php:31
116 (0.734)
SELECT SUM(quantity) as total
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:419
117 (0.077)
SELECT *
FROM oc_cart
WHERE api_id = '0' AND customer_id = '0' AND session_id = 'ce95fab81e71fe272a5945f9bd52aa07'
/var/www/cosmavera.com/html/system/storage/modification/system/library/cart/cart.php:36