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: 260903013');

Order Info:

Array
(
    [comments] => No install, no removal
    [additional_notes] => Available Rebates
BigCentric 1 Year Warranty Extension Promotion 		(Purchase by 2026-12-31, Submit by 2027-01-31)
KitchenAid Dishwasher Labor Day NECO Rebate 	$100.00	(Purchase by 2026-09-17, Submit by 2026-12-17)
		Claim Online At: http://www.necoonlinerebates.com
KitchenAid Craft Your Dream Kitchen Rebate 	$500.00	(Purchase by 2026-09-30, Submit by 2026-11-30)
		Claim Online At: http://www.necoonlinerebates.com
KitchenAid Labor Day NECO Rebate 	$300.00	(Purchase by 2026-09-17, Submit by 2026-12-17)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$900.00
    [targetdate] => 2026-09-25 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => KRMF536RPS
                    [notes] => Clearance item: Not Returnable!
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => KF0302256
                    [recid] => 211000
                    [received_date] => 2026-03-11
                    [transfer_date] => 2026-08-26
                    [transfer_to] => 0000
                )

            [1] => Array
                (
                    [model] => KSES530SPS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => RF1415308
                    [recid] => 211001
                    [received_date] => 2026-09-21
                )

            [2] => Array
                (
                    [model] => KDFS224SPS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => FF2001187
                    [recid] => 211002
                    [received_date] => 2026-06-17
                    [transfer_date] => 2026-08-26
                    [transfer_to] => 0000
                )

            [3] => Array
                (
                    [model] => KVWB400DSS
                    [notes] => 
                    [instock] => 0
                    [fulfilled] => 0
                    [attarget] => 0
                    [location] => 
                    [serial] => 
                    [recid] => 211003
                )

            [4] => Array
                (
                    [model] => PARTS
                    [description] => PARTS
                    [notes] => IMLINE, DWKIT
                    [recid] => 211004
                )

        )

    [emails] => Array
        (
            [0] => acs721@optonline.net
        )

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260903013
    [numitems] => 4
    [numinstock] => 3
    [numattarget] => 3
    [numfulfilled] => 0
    [customerno] => 2012476200
    [shipmethod] => delivery
    [readystatus] => -1
    [orderopen] => 1
    [billname] => Albert Sbarro
    [billaddr1] => 225 Union St
    [billaddr2] => 
    [billcity] => BORDENTOWN
    [billstate] => NJ
    [billzip] => 08505
    [shipname] => Albert Sbarro
    [shipaddr1] => 112 East 4th Street
    [shipaddr2] => 
    [shipcity] => New Castle
    [shipstate] => DE
    [shipzip] => 19720
    [phonenos] => Array
        (
            [0] => 2012476200
            [1] => 6098518594
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => KRMF536RPS
            [notes] => Clearance item: Not Returnable!
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => KF0302256
            [recid] => 211000
            [received_date] => 2026-03-11
            [transfer_date] => 2026-08-26
            [transfer_to] => 0000
        )

    [1] => Array
        (
            [model] => KSES530SPS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => RF1415308
            [recid] => 211001
            [received_date] => 2026-09-21
        )

    [2] => Array
        (
            [model] => KDFS224SPS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => FF2001187
            [recid] => 211002
            [received_date] => 2026-06-17
            [transfer_date] => 2026-08-26
            [transfer_to] => 0000
        )

    [3] => Array
        (
            [model] => KVWB400DSS
            [notes] => 
            [instock] => 0
            [fulfilled] => 0
            [attarget] => 0
            [location] => 
            [serial] => 
            [recid] => 211003
        )

    [4] => Array
        (
            [model] => PARTS
            [description] => PARTS
            [notes] => IMLINE, DWKIT
            [recid] => 211004
        )

)

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',2); $('#contact_name-0').attr('value','Albert Sbarro'); $('#contact_email-0').attr('value','acs721@optonline.net'); $('#contact_phone-0').attr('value','2012476200'); $('#contact_phonetxt-0').attr('value','2012476200'); $('#contact_name-1').attr('value','Albert Sbarro');
Warning: Undefined variable $email_2 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 436
$('#contact_email-1').attr('value',''); $('#contact_phone-1').attr('value','6098518594'); $('#contact_phonetxt-1').attr('value','6098518594');

key 4

Model #s:

Array
(
    [0] => KRMF536RPS
    [1] => KSES530SPS
    [2] => KDFS224SPS
    [3] => KVWB400DSS
)
console.log('modelnumbs_arr: [\"KRMF536RPS\",\"KSES530SPS\",\"KDFS224SPS\",\"KVWB400DSS\"]');
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] => KRMF536RPS
    [1] => KSES530SPS
    [2] => KDFS224SPS
    [3] => KVWB400DSS
    [4] => PARTS
)

key 4

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"KRMF536RPS\",\"1\":\"KSES530SPS\",\"2\":\"KDFS224SPS\",\"3\":\"KVWB400DSS\",\"5\":\"PARTS\"}');

Model Info:

Array
(
    [KDFS224SPS] => Array
        (
            [model] => KDFS224SPS
            [brand] => KTA
            [description] => KitchenAid 24" Wide Front Control Dishwasher with Silverware Third Rack, ProDry System with Water Repellent Tech, Auto Open Door
            [height] => 33.625
            [width] => 23.9375
            [depth] => 24.5
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 79
        )

    [KRMF536RPS] => Array
        (
            [model] => KRMF536RPS
            [brand] => KTA
            [description] => KitchenAid 36" Wide Full Depth Multi Drawer Refrigerator with FreshChill Full Width Refrigerated Center Drawer
            [height] => 70.125
            [width] => 35.75
            [depth] => 36.75
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
            [weight] => 394
        )

    [KSES530SPS] => Array
        (
            [model] => KSES530SPS
            [brand] => KTA
            [description] => KitchenAid 30" Wide Slide In Electric Range with Two Even-Heat Hyper Elements, Convection Cooking Modes and Steam Bake
            [height] => 38.1
            [width] => 29.9
            [depth] => 29.2
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [electric] => 1
            [weight] => 222
        )

    [KVWB400DSS] => Array
        (
            [model] => KVWB400DSS
            [brand] => KTA
            [description] => KitchenAid 30" Wall Mount Canopy Hood, 400 CFM
            [height] => 28.875
            [width] => 30
            [depth] => 20
            [case_depth] => 
            [case_height] => 
            [class] => Hood
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => IMLINE, DWKIT 
            [model] => PARTS
            [description] => 
            [notes] => IMLINE, DWKIT
            [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 KRMF536RPS: 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: Clearance item: Not Returnable!');

Model Info KRMF536RPS:

Array
(
    [model] => KRMF536RPS
    [brand] => KTA
    [description] => KitchenAid 36" Wide Full Depth Multi Drawer Refrigerator with FreshChill Full Width Refrigerated Center Drawer
    [height] => 70.125
    [width] => 35.75
    [depth] => 36.75
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
    [weight] => 394
)

(0) KRMF536RPS


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 ('KRMF536RPS','1','KTA','KitchenAid 36" Wide Full Depth Multi Drawer Refrigerator with FreshChill Full Width Refrigerated Center Drawer','78','Fridge','','','70.125','35.75','36.75','394') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 36" Wide Full Depth Multi Drawer Refrigerator with FreshChill Full Width Refrigerated Center Drawer',prod_type='78',class='Fridge',subclass='',heat_source='',height='70.125',width='35.75',depth='36.75',weight='394' ; console.log('i cnt KSES530SPS: 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 KSES530SPS:

Array
(
    [model] => KSES530SPS
    [brand] => KTA
    [description] => KitchenAid 30" Wide Slide In Electric Range with Two Even-Heat Hyper Elements, Convection Cooking Modes and Steam Bake
    [height] => 38.1
    [width] => 29.9
    [depth] => 29.2
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [electric] => 1
    [weight] => 222
)

(1) KSES530SPS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[33] = '1-36 inches'; def_height[33] = '37-48 inches'; def_depth[33] = '1-36 inches'; def_weight[33] = '151-200 lbs'; def_width[80] = '1-36 inches'; def_height[80] = '37-48 inches'; def_depth[80] = '1-36 inches'; def_weight[80] = '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 ('KSES530SPS','1','KTA','KitchenAid 30" Wide Slide In Electric Range with Two Even-Heat Hyper Elements, Convection Cooking Modes and Steam Bake','80','Range','','Electric','38.1','29.9','29.2','222') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 30" Wide Slide In Electric Range with Two Even-Heat Hyper Elements, Convection Cooking Modes and Steam Bake',prod_type='80',class='Range',subclass='',heat_source='Electric',height='38.1',width='29.9',depth='29.2',weight='222' ; console.log('i cnt KDFS224SPS: 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 KDFS224SPS:

Array
(
    [model] => KDFS224SPS
    [brand] => KTA
    [description] => KitchenAid 24" Wide Front Control Dishwasher with Silverware Third Rack, ProDry System with Water Repellent Tech, Auto Open Door
    [height] => 33.625
    [width] => 23.9375
    [depth] => 24.5
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 79
)

(2) KDFS224SPS


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 ('KDFS224SPS','1','KTA','KitchenAid 24" Wide Front Control Dishwasher with Silverware Third Rack, ProDry System with Water Repellent Tech, Auto Open Door','5','Dishwasher','','','33.625','23.9375','24.5','79') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 24" Wide Front Control Dishwasher with Silverware Third Rack, ProDry System with Water Repellent Tech, Auto Open Door',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.625',width='23.9375',depth='24.5',weight='79' ; console.log('i cnt KVWB400DSS: 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 KVWB400DSS:

Array
(
    [model] => KVWB400DSS
    [brand] => KTA
    [description] => KitchenAid 30" Wall Mount Canopy Hood, 400 CFM
    [height] => 28.875
    [width] => 30
    [depth] => 20
    [case_depth] => 
    [case_height] => 
    [class] => Hood
)

(3) KVWB400DSS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[4] = '1-36 inches'; def_height[4] = '1-36 inches'; def_depth[4] = '1-36 inches'; def_weight[4] = '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 ('KVWB400DSS','1','KTA','KitchenAid 30" Wall Mount Canopy Hood, 400 CFM','4','Hood','','','28.875','30','20','') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 30" Wall Mount Canopy Hood, 400 CFM',prod_type='4',class='Hood',subclass='',heat_source='',height='28.875',width='30',depth='20',weight='' ; console.log('i cnt PARTS: 4'); console.log('Notes: IMLINE, DWKIT');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => IMLINE, DWKIT 
    [model] => PARTS
    [description] => 
    [notes] => IMLINE, DWKIT
    [width] => 1
    [depth] => 1
    [height] => 1
    [weight] => 1
    [fulfilled] => 0
)

(4) 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','','','38','Parts','','','1','1','1','1') ON DUPLICATE KEY UPDATE model_description = '',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',5); $('#product-span-0').css('background-color','greenyellow'); $('#product-span-0').css('color','black'); $('#product-span-0').html(' '); $('#product_modelnumb-0').attr('value','KRMF536RPS'); $('#product_serialnumb-0').attr('value','KF0302256'); $('#product_store_prodlnid-0').attr('value','211000'); $('#product_status-0').attr('value','in stock'); $('#product_notes-0').val('Clearance item: Not Returnable!'); dimensions = 0; $('#product-span-0').html('KitchenAid Fridge
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() == '37-48 inches'; }).attr('selected', true); $('#product_depth-0').css('background-color','white');dimensions++; $('#weight-0').addClass('hidediv'); $('#product_weight-0 option').filter(function() { return $(this).text() == '351-400 lbs'; }).attr('selected', true); $('#product_weight-0').css('background-color','white');dimensions++; 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','KSES530SPS'); $('#product_serialnumb-1').attr('value','RF1415308'); $('#product_store_prodlnid-1').attr('value','211001'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('KitchenAid Range electric
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Range - Electric'; }).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() == '201-250 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','KDFS224SPS'); $('#product_serialnumb-2').attr('value','FF2001187'); $('#product_store_prodlnid-2').attr('value','211002'); $('#product_status-2').attr('value','in stock'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('KitchenAid 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() == '51-100 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','gold'); $('#product-span-3').css('color','black'); $('#product-span-3').html(' '); $('#product_modelnumb-3').attr('value','KVWB400DSS'); $('#product_serialnumb-3').attr('value',''); $('#product_store_prodlnid-3').attr('value','211003'); $('#product_status-3').attr('value','not in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('KitchenAid Hood
not in stock
'); $('#product_type-3 option').filter(function() { return $(this).text() == 'Hood'; }).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++; if(def_weight[prod_id] != ''){ $('#product_weight-3 option').filter(function() { return $(this).text() == ''+def_weight[prod_id]+''; }).attr('selected', true); } else { $('#product_weight-3').css('background-color','red');} 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','PARTS'); $('#product_serialnumb-4').attr('value','IMLINE, DWKIT '); $('#product_store_prodlnid-4').attr('value','0'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val('IMLINE, DWKIT'); dimensions = 0; $('#product-span-4').html(' Parts
in stock
'); $('#product_type-4 option').filter(function() { return $(this).text() == 'Parts'; }).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]); $('#height-4').addClass('hidediv'); $('#product_height-4 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_height-4').css('background-color','white');dimensions++; $('#width-4').addClass('hidediv'); $('#product_width-4 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-4').css('background-color','white');dimensions++; $('#depth-4').addClass('hidediv'); $('#product_depth-4 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-4').css('background-color','white');dimensions++; $('#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'); }