Productos
Ver filtros
SELECT itemcategorys.id_itemcategory, itemcategorys_1.id_itemcategory, itemcategorys_2.id_itemcategory, itemcategorys.id_itemcategory AS cat1, itemcategorys.itemcategoryname AS catnombre1, itemcategorys_1.id_itemcategory AS cat2, itemcategorys_1.itemcategoryname AS catnombre2, itemcategorys_2.id_itemcategory AS cat3, itemcategorys_2.itemcategoryname AS catnombre3, itemcategorys_3.id_itemcategory AS cat4, itemcategorys_3.itemcategoryname AS catnombre4, itemcategorys_4.id_itemcategory AS cat5, itemcategorys_4.itemcategoryname AS catnombre5, items.*, itemgeneros.itemgeneroname, itemmakes.itemmakename, itemtemporadas.itemtemporadaorder FROM (((items LEFT JOIN itemmakes ON items.id_itemmake = itemmakes.id_itemmake) LEFT JOIN itemgeneros ON items.id_itemgenero = itemgeneros.id_itemgenero) LEFT JOIN (itemcategorys AS itemcategorys_4 LEFT JOIN (itemcategorys AS itemcategorys_3 LEFT JOIN ((itemcategorys AS itemcategorys_2 LEFT JOIN itemcategorys AS itemcategorys_1 ON itemcategorys_2.itemcategoryfather = itemcategorys_1.id_itemcategory) LEFT JOIN itemcategorys ON itemcategorys_1.itemcategoryfather = itemcategorys.id_itemcategory) ON itemcategorys_3.itemcategoryfather = itemcategorys_2.id_itemcategory) ON itemcategorys_4.itemcategoryfather = itemcategorys_3.id_itemcategory) ON items.id_itemcategory = itemcategorys_4.id_itemcategory) LEFT JOIN itemtemporadas ON items.id_itemtemporada = itemtemporadas.id_itemtemporada WHERE itemstatus_2='si' AND items.id_page=8 ORDER BY itemtemporadaorder DESC, itemorder_2 DESC, itemproximamente ASC, id_item DESC LIMIT 1776,24