menu::get [2249] sql
select t.menu_id, t.parent, t.category_id, t.text, ifnull(t.icon, (select c.icon from categories c where c.categories_id = t.category_id)) icon, ifnull(t.icon_image, (select c.icon_image from categories c where c.categories_id = t.category_id)) icon_image, t.ord, (select c.czy_pokazac from categories c where c.categories_id = t.category_id) view, (select count(1) from categories_to_menu tt where tt.parent = t.menu_id) kids,if(
((select count(1) from categories_to_menu tt where tt.parent = t.menu_id) = 0),
(select count(1) from products p inner join products_to_categories pc on pc.products_id = p.products_id where pc.categories_id = t.category_id and p.wycofany = 0 and p.products_status = 1),
0) prods from categories_to_menu t where t.parent = 0 and t.language_id = 1 and t.menu_version = 2 and t.id_partnera = 0 order by t.ord
Monitor 24 cale ViewFinity S60D IPS 2560x1440 WQHD 16:9 1xHDMI 1xDP 3xUSB 3.0 5ms PinP-PbyP 100Hz HAS PIV płaski 3YOn-Site
Strona korzysta z plików cookies w celu realizacji usług i zgodnie z Polityką Plików Cookies.
Możesz określić warunki przechowywania lub dostępu do plików cookies w Twojej przeglądarce.