When it comes to your wedding, the little things can make a big difference! These beautiful wedding accessories will help you make your big day special, including colourful confetti, fun photo booth props and fabulous favours!
When it comes to your wedding, the little things can make a big difference! These beautiful wedding accessories will help you make your big day special, including colourful confetti, fun photo booth props and fabulous favours!
SELECT `e`.*, `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`, IFNULL(review_summary.reviews_count, 0) AS `reviews_count`, IFNULL(review_summary.rating_summary, 0) AS `rating_summary`, `stock_status_index`.`is_salable`, `inventory_reservation`.`stock_reservation`, SUM(IFNULL(stock_status_index.quantity, 0)+IFNULL(stock_reservation, 0)) AS `stock_qty` FROM `catalog_product_entity` AS `e`
INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '6'
LEFT JOIN `review_entity_summary` AS `review_summary` ON e.entity_id = review_summary.entity_pk_value AND review_summary.store_id = 6 AND review_summary.entity_type = (SELECT `review_entity`.`entity_id` FROM `review_entity` WHERE (entity_code = 'product'))
INNER JOIN `catalog_product_entity` AS `product` ON product.entity_id = e.entity_id AND (product.created_in <= '1679668620' AND product.updated_in > '1679668620')
LEFT JOIN `inventory_stock_6` AS `stock_status_index` ON product.sku = stock_status_index.sku
LEFT JOIN (
SELECT sku,
stock_id,
SUM(quantity) AS stock_reservation
FROM inventory_reservation
GROUP BY sku
) AS `inventory_reservation` ON inventory_reservation.sku=e.sku AND inventory_reservation.stock_id=6 WHERE ((e.entity_id IN (23463, 13489, 3350, 13498, 17607, 6286, 6292, 18024, 17638, 13513, 6285, 7053, 6764, 6284, 3066, 5376, 6758, 17188, 17613, 17606, 3076, 13507, 17614, 17193, 17615, 5426, 17192, 3351, 13487, 5280, 13503, 7050, 6271, 3346, 21709, 21711, 3319, 3074, 3075, 17633, 13511, 17640, 5279, 23464, 23465, 3345, 5248, 18025))) AND (e.created_in <= '1679668620') AND (e.updated_in > '1679668620') GROUP BY `e`.`sku` ORDER BY FIELD(e.entity_id,23463,13489,3350,13498,17607,6286,6292,18024,17638,13513,6285,7053,6764,6284,3066,5376,6758,17188,17613,17606,3076,13507,17614,17193,17615,5426,17192,3351,13487,5280,13503,7050,6271,3346,21709,21711,3319,3074,3075,17633,13511,17640,5279,23464,23465,3345,5248,18025)