Gear

Error filtering template: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'stock.website_id' in 'where clause', query was: SELECT `e`.*, `selection`.*, `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`, `catalog_rule`.`rule_price` AS `catalog_rule_price`, `stock_status_index`.`stock_status` AS `is_salable` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_product_bundle_selection` AS `selection` ON selection.product_id = e.entity_id INNER JOIN `catalog_product_website` AS `product_website` ON product_website.product_id = e.entity_id AND product_website.website_id = '1' INNER JOIN `cataloginventory_stock_item` AS `stock_item` ON selection.product_id = stock_item.product_id 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 LEFT JOIN `catalogrule_product_price` AS `catalog_rule` ON catalog_rule.product_id = `selection`.`product_id` AND catalog_rule.website_id = '1' AND catalog_rule.customer_group_id = 0 AND catalog_rule.rule_date = '2020-04-10' INNER JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 WHERE (((`e`.`required_options` != 1))) AND (selection.option_id IN (1)) AND (selection.parent_product_id = '45') AND (IF(stock_item.use_config_manage_stock = 1, 1, stock_item.manage_stock) = 0 OR (stock_item.is_in_stock = 1 AND (IF(stock_item.use_config_backorders = 1, 0, stock_item.backorders) != 0 OR IF(selection.selection_can_change_qty, IF(stock_item.use_config_min_sale_qty = 1, 1, stock_item.min_sale_qty), selection.selection_qty) <= stock_item.qty))) AND (stock.website_id = 0) AND (stock_item.website_id = 0) AND (stock_status_index.stock_status = 1) ORDER BY (LEAST(minimal_price, IFNULL(catalog_rule_price, minimal_price)) * selection.selection_qty)ASC LIMIT 1
Copyright © 2013-present Magento, Inc. All rights reserved.