Первым нижним бельём была набедренная повязка. Люди носили её десятки тысяч лет. В Древнем Египте её сделали шире и называли схенти. Носили схенти мужчины, а женщины пользовались рубахами на бретельках из льна, которые начинались под грудью. В течение 2 тысяч лет открытая грудь была там в моде.
Состав тканей часто обозначается латинскими литерами. Чтобы Вы могли сориентироваться при выборе изделий, мы привели все основные условные обозначения и их расшифровку.
Бюстгальтеры не должны причинят боль. При правильной посадке эти «женские помощники» способны поднять несколько килограммов, а Вы даже и не почувствуете его на себе.
Давайте по-честному – сколько лет Вашему самому старому бюстгальтеру? Неважно 2 года или 5 лет – мы здесь, чтобы помочь, а не осуждать. Хотя бюстгальтер - самый важный элемент женского гардероба (всё-таки мы носим его каждый день), к сожалению, для многих не первостепенный. Конечно, ваш старый бюстгальтер может быть всё еще «ничего», но, вероятно, срок годности его уже давно истёк. Давайте выясним, когда же стоит покупать новый бюстгальтер.
Поднимите руку, если вы когда-нибудь бросали бюстгальтер в стиральную машину. С таким количеством проблем и забот в нашей повседневной жизни, мы зачастую не уделяем внимание этому… А ведь правильная стирка бюстгальтеров является ключом к их долголетию. Предлагаем Вам несколько опробованных вариантов ухода за бельем, которые не только бывают быстрыми и легкими (даже методом ручной стирки!), но также гарантируют, что ваши бюстгальтеры сохранят свою форму.
FROM oc_store
WHERE REPLACE(`ssl`, 'www.', '') = 'https://compliment-shop.ru/'
FROM `oc_setting`
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
FROM `oc_language`
WHERE status = '1'
FROM oc_currency
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 = 'payment' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '2761')
ORDER BY tr1.priority ASC
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 = '2761')
ORDER BY tr1.priority ASC
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'
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'
FROM oc_cart
WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
FROM oc_giftlist
WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
FROM oc_extension
WHERE `type` = 'openbay'
FROM oc_event
FROM oc_redirects_smp
WHERE broken_link LIKE 'https://compliment-shop.ru/blog/' OR broken_link LIKE '/blog/' LIMIT 1
FROM oc_blog i
LEFT JOIN oc_blog_description id ON (i.blog_id = id.blog_id)
LEFT JOIN oc_blog_to_store i2s ON (i.blog_id = i2s.blog_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' AND i.sort_order <> '-1'
FROM oc_blog i
LEFT JOIN oc_blog_description id ON (i.blog_id = id.blog_id)
LEFT JOIN oc_blog_to_store i2s ON (i.blog_id = i2s.blog_id)
WHERE id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' AND i.sort_order <> '-1'
ORDER BY i.date_added DESC, i.sort_order DESC LIMIT 0,5
FROM oc_blog_comment nc
LEFT JOIN oc_blog n ON (nc.blog_id = n.blog_id)
LEFT JOIN oc_blog_description nd ON (n.blog_id = nd.blog_id)
WHERE n.blog_id = '6' AND n.status = '1' AND nc.status = '1' AND nd.language_id = '1'
FROM oc_blog_to_category
WHERE blog_id = '6'
ORDER BY main_category DESC LIMIT 1
FROM oc_blog_comment nc
LEFT JOIN oc_blog n ON (nc.blog_id = n.blog_id)
LEFT JOIN oc_blog_description nd ON (n.blog_id = nd.blog_id)
WHERE n.blog_id = '5' AND n.status = '1' AND nc.status = '1' AND nd.language_id = '1'
FROM oc_blog_to_category
WHERE blog_id = '5'
ORDER BY main_category DESC LIMIT 1
FROM oc_blog_comment nc
LEFT JOIN oc_blog n ON (nc.blog_id = n.blog_id)
LEFT JOIN oc_blog_description nd ON (n.blog_id = nd.blog_id)
WHERE n.blog_id = '4' AND n.status = '1' AND nc.status = '1' AND nd.language_id = '1'
FROM oc_blog_to_category
WHERE blog_id = '4'
ORDER BY main_category DESC LIMIT 1
FROM oc_blog_comment nc
LEFT JOIN oc_blog n ON (nc.blog_id = n.blog_id)
LEFT JOIN oc_blog_description nd ON (n.blog_id = nd.blog_id)
WHERE n.blog_id = '3' AND n.status = '1' AND nc.status = '1' AND nd.language_id = '1'
FROM oc_blog_to_category
WHERE blog_id = '3'
ORDER BY main_category DESC LIMIT 1
FROM oc_blog_comment nc
LEFT JOIN oc_blog n ON (nc.blog_id = n.blog_id)
LEFT JOIN oc_blog_description nd ON (n.blog_id = nd.blog_id)
WHERE n.blog_id = '1' AND n.status = '1' AND nc.status = '1' AND nd.language_id = '1'
FROM oc_blog_to_category
WHERE blog_id = '1'
ORDER BY main_category DESC LIMIT 1
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'column_left'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'column_right'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'content_top'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'content_bottom'
ORDER BY sort_order
FROM obixod_shop
FROM oc_ocdevwizard_setting
WHERE store_id = '0' AND `key` = 'smart_abandoned_cart_form_data'
FROM oc_smac_record
WHERE customer_id = '55f2383383814bc555af504034cb8095'
FROM `oc_review`
FROM `oc_review`
FROM oc_product p
WHERE p.status = 1
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'customfooter_top'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'customfooter_bottom'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'customfooter'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'footer'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'footer2'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'bottom'
ORDER BY sort_order
FROM obixod_shop
FROM oc_ocdevwizard_setting
WHERE store_id = '0' AND `key` = 'smart_abandoned_cart_form_data'
FROM oc_extension
WHERE `type` = 'analytics'
FROM oc_extension
WHERE `type` = 'module' AND `code` = 'related_options'
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)
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_extension
WHERE `type` = 'total'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_extension
WHERE `type` = 'total'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_cart
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_giftlist
WHERE customer_id = '0' AND session_id = '55f2383383814bc555af504034cb8095'
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'popup'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'header_notice'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'cookie'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'menu'
ORDER BY sort_order
FROM oc_mega_menu
WHERE parent_id='0' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='5' AND status='0' AND module_id='0'
ORDER BY rang
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 = '31' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '32' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '33' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '34' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '35' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '36' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '83' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='18' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='9' AND status='0' AND module_id='0'
ORDER BY rang
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 = '44' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '45' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '87' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '46' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '86' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '88' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '47' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '48' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '49' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '50' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='22' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='3' AND status='0' AND module_id='0'
ORDER BY rang
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 = '25' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '27' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '26' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '28' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='16' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='2' AND status='0' AND module_id='0'
ORDER BY rang
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 = '19' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '20' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '21' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '78' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '22' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '84' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '23' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '24' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='15' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='1' AND status='0' AND module_id='0'
ORDER BY rang
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 = '17' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '15' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '18' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '14' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '16' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='14' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='8' AND status='0' AND module_id='0'
ORDER BY rang
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 = '39' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '40' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '41' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '42' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '43' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='21' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='6' AND status='0' AND module_id='0'
ORDER BY rang
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 = '10' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '11' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '12' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '13' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='19' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='7' AND status='0' AND module_id='0'
ORDER BY rang
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 = '37' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '7' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '38' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '7' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='20' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='25' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='26' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='27' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='31' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='32' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='29' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='33' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'menu2'
ORDER BY sort_order
FROM oc_mega_menu
WHERE parent_id='0' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='10' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='12' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='11' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='13' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='23' AND status='0' AND module_id='1'
ORDER BY rang
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'top_block'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'menu'
ORDER BY sort_order
FROM oc_mega_menu
WHERE parent_id='0' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='5' AND status='0' AND module_id='0'
ORDER BY rang
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 = '31' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '32' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '33' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '34' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '35' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '36' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '83' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '1' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='18' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='9' AND status='0' AND module_id='0'
ORDER BY rang
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 = '44' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '45' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '87' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '46' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '86' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '88' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '47' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '48' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '49' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '50' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '8' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='22' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='3' AND status='0' AND module_id='0'
ORDER BY rang
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 = '25' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '27' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '26' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '28' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '2' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='16' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='2' AND status='0' AND module_id='0'
ORDER BY rang
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 = '19' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '20' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '21' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '78' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '22' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '84' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '23' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '24' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='15' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='1' AND status='0' AND module_id='0'
ORDER BY rang
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 = '17' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '15' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '18' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '14' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '16' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '4' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='14' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='8' AND status='0' AND module_id='0'
ORDER BY rang
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 = '39' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '40' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '41' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '42' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '43' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '5' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='21' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='6' AND status='0' AND module_id='0'
ORDER BY rang
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 = '10' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '11' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '12' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '13' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '6' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='19' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='7' AND status='0' AND module_id='0'
ORDER BY rang
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 = '37' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '7' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '38' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 = '7' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1'
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 sss.schema
FROM oc_stock_status_schema sss
WHERE sss.stock_status_id = p.stock_status_id) AS stock_status_schema, (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)
LEFT JOIN oc_unit u ON (p.unit_id = u.unit_id)
WHERE p.product_id = '0' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
FROM oc_mega_menu
WHERE parent_id='20' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='25' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='26' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='27' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='31' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='32' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='29' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_mega_menu
WHERE parent_id='33' AND status='0' AND module_id='0'
ORDER BY rang
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'slideshow'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'breadcrumb'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'preface_left'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'preface_right'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'preface_fullwidth'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'column_left'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'content_big_column'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'content_top'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'column_right'
ORDER BY sort_order
FROM oc_layout_route
WHERE 'blog/home' LIKE route AND store_id = '0'
ORDER BY route DESC LIMIT 1
FROM oc_extension
WHERE `type` = 'module'
FROM oc_layout
WHERE LOWER(name) = 'all pages' LIMIT 1
FROM oc_layout_module
WHERE (layout_id = '16' OR layout_id = '20') AND position = 'content_bottom'
ORDER BY sort_order