string(2352) "SELECT DISTINCT apg.`id_accessory_group`, apg.`id_accessory`, apg.`default_quantity`, apg.`min_quantity`, apg.`required`, apg.`position`, pl.`link_rewrite`, pl.`description_short`, pl.`available_later`, p.`id_product` AS `id_product`, p.`is_virtual`, p.`reference`, stock.`quantity` AS `stock_available`, stock.`out_of_stock`, apg.`id_accessory_group_product`, apg.`id_product_attribute`, i.`id_image`, IF(`is`.`id_image`, `is`.`id_image`, i.`id_image`) `id_image` FROM `hinst_accessory_group_product` apg INNER JOIN `hinst_product` p ON (p.`id_product` = apg.`id_accessory` AND p.active =1)LEFT JOIN `hinst_product_lang` pl ON (pl.`id_product` = apg.`id_accessory` AND pl.`id_lang` = 4) LEFT JOIN `hinst_accessory_group_product_lang` agpl ON (agpl.`id_accessory_group_product` = apg.`id_accessory_group_product` AND agpl.`id_lang` = 4) LEFT JOIN `hinst_image` i ON (i.`id_product` = apg.`id_accessory` AND `i`.`cover` = 1) LEFT JOIN `hinst_image_shop` `is` ON ( `is`.`id_image` = i.`id_image` AND `is`.id_shop = 1 AND `is`.`cover` = 1) LEFT JOIN `hinst_image_lang` il ON (il.`id_image` = i.`id_image` AND il.`id_lang` = 4) LEFT JOIN hinst_stock_available stock ON (stock.id_product = p.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1 AND stock.id_shop_group = 0 ) INNER JOIN hinst_product_shop product_shop ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1) WHERE apg.`id_accessory_group` IN (1) AND apg.`id_product` IN(4245) AND p.`id_product` NOT IN (4245) GROUP BY apg.`id_accessory_group`, apg.`id_accessory` ORDER BY apg.`position` ASC" 4978 // array(5) { [0]=> string(4) "1981" [1]=> string(4) "1980" [2]=> string(4) "1983" [3]=> string(4) "1982" [4]=> string(4) "1984" } 5004 // array(2) { [0]=> string(4) "2016" [1]=> string(4) "2015" }
Ningún producto
Estos precios se entienden sin IVA