Fleischmann
SELECT DISTINCT `e`.`entity_id`, `e`.`type_id`, `e`.`attribute_set_id`, `cat_index`.`position` AS `cat_index_position`, `e`.`name`, `e`.`short_description`, `e`.`sku`, `e`.`price`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `e`.`cost`, `e`.`small_image`, `e`.`thumbnail`, `e`.`news_from_date`, `e`.`news_to_date`, `e`.`status`, `e`.`url_key`, `e`.`required_options`, `e`.`image_label`, `e`.`small_image_label`, `e`.`thumbnail_label`, `e`.`msrp_enabled`, `e`.`msrp_display_actual_price_type`, `e`.`msrp`, `e`.`tax_class_id`, `e`.`price_type`, `e`.`weight_type`, `e`.`price_view`, `e`.`shipment_type`, `e`.`links_purchased_separately`, `e`.`links_exist`, `e`.`barcode`, `e`.`merk`, `e`.`merk_value`, `e`.`leverancier`, `e`.`leverancier_value`, `e`.`schaal`, `e`.`opisopartikel`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `at_bestsellers`.`bestsellers`, `stock_status`.`stock_status` AS `salable` FROM `catalog_product_flat_3` AS `e`
INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=3 AND cat_index.visibility IN(2, 4) AND cat_index.category_id = '2'
INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0
INNER JOIN `catalog_product_index_eav` AS `schaal_idx` ON schaal_idx.entity_id = e.entity_id AND schaal_idx.attribute_id = '161' AND schaal_idx.store_id = 3 AND schaal_idx.value IN('107', '219', '225', '230')
INNER JOIN `catalog_product_index_eav` AS `rijtuigindeling_idx` ON rijtuigindeling_idx.entity_id = e.entity_id AND rijtuigindeling_idx.attribute_id = '170' AND rijtuigindeling_idx.store_id = 3 AND rijtuigindeling_idx.value IN('689')
INNER JOIN `catalog_product_index_eav` AS `spoortwegmaatschappij_idx` ON spoortwegmaatschappij_idx.entity_id = e.entity_id AND spoortwegmaatschappij_idx.attribute_id = '163' AND spoortwegmaatschappij_idx.store_id = 3 AND spoortwegmaatschappij_idx.value IN('125', '129', '134', '165', '686', '697')
INNER JOIN `catalog_product_index_eav` AS `merk_idx` ON merk_idx.entity_id = e.entity_id AND merk_idx.attribute_id = '141' AND merk_idx.store_id = 3 AND merk_idx.value IN('35')
LEFT JOIN `am_sorting_bestsellers` AS `at_bestsellers` ON (at_bestsellers.`id`=e.entity_id) AND (at_bestsellers.store_id = '1')
LEFT JOIN `cataloginventory_stock_status` AS `stock_status` ON e.entity_id = stock_status.product_id AND stock_id = 1 AND stock_status.website_id=1 WHERE (e.status = 1) ORDER BY `at_bestsellers`.`bestsellers` desc, `stock_status`.`qty` desc
-
N (1:160)
2-rail DC
Digitaal voorbereid
€ 104,90
€ 99,50