Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 246 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1771 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 55 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1843 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 273 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 0 | 0 | 1 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 54 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1851 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 338 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 2245 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 339 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 2253 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 53 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 415 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 337 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 2237 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 41 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 313 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 269 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1780 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 258 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1702 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 48 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 744 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 7 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 107 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 24 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 560 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 47 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 363 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 27 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 190 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 8 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 105 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 6 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 103 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 2 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1479 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 45 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 349 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 26 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 181 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 37 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 2214 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 28 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 199 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 25 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 172 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 42 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 845 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 43 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1535 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 29 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 208 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 5 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 101 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 40 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 1688 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 9 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 1 | |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 122 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 733 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 35 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 262 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 4 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 32 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 235 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 4 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 3 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 97 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 4 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 34 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 253 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 33 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 244 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 4 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 30 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 217 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 52 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 406 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 31 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 226 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 49 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 379 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 0 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `ProductVariant`.*, `VatRate`.*, `Product`.`excludes_vat`, IF(Product.excludes_vat=1,ProductVariant.price*((VatRate.rate/100)+1),ProductVariant.price) AS calculatedprice, IF(Product.excludes_vat<>1,ProductVariant.price/((VatRate.rate/100)+1),ProductVariant.price) AS exvat, `ProductVariant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_variants` AS `ProductVariant` left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_products` AS `Product` ON (`ProductVariant`.`product_id` = `Product`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `ProductAttributeOptionsVariants` ON (`ProductVariant`.`id` = `ProductAttributeOptionsVariants`.`product_variant_id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` ON (`ProductAttributeOptionsVariants`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) left JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_checkout_vat_rates` AS `VatRate` ON (`Product`.`vat_rate_id` = `VatRate`.`id`) WHERE `ProductVariant`.`product_id` = 50 AND `ProductVariant`.`is_removed` <> '1' AND `ProductAttributeOption`.`description` LIKE '%\"sample\"%' | 1 | 1 | 1 | |
SELECT `ProductAttributeOption`.`id`, `ProductAttributeOption`.`product_attribute_id`, `ProductAttributeOption`.`name`, `ProductAttributeOption`.`description`, `ProductAttributeOption`.`sequence`, `ProductAttributeOption`.`created`, `ProductAttributeOption`.`modified`, `EvShopProductAttributeOptionsProductVariant`.`id`, `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id`, `EvShopProductAttributeOptionsProductVariant`.`product_variant_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options` AS `ProductAttributeOption` JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`ev_shop_product_attribute_options_product_variants` AS `EvShopProductAttributeOptionsProductVariant` ON (`EvShopProductAttributeOptionsProductVariant`.`product_variant_id` = 388 AND `EvShopProductAttributeOptionsProductVariant`.`product_attribute_option_id` = `ProductAttributeOption`.`id`) WHERE `ProductAttributeOption`.`id` IN (17, 16) | 1 | 1 | 1 | |
SELECT `Postcode`.`id`, `Postcode`.`outcode` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`postcodes` AS `Postcode` WHERE `outcode` LIKE 'DE4' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ShippingCompany`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` WHERE `is_active` = '1' AND `pricing_only` = '1' | 0 | 0 | 0 | |
SELECT `ShippingCost`.*, `ShippingCompany`.*, IF(cost IS NULL AND shipping_company_id <> 7, -1, 0) AS nullswitch, `ShippingCompany`.`id`, `Plant`.`id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_costs` AS `ShippingCost` LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`shipping_companies` AS `ShippingCompany` ON (`ShippingCost`.`shipping_company_id` = `ShippingCompany`.`id`) LEFT JOIN `cd_decorative_aggregates_decorativeaggregates_uat`.`plants` AS `Plant` ON (`ShippingCost`.`plant_id` = `Plant`.`id`) WHERE `Plant`.`is_active` = '1' AND `ShippingCompany`.`is_active` = '1' AND `postcode_id` = 663 AND `plant_id` = 1 AND ((`cost` >= 0) OR (`cost` IS NULL)) AND NOT (`shipping_company_id` IS NULL) AND `shipping_company_id` != 6 ORDER BY `nullswitch` DESC, `cost` ASC LIMIT 1 | 1 | 1 | 5 | maybe slow |
SELECT `Menu`.`id`, `Menu`.`parent_id`, `Menu`.`lft`, `Menu`.`rght`, `Menu`.`name`, `Menu`.`url`, `Menu`.`pattern`, `Menu`.`plugin`, `Menu`.`controller`, `Menu`.`model`, `Menu`.`model_id`, `Menu`.`action`, `Menu`.`class`, `Menu`.`new_window`, `Menu`.`is_menu_hidden`, `Menu`.`is_active`, `Menu`.`created`, `Menu`.`modified`, `Menu`.`user_group_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`menus` AS `Menu` WHERE `Menu`.`id` = 7 ORDER BY `lft` ASC LIMIT 1 | 1 | 1 | 0 | |
SELECT `Menu`.`id`, `Menu`.`parent_id`, `Menu`.`lft`, `Menu`.`rght`, `Menu`.`name`, `Menu`.`url`, `Menu`.`pattern`, `Menu`.`plugin`, `Menu`.`controller`, `Menu`.`model`, `Menu`.`model_id`, `Menu`.`action`, `Menu`.`class`, `Menu`.`new_window`, `Menu`.`is_menu_hidden`, `Menu`.`is_active`, `Menu`.`created`, `Menu`.`modified`, `Menu`.`user_group_id` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`menus` AS `Menu` WHERE `lft` > 92 AND `rght` < 115 AND `is_active` = '1' ORDER BY `lft` ASC | 11 | 11 | 0 | |
SELECT `Page`.`id`, `Page`.`accent_colour_id`, `Page`.`title`, `Page`.`internal_title`, `Page`.`body`, `Page`.`hide_background_image`, `Page`.`hide_background_image_on_mobile`, `Page`.`is_active`, `Page`.`is_protected`, `Page`.`view_template`, `Page`.`created`, `Page`.`modified` FROM `cd_decorative_aggregates_decorativeaggregates_uat`.`pages` AS `Page` WHERE `Page`.`internal_title` = 'blog' LIMIT 1 | 0 | 0 | 0 | |
114 duplicate queries run.