Banner1 Banner1
 
SELECT `pinfo`.`sku`,`pinfo`.`vendor`, IF(`pinfo`.`multi_level_pricing_check`=1,(`mlrp`.`cost`/`mlrp`.`min_qty`),IF(CURDATE() >= `ds`.`expiration_date`, `ds`.`price`, `crp`.`contract_price`)) AS `price`, CONCAT(IF(`pinfo`.`vendor`=2,`desc_long`,`desc_short`),' ',`pinfo`.`sku`,' ',`category_1`,' ',`category_2`,' ',`category_3`,' ',`category_4`,' ',IF(`pinfo`.`vendor`=2,`sales_copy`,`desc_long`),' ',IF(`dealer_sku`!='',`dealer_sku`,''),' ',`manufacturer_name`,' ',`color`) AS `search_string` FROM `product_info` `pinfo` INNER JOIN `vendor_base_costs` `vbcc` ON `pinfo`.`sku`=`vbcc`.`sku` LEFT JOIN `contract_price_1` AS `crp` ON `crp`.`sku`=`pinfo`.`sku` LEFT JOIN `bestseller_priority_detail` AS `bpd` ON `pinfo`.`sku`=`bpd`.`sku` LEFT JOIN `bestseller_priority_master` AS `bpm` ON `bpm`.`list_id`=`bpd`.`list_id` LEFT JOIN `dealer_special` AS `ds` ON `ds`.`sku`=`pinfo`.`sku` AND CURDATE() BETWEEN `ds`.`start_date` AND `ds`.`expiration_date` LEFT JOIN `multi_level_retail_price` AS `mlrp` ON `mlrp`.`sku`=`pinfo`.`sku` AND `mlrp`.`preferred_vendor`=`pinfo`.`preferred_vendor` AND (`mlrp`.`cost`/`mlrp`.`min_qty`)>0 WHERE (`pinfo`.`sku` IN ('SLY51874840SLY51874851','SLY51874861','SLY51874831','SLY51874852','SLY51874862','SLY51874832','SLY51875340','SLY51875351','SLY51875361','SLY51875331','SLY51875352','SLY51875362','SLY51875332','SLY51875740','SLY51875751','SLY51875761','SLY51875731','SLY51875752','SLY51875762','SLY51875732','SLY51876340','SLY51876351','SLY51876361','SLY51876331','SLY51876352','SLY51876362','SLY51876332','')) AND `pinfo`.`status` IN ('active','discontinued') AND `pinfo`.`desc_title` != '' AND `online_status`=1 AND `custom_sku_enable`=1 AND CASE WHEN `pinfo`.`multi_level_pricing_check`=1 THEN TRUE ELSE `crp`.`contract_price`>0 END AND `pinfo`.`sku` NOT IN (SELECT `alias_sku` FROM `internal_alias_detail`) GROUP BY `pinfo`.`sku` ORDER BY ISNULL(`bpm`.`list_priority`) ASC, `bpm`.`list_priority` ASC, ISNULL(`bpd`.`priority`) ASC, `bpd`.`priority` ASC, CASE WHEN `pinfo`.`sku` LIKE '%2017ColumbusDay' THEN 1 ELSE 0 END DESC, CASE WHEN MATCH(`desc_short`) AGAINST ('2017ColumbusDay' IN BOOLEAN MODE) THEN 1 ELSE 0 END DESC, CASE WHEN `pinfo`.`vendor`=2 THEN IF(MATCH(`desc_long`, `manufacturer_name`, `color`) AGAINST ('+2017ColumbusDay' IN BOOLEAN MODE),4,0) ELSE CASE WHEN MATCH (`keywords`) AGAINST ('"2017ColumbusDay"' IN BOOLEAN MODE) AND MATCH (`desc_title`) AGAINST ('"2017ColumbusDay"' IN BOOLEAN MODE) THEN 4 ELSE IF(MATCH (`desc_title`) AGAINST ('"2017ColumbusDay"' IN BOOLEAN MODE),3,IF(MATCH (`keywords`) AGAINST ('"2017ColumbusDay"' IN BOOLEAN MODE),2,IF(MATCH(`desc_title`, `manufacturer_name`, `color`) AGAINST ('+2017ColumbusDay' IN BOOLEAN MODE),1,0))) END END DESC,CASE WHEN IF(`pinfo`.`vendor`=2,`category_3` ='2017ColumbusDay',`category_4` ='2017ColumbusDay') THEN 1 ELSE 0 END DESC, CASE WHEN `desc_short` LIKE '2017ColumbusDay,%' THEN 1 ELSE 0 END DESC, SUBSTR(`pinfo`.`desc_title`, 1, LOCATE('2017ColumbusDay', `pinfo`.`desc_title`)) DESC

Currently Filtered by

2017ColumbusDay

2017ColumbusDay

Refine Search

  GO
 
Category

California King(4)

Twin XL(4)

King(4)

Split Queen(4)

California Twin(4)

Queen(3)

Full(3)

 
Brand

Stearns & Foster(26)

 
Size

California King(4)

Twin XL(4)

King(4)

Split Queen(4)

California Twin(4)

Queen(3)

Full(3)

 
 
 
 
 

© 2017-2018 Bayshore Office Products, Inc., All Rights Reserved