Warning: Undefined array key "PHP_AUTH_USER" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/config.php on line 18
console.log('poi rorder: 260529002');

Order Info:

Array
(
    [comments] => Cstmr is aware of fridge BO
    [additional_notes] => BigCentric 1 Year Warranty Extension Promotion 		(Purchase by 2026-12-31, Submit by 2027-01-31)
Whirlpool Memorial Day NECO Rebate 	$500.00	(Purchase by 2026-06-10, Submit by 2026-08-10)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$500.00
    [targetdate] => 2026-06-15 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => WRS312SNHM
                    [notes] => Pickup discount applied (-$70)
                    [instock] => 0
                    [fulfilled] => 0
                    [attarget] => 0
                    [location] => 
                    [serial] => 
                    [recid] => 205559
                )

            [1] => Array
                (
                    [model] => WFGS5030RZ
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => RF2173548
                    [recid] => 205560
                    [received_date] => 2026-06-12
                )

            [2] => Array
                (
                    [model] => WDTA50SAKZ
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => FF1501821
                    [recid] => 205561
                    [received_date] => 2026-06-12
                )

            [3] => Array
                (
                    [model] => WMMS3230SS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => TRE4528642
                    [recid] => 205562
                    [received_date] => 2026-05-27
                )

            [4] => Array
                (
                    [model] => W11729596
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => NSR79812
                    [recid] => 205563
                    [received_date] => 2026-04-22
                )

            [6] => Array
                (
                    [model] => PARTS
                    [description] => imlinie/gasflex/dwkit
                    [notes] => 
                    [recid] => 205565
                )

        )

    [emails] => Array
        (
            [0] => elizabethharris215@gmail.com
        )

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260529002
    [numitems] => 5
    [numinstock] => 4
    [numattarget] => 4
    [numfulfilled] => 0
    [customerno] => 2672407413
    [shipmethod] => delivery
    [readystatus] => -1
    [orderopen] => 1
    [billname] => Thomas M Harris
    [billaddr1] => 8263 Thouron Ave
    [billaddr2] => 
    [billcity] => PHILADELPHIA
    [billstate] => PA
    [billzip] => 19150
    [shipname] => 
    [shipaddr1] => 
    [shipaddr2] => 
    [shipcity] => 
    [shipstate] => 
    [shipzip] => 
    [phonenos] => Array
        (
            [0] => 2672407413
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => WRS312SNHM
            [notes] => Pickup discount applied (-$70)
            [instock] => 0
            [fulfilled] => 0
            [attarget] => 0
            [location] => 
            [serial] => 
            [recid] => 205559
        )

    [1] => Array
        (
            [model] => WFGS5030RZ
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => RF2173548
            [recid] => 205560
            [received_date] => 2026-06-12
        )

    [2] => Array
        (
            [model] => WDTA50SAKZ
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => FF1501821
            [recid] => 205561
            [received_date] => 2026-06-12
        )

    [3] => Array
        (
            [model] => WMMS3230SS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => TRE4528642
            [recid] => 205562
            [received_date] => 2026-05-27
        )

    [4] => Array
        (
            [model] => W11729596
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => NSR79812
            [recid] => 205563
            [received_date] => 2026-04-22
        )

    [6] => Array
        (
            [model] => PARTS
            [description] => imlinie/gasflex/dwkit
            [notes] => 
            [recid] => 205565
        )

)

Warning: Undefined array key 1 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 360

Warning: Undefined array key 2 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 361

Warning: Undefined array key 3 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 362

Warning: Undefined array key 4 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 373

Warning: Undefined array key 4 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 417
change_deliver_dd('deliver_contacts',1);$('#contact_primary-1').prop('checked', true); $('#contact_name-0').attr('value','Thomas M Harris'); $('#contact_email-0').attr('value','elizabethharris215@gmail.com'); $('#contact_phone-0').attr('value','2672407413'); $('#contact_phonetxt-0').attr('value','2672407413');

key 5

Model #s:

Array
(
    [0] => WRS312SNHM
    [1] => WFGS5030RZ
    [2] => WDTA50SAKZ
    [3] => WMMS3230SS
    [4] => W11729596
)
console.log('modelnumbs_arr: [\"WRS312SNHM\",\"WFGS5030RZ\",\"WDTA50SAKZ\",\"WMMS3230SS\",\"W11729596\"]');
Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 505

Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 505

Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 505

Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 505

Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 505
console.log('Fix 1: [\"PARTS\"]');

fix PARTS

Columns model:

Array
(
    [0] => WRS312SNHM
    [1] => WFGS5030RZ
    [2] => WDTA50SAKZ
    [3] => WMMS3230SS
    [4] => W11729596
    [6] => PARTS
)

key 6

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"WRS312SNHM\",\"1\":\"WFGS5030RZ\",\"2\":\"WDTA50SAKZ\",\"3\":\"WMMS3230SS\",\"4\":\"W11729596\",\"6\":\"PARTS\"}');

Model Info:

Array
(
    [W11729596] => Array
        (
            [model] => W11729596
            [brand] => WHL
            [description] => Whirlpool Ice Maker Kit for Select Refrigerators
            [height] => 0
            [width] => 0
            [depth] => 0
            [case_depth] => 
            [case_height] => 
            [class] => Accessory
            [weight] => 5.53
        )

    [WDTA50SAKZ] => Array
        (
            [model] => WDTA50SAKZ
            [brand] => WHL
            [description] => Whirlpool 24" Top Control Dishwasher with Contemporary Pocket Handle, Stainless Tub, Three Racks
            [height] => 33.4375
            [width] => 23.875
            [depth] => 26.5
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 100
        )

    [WFGS5030RZ] => Array
        (
            [model] => WFGS5030RZ
            [brand] => WHL
            [description] => Whirlpool 30" Wide Free Standing Gas Range with Air Cooking Technology, No Preheat Air Fry, and Self Clean, Fingerprint Resistant
            [height] => 47.875
            [width] => 29.875
            [depth] => 28.125
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [gas] => 1
            [weight] => 174
        )

    [WMMS3230SS] => Array
        (
            [model] => WMMS3230SS
            [brand] => WHL
            [description] => Whirlpool 30" Wide Over The Range Microwave with Sensor Cooking Technology
            [height] => 17.125
            [width] => 29.875
            [depth] => 15.56
            [case_depth] => 
            [case_height] => 
            [class] => Microwave
            [subclass] => Over The Range
            [weight] => 51.7
        )

    [WRS312SNHM] => Array
        (
            [model] => WRS312SNHM
            [brand] => WHL
            [description] => Whirlpool 33" Side-by-Side Fridge, Non Dispenser
            [height] => 66.25
            [width] => 32.75
            [depth] => 33.625
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] =>  imlinie/gasflex/dwkit
            [model] => PARTS
            [description] => imlinie/gasflex/dwkit
            [notes] => 
            [width] => 1
            [depth] => 1
            [height] => 1
            [weight] => 1
            [fulfilled] => 0
        )

)
var def_width = {}; var def_height = {}; var def_depth = {}; var def_weight = {}; console.log('i cnt WRS312SNHM: 0');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 644

Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 650
console.log('Notes: Pickup discount applied (-$70)');

Model Info WRS312SNHM:

Array
(
    [model] => WRS312SNHM
    [brand] => WHL
    [description] => Whirlpool 33" Side-by-Side Fridge, Non Dispenser
    [height] => 66.25
    [width] => 32.75
    [depth] => 33.625
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
)

(0) WRS312SNHM


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[1] = '1-36 inches'; def_height[1] = '61-72 inches'; def_depth[1] = '1-36 inches'; def_weight[1] = '251-300 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('WRS312SNHM','1','WHL','Whirlpool 33" Side-by-Side Fridge, Non Dispenser','78','Fridge','','','66.25','32.75','33.625','') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 33" Side-by-Side Fridge, Non Dispenser',prod_type='78',class='Fridge',subclass='',heat_source='',height='66.25',width='32.75',depth='33.625',weight='' ; console.log('i cnt WFGS5030RZ: 1');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 644

Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 650
console.log('Notes: ');

Model Info WFGS5030RZ:

Array
(
    [model] => WFGS5030RZ
    [brand] => WHL
    [description] => Whirlpool 30" Wide Free Standing Gas Range with Air Cooking Technology, No Preheat Air Fry, and Self Clean, Fingerprint Resistant
    [height] => 47.875
    [width] => 29.875
    [depth] => 28.125
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [gas] => 1
    [weight] => 174
)

(1) WFGS5030RZ


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[32] = '1-36 inches'; def_height[32] = '37-48 inches'; def_depth[32] = '1-36 inches'; def_weight[32] = '151-200 lbs'; def_width[79] = '1-36 inches'; def_height[79] = '37-48 inches'; def_depth[79] = '1-36 inches'; def_weight[79] = '350-400 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('WFGS5030RZ','1','WHL','Whirlpool 30" Wide Free Standing Gas Range with Air Cooking Technology, No Preheat Air Fry, and Self Clean, Fingerprint Resistant','79','Range','','Gas','47.875','29.875','28.125','174') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 30" Wide Free Standing Gas Range with Air Cooking Technology, No Preheat Air Fry, and Self Clean, Fingerprint Resistant',prod_type='79',class='Range',subclass='',heat_source='Gas',height='47.875',width='29.875',depth='28.125',weight='174' ; console.log('i cnt WDTA50SAKZ: 2');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 644

Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 650
console.log('Notes: ');

Model Info WDTA50SAKZ:

Array
(
    [model] => WDTA50SAKZ
    [brand] => WHL
    [description] => Whirlpool 24" Top Control Dishwasher with Contemporary Pocket Handle, Stainless Tub, Three Racks
    [height] => 33.4375
    [width] => 23.875
    [depth] => 26.5
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 100
)

(2) WDTA50SAKZ


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[5] = '1-36 inches'; def_height[5] = '1-36 inches'; def_depth[5] = '1-36 inches'; def_weight[5] = '51-100 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('WDTA50SAKZ','1','WHL','Whirlpool 24" Top Control Dishwasher with Contemporary Pocket Handle, Stainless Tub, Three Racks','5','Dishwasher','','','33.4375','23.875','26.5','100') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 24" Top Control Dishwasher with Contemporary Pocket Handle, Stainless Tub, Three Racks',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.4375',width='23.875',depth='26.5',weight='100' ; console.log('i cnt WMMS3230SS: 3');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 644

Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 650
console.log('Notes: ');

Model Info WMMS3230SS:

Array
(
    [model] => WMMS3230SS
    [brand] => WHL
    [description] => Whirlpool 30" Wide Over The Range Microwave with Sensor Cooking Technology
    [height] => 17.125
    [width] => 29.875
    [depth] => 15.56
    [case_depth] => 
    [case_height] => 
    [class] => Microwave
    [subclass] => Over The Range
    [weight] => 51.7
)

(3) WMMS3230SS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[60] = '1-36 inches'; def_height[60] = '1-36 inches'; def_depth[60] = '1-36 inches'; def_weight[60] = '51-100 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('WMMS3230SS','1','WHL','Whirlpool 30" Wide Over The Range Microwave with Sensor Cooking Technology','60','Microwave','Over The Range','','17.125','29.875','15.56','51.7') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 30" Wide Over The Range Microwave with Sensor Cooking Technology',prod_type='60',class='Microwave',subclass='Over The Range',heat_source='',height='17.125',width='29.875',depth='15.56',weight='51.7' ; console.log('i cnt W11729596: 4');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 644

Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 650
console.log('Notes: ');

Model Info W11729596:

Array
(
    [model] => W11729596
    [brand] => WHL
    [description] => Whirlpool Ice Maker Kit for Select Refrigerators
    [height] => 0
    [width] => 0
    [depth] => 0
    [case_depth] => 
    [case_height] => 
    [class] => Accessory
    [weight] => 5.53
)

(4) W11729596


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[44] = '1-36 inches.'; def_height[44] = '1-36 inches.'; def_depth[44] = '1-36 inches.'; def_weight[44] = '1-50 lbs'; def_width[59] = '1-36 inches'; def_height[59] = '1-36 inches'; def_depth[59] = '1-36 inches'; def_weight[59] = '1-50 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('W11729596','1','WHL','Whirlpool Ice Maker Kit for Select Refrigerators','59','Accessory','','','0','0','0','5.53') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool Ice Maker Kit for Select Refrigerators',prod_type='59',class='Accessory',subclass='',heat_source='',height='0',width='0',depth='0',weight='5.53' ; console.log('i cnt PARTS: 5'); console.log('Notes: imlinie/gasflex/dwkit');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] =>  imlinie/gasflex/dwkit
    [model] => PARTS
    [description] => imlinie/gasflex/dwkit
    [notes] => 
    [width] => 1
    [depth] => 1
    [height] => 1
    [weight] => 1
    [fulfilled] => 0
)

(5) PARTS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[38] = '1-36 inches'; def_height[38] = '1-36 inches'; def_depth[38] = '1-36 inches'; def_weight[38] = '1-50 lbs';
Warning: Undefined variable $brand in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 835

INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('PARTS','1','','imlinie/gasflex/dwkit','38','Parts','','','1','1','1','1') ON DUPLICATE KEY UPDATE model_description = 'imlinie/gasflex/dwkit',prod_type='38',class='Parts',subclass='',heat_source='',height='1',width='1',depth='1',weight='1' ;
Warning: Undefined variable $brand in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 841

Warning: Undefined array key "" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 841
$('#covered_delivery').val(60); tally_delivery(); $('#store_order_numb-button-0').removeClass('redbg'); $('#store_order_numb-button-0').addClass('graybg'); change_deliver_dd('deliver_products',6); $('#product-span-0').css('background-color','gold'); $('#product-span-0').css('color','black'); $('#product-span-0').html(' '); $('#product_modelnumb-0').attr('value','WRS312SNHM'); $('#product_serialnumb-0').attr('value',''); $('#product_store_prodlnid-0').attr('value','205559'); $('#product_status-0').attr('value','not in stock'); $('#product_notes-0').val('Pickup discount applied (-$70)'); dimensions = 0; $('#product-span-0').html('Whirlpool Fridge
not in stock
'); $('#product_type-0 option').filter(function() { return $(this).text() == 'Fridge'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-0').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-0').addClass('hidediv'); $('#product_height-0 option').filter(function() { return $(this).text() == '61-72 inches'; }).attr('selected', true); $('#product_height-0').css('background-color','white');dimensions++; $('#width-0').addClass('hidediv'); $('#product_width-0 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-0').css('background-color','white');dimensions++; $('#depth-0').addClass('hidediv'); $('#product_depth-0 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-0').css('background-color','white');dimensions++; if(def_weight[prod_id] != ''){ $('#product_weight-0 option').filter(function() { return $(this).text() == ''+def_weight[prod_id]+''; }).attr('selected', true); } else { $('#product_weight-0').css('background-color','red');} if(dimensions == 4){ $('#dimensions-0').addClass('hidediv'); } $('#product-span-1').css('background-color','greenyellow'); $('#product-span-1').css('color','black'); $('#product-span-1').html(' '); $('#product_modelnumb-1').attr('value','WFGS5030RZ'); $('#product_serialnumb-1').attr('value','RF2173548'); $('#product_store_prodlnid-1').attr('value','205560'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('Whirlpool Range gas
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Range - Gas'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-1').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-1').addClass('hidediv'); $('#product_height-1 option').filter(function() { return $(this).text() == '37-48 inches'; }).attr('selected', true); $('#product_height-1').css('background-color','white');dimensions++; $('#width-1').addClass('hidediv'); $('#product_width-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-1').css('background-color','white');dimensions++; $('#depth-1').addClass('hidediv'); $('#product_depth-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-1').css('background-color','white');dimensions++; $('#weight-1').addClass('hidediv'); $('#product_weight-1 option').filter(function() { return $(this).text() == '151-200 lbs'; }).attr('selected', true); $('#product_weight-1').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-1').addClass('hidediv'); } $('#product-span-2').css('background-color','greenyellow'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','WDTA50SAKZ'); $('#product_serialnumb-2').attr('value','FF1501821'); $('#product_store_prodlnid-2').attr('value','205561'); $('#product_status-2').attr('value','in stock'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('Whirlpool Dishwasher
in stock
'); $('#product_type-2 option').filter(function() { return $(this).text() == 'Dishwasher'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-2').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-2').addClass('hidediv'); $('#product_height-2 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_height-2').css('background-color','white');dimensions++; $('#width-2').addClass('hidediv'); $('#product_width-2 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-2').css('background-color','white');dimensions++; $('#depth-2').addClass('hidediv'); $('#product_depth-2 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-2').css('background-color','white');dimensions++; $('#weight-2').addClass('hidediv'); $('#product_weight-2 option').filter(function() { return $(this).text() == '101-150 lbs'; }).attr('selected', true); $('#product_weight-2').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-2').addClass('hidediv'); } $('#product-span-3').css('background-color','greenyellow'); $('#product-span-3').css('color','black'); $('#product-span-3').html(' '); $('#product_modelnumb-3').attr('value','WMMS3230SS'); $('#product_serialnumb-3').attr('value','TRE4528642'); $('#product_store_prodlnid-3').attr('value','205562'); $('#product_status-3').attr('value','in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('Whirlpool Microwave Over The Range
in stock
'); $('#product_type-3 option').filter(function() { return $(this).text() == 'Microwave - Over The Range'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-3').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-3').addClass('hidediv'); $('#product_height-3 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_height-3').css('background-color','white');dimensions++; $('#width-3').addClass('hidediv'); $('#product_width-3 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-3').css('background-color','white');dimensions++; $('#depth-3').addClass('hidediv'); $('#product_depth-3 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-3').css('background-color','white');dimensions++; $('#weight-3').addClass('hidediv'); $('#product_weight-3 option').filter(function() { return $(this).text() == '51-100 lbs'; }).attr('selected', true); $('#product_weight-3').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-3').addClass('hidediv'); } $('#product-span-4').css('background-color','greenyellow'); $('#product-span-4').css('color','black'); $('#product-span-4').html(' '); $('#product_modelnumb-4').attr('value','W11729596'); $('#product_serialnumb-4').attr('value','NSR79812'); $('#product_store_prodlnid-4').attr('value','205563'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val(''); dimensions = 0; $('#product-span-4').html('Whirlpool Accessory
in stock
'); $('#product_type-4 option').filter(function() { return $(this).text() == 'Accessory'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-4').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); if(def_height[prod_id] != ''){ $('#product_height-4 option').filter(function() { return $(this).text() == ''+def_height[prod_id]+''; }).attr('selected', true); } else { $('#product_height-4').css('background-color','red');} if(def_width[prod_id] != ''){ $('#product_width-4 option').filter(function() { return $(this).text() == ''+def_width[prod_id]+''; }).attr('selected', true); } else { $('#product_width-4').css('background-color','red');} if(def_depth[prod_id] != ''){ $('#product_depth-4 option').filter(function() { return $(this).text() == ''+def_depth[prod_id]+''; }).attr('selected', true); } else { $('#product_depth-4').css('background-color','red');} $('#weight-4').addClass('hidediv'); $('#product_weight-4 option').filter(function() { return $(this).text() == '1-50 lbs'; }).attr('selected', true); $('#product_weight-4').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-4').addClass('hidediv'); } $('#product-span-5').css('background-color','greenyellow'); $('#product-span-5').css('color','black'); $('#product-span-5').html(' '); $('#product_modelnumb-5').attr('value','PARTS'); $('#product_serialnumb-5').attr('value',' imlinie/gasflex/dwkit'); $('#product_store_prodlnid-5').attr('value','0'); $('#product_status-5').attr('value','in stock'); $('#product_notes-5').val('imlinie/gasflex/dwkit'); dimensions = 0; $('#product-span-5').html(' Parts
in stock
'); $('#product_type-5 option').filter(function() { return $(this).text() == 'Parts'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-5').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-5').addClass('hidediv'); $('#product_height-5 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_height-5').css('background-color','white');dimensions++; $('#width-5').addClass('hidediv'); $('#product_width-5 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-5').css('background-color','white');dimensions++; $('#depth-5').addClass('hidediv'); $('#product_depth-5 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-5').css('background-color','white');dimensions++; $('#weight-5').addClass('hidediv'); $('#product_weight-5 option').filter(function() { return $(this).text() == '1-50 lbs'; }).attr('selected', true); $('#product_weight-5').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-5').addClass('hidediv'); }