Warning: Undefined array key "PHP_AUTH_USER" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/config.php on line 18

Deprecated: Optional parameter $truck_id declared before required parameter $stop_dist is implicitly treated as a required parameter in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/sch-fnc.php on line 23
console.log('poi rorder: 250604010');

Order Info:

Array
(
    [comments] =>  serials given for rebates
    [additional_notes] => Available Rebates
KitchenAid May-June NECO Rebate	$1,000.00	(Purchase by 2025-06-04, Submit by 2025-07-04)
Claim Online At: http://www.necoonlinerebates.com
KitchenAid Craft Your Dream Kitchen Rebate	$900.00	(Purchase by 2025-06-30, Submit by 2025-07-30)
Claim Online At: http://kitchenaidappliancepromotions.com
Total Rebates:	$1,900.00
    [targetdate] => 2025-06-13 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 0
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => KRFC136RPS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => KE2303822
                    [recid] => 184089
                    [received_date] => 2025-06-13
                )

            [1] => Array
                (
                    [model] => KSGG700ESS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => RE2039437
                    [recid] => 184090
                    [received_date] => 2025-06-13
                )

            [2] => Array
                (
                    [model] => KDTM404KPS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => FE0901998
                    [recid] => 184091
                    [received_date] => 2025-03-04
                )

            [3] => Array
                (
                    [model] => KVUB600DSS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => XHD0747714
                    [recid] => 184092
                    [received_date] => 2025-06-13
                )

            [4] => Array
                (
                    [model] => KMBD104GSS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => FSE1705498
                    [recid] => 184093
                    [received_date] => 2025-06-13
                )

            [5] => Array
                (
                    [model] => PARTS
                    [description] => IMLINE, GAS FLX, DWKIT
                    [notes] => IMLINE, GAS FLX, DWKIT
                    [recid] => 184094
                )

        )

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

    [status] => 1
    [statusmessage] => OK
    [orderno] => 250604010
    [numitems] => 5
    [numinstock] => 5
    [numattarget] => 5
    [numfulfilled] => 5
    [customerno] => 2672100616
    [shipmethod] => delivery
    [readystatus] => 1
    [orderopen] => 0
    [billname] => Daniel Choi
    [billaddr1] => 3432 Preservation Dr
    [billaddr2] => 
    [billcity] => FAIRFAX
    [billstate] => VA
    [billzip] => 22031
    [shipname] => 
    [shipaddr1] => 
    [shipaddr2] => 
    [shipcity] => 
    [shipstate] => 
    [shipzip] => 
    [phonenos] => Array
        (
            [0] => 2672100616
            [1] => 2672314696
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => KRFC136RPS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => KE2303822
            [recid] => 184089
            [received_date] => 2025-06-13
        )

    [1] => Array
        (
            [model] => KSGG700ESS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => RE2039437
            [recid] => 184090
            [received_date] => 2025-06-13
        )

    [2] => Array
        (
            [model] => KDTM404KPS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => FE0901998
            [recid] => 184091
            [received_date] => 2025-03-04
        )

    [3] => Array
        (
            [model] => KVUB600DSS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => XHD0747714
            [recid] => 184092
            [received_date] => 2025-06-13
        )

    [4] => Array
        (
            [model] => KMBD104GSS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => FSE1705498
            [recid] => 184093
            [received_date] => 2025-06-13
        )

    [5] => Array
        (
            [model] => PARTS
            [description] => IMLINE, GAS FLX, DWKIT
            [notes] => IMLINE, GAS FLX, DWKIT
            [recid] => 184094
        )

)

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-1').attr('value','Daniel Choi'); $('#contact_email-1').attr('value','danxchoi@gmail.com'); $('#contact_phone-1').attr('value','2672100616'); $('#contact_phonetxt-1').attr('value','2672100616'); $('#contact_name-2').attr('value','Daniel Choi');
Warning: Undefined variable $email_2 in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 435
$('#contact_email-2').attr('value',''); $('#contact_phone-2').attr('value','2672314696'); $('#contact_phonetxt-2').attr('value','2672314696');

key 5

Model #s:

Array
(
    [0] => KRFC136RPS
    [1] => KSGG700ESS
    [2] => KDTM404KPS
    [3] => KVUB600DSS
    [4] => KMBD104GSS
)
console.log('modelnumbs_arr: [\"KRFC136RPS\",\"KSGG700ESS\",\"KDTM404KPS\",\"KVUB600DSS\",\"KMBD104GSS\"]');
Warning: Undefined array key "statusmessage" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 504

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

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

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

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

fix PARTS

Columns model:

Array
(
    [0] => KRFC136RPS
    [1] => KSGG700ESS
    [2] => KDTM404KPS
    [3] => KVUB600DSS
    [4] => KMBD104GSS
    [5] => PARTS
)

key 5

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"KRFC136RPS\",\"1\":\"KSGG700ESS\",\"2\":\"KDTM404KPS\",\"3\":\"KVUB600DSS\",\"4\":\"KMBD104GSS\",\"6\":\"PARTS\"}');

Model Info:

Array
(
    [KDTM404KPS] => Array
        (
            [model] => KDTM404KPS
            [brand] => KTA
            [description] => KitchenAid Top Control Dishwasher with FreeFlex Third Rack, Print Resistant
            [height] => 33.5
            [width] => 23.875
            [depth] => 26.75
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 116
        )

    [KMBD104GSS] => Array
        (
            [model] => KMBD104GSS
            [brand] => KTA
            [description] => KitchenAid 24" Microwave Drawer
            [height] => 16
            [width] => 23.875
            [depth] => 23.25
            [case_depth] => 
            [case_height] => 
            [class] => Microwave
            [subclass] => Built In
            [weight] => 88
        )

    [KRFC136RPS] => Array
        (
            [model] => KRFC136RPS
            [brand] => KTA
            [description] => KitchenAid 36" Wide Counter Depth French Door Refrigerator with Internal Water Dispenser
            [height] => 70.125
            [width] => 35.75
            [depth] => 29.375
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
        )

    [KSGG700ESS] => Array
        (
            [model] => KSGG700ESS
            [brand] => KTA
            [description] => KitchenAid Gas Slide In Range with 5 Burners and Convection
            [height] => 37.1875
            [width] => 29.875
            [depth] => 28.875
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [gas] => 1
            [weight] => 215
        )

    [KVUB600DSS] => Array
        (
            [model] => KVUB600DSS
            [brand] => KTA
            [description] => KitchenAid 30" Undercabinet Hood, 600 CFM
            [height] => 9
            [width] => 29.875
            [depth] => 19.75
            [case_depth] => 
            [case_height] => 
            [class] => Hood
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => IMLINE, GAS FLX, DWKIT 
            [model] => PARTS
            [description] => 
            [notes] => IMLINE, GAS FLX, 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 KRFC136RPS: 0');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 643

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

Model Info KRFC136RPS:

Array
(
    [model] => KRFC136RPS
    [brand] => KTA
    [description] => KitchenAid 36" Wide Counter Depth French Door Refrigerator with Internal Water Dispenser
    [height] => 70.125
    [width] => 35.75
    [depth] => 29.375
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
)

(0) KRFC136RPS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 808
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 ('KRFC136RPS','1','KTA','KitchenAid 36" Wide Counter Depth French Door Refrigerator with Internal Water Dispenser','78','Fridge','','','70.125','35.75','29.375','') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 36" Wide Counter Depth French Door Refrigerator with Internal Water Dispenser',prod_type='78',class='Fridge',subclass='',heat_source='',height='70.125',width='35.75',depth='29.375',weight='' ; console.log('i cnt KSGG700ESS: 1');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 643

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

Model Info KSGG700ESS:

Array
(
    [model] => KSGG700ESS
    [brand] => KTA
    [description] => KitchenAid Gas Slide In Range with 5 Burners and Convection
    [height] => 37.1875
    [width] => 29.875
    [depth] => 28.875
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [gas] => 1
    [weight] => 215
)

(1) KSGG700ESS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 808
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 ('KSGG700ESS','1','KTA','KitchenAid Gas Slide In Range with 5 Burners and Convection','79','Range','','Gas','37.1875','29.875','28.875','215') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid Gas Slide In Range with 5 Burners and Convection',prod_type='79',class='Range',subclass='',heat_source='Gas',height='37.1875',width='29.875',depth='28.875',weight='215' ; console.log('i cnt KDTM404KPS: 2');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 643

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

Model Info KDTM404KPS:

Array
(
    [model] => KDTM404KPS
    [brand] => KTA
    [description] => KitchenAid Top Control Dishwasher with FreeFlex Third Rack, Print Resistant
    [height] => 33.5
    [width] => 23.875
    [depth] => 26.75
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 116
)

(2) KDTM404KPS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 808
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 ('KDTM404KPS','1','KTA','KitchenAid Top Control Dishwasher with FreeFlex Third Rack, Print Resistant','5','Dishwasher','','','33.5','23.875','26.75','116') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid Top Control Dishwasher with FreeFlex Third Rack, Print Resistant',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.5',width='23.875',depth='26.75',weight='116' ; console.log('i cnt KVUB600DSS: 3');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 643

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

Model Info KVUB600DSS:

Array
(
    [model] => KVUB600DSS
    [brand] => KTA
    [description] => KitchenAid 30" Undercabinet Hood, 600 CFM
    [height] => 9
    [width] => 29.875
    [depth] => 19.75
    [case_depth] => 
    [case_height] => 
    [class] => Hood
)

(3) KVUB600DSS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 808
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 ('KVUB600DSS','1','KTA','KitchenAid 30" Undercabinet Hood, 600 CFM','4','Hood','','','9','29.875','19.75','') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 30" Undercabinet Hood, 600 CFM',prod_type='4',class='Hood',subclass='',heat_source='',height='9',width='29.875',depth='19.75',weight='' ; console.log('i cnt KMBD104GSS: 4');
Warning: Undefined variable $description in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 643

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

Model Info KMBD104GSS:

Array
(
    [model] => KMBD104GSS
    [brand] => KTA
    [description] => KitchenAid 24" Microwave Drawer
    [height] => 16
    [width] => 23.875
    [depth] => 23.25
    [case_depth] => 
    [case_height] => 
    [class] => Microwave
    [subclass] => Built In
    [weight] => 88
)

(4) KMBD104GSS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 808
def_width[11] = '1-36 inches'; def_height[11] = '1-36 inches'; def_depth[11] = '1-36 inches'; def_weight[11] = '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 ('KMBD104GSS','1','KTA','KitchenAid 24" Microwave Drawer','11','Microwave','Built In','','16','23.875','23.25','88') ON DUPLICATE KEY UPDATE model_description = 'KitchenAid 24" Microwave Drawer',prod_type='11',class='Microwave',subclass='Built In',heat_source='',height='16',width='23.875',depth='23.25',weight='88' ; console.log('i cnt PARTS: 5'); console.log('Notes: IMLINE, GAS FLX, DWKIT');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => IMLINE, GAS FLX, DWKIT 
    [model] => PARTS
    [description] => 
    [notes] => IMLINE, GAS FLX, DWKIT
    [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 808
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 834

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 840

Warning: Undefined array key "" in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 840
$('#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','lightgray'); $('#product-span-0').css('color','black'); $('#product-span-0').html(' '); $('#product_modelnumb-0').attr('value','KRFC136RPS'); $('#product_serialnumb-0').attr('value','KE2303822'); $('#product_store_prodlnid-0').attr('value','184089'); $('#product_status-0').attr('value','fulfilled'); $('#product_notes-0').val(' 677 '); dimensions = 0; $('#product-span-0').html('KitchenAid Fridge
fulfilled
'); $('#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','lightgray'); $('#product-span-1').css('color','black'); $('#product-span-1').html(' '); $('#product_modelnumb-1').attr('value','KSGG700ESS'); $('#product_serialnumb-1').attr('value','RE2039437'); $('#product_store_prodlnid-1').attr('value','184090'); $('#product_status-1').attr('value','fulfilled'); $('#product_notes-1').val(' 677 '); dimensions = 0; $('#product-span-1').html('KitchenAid Range gas
fulfilled
'); $('#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() == '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','lightgray'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','KDTM404KPS'); $('#product_serialnumb-2').attr('value','FE0901998'); $('#product_store_prodlnid-2').attr('value','184091'); $('#product_status-2').attr('value','fulfilled'); $('#product_notes-2').val(' 677 '); dimensions = 0; $('#product-span-2').html('KitchenAid Dishwasher
fulfilled
'); $('#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','lightgray'); $('#product-span-3').css('color','black'); $('#product-span-3').html(' '); $('#product_modelnumb-3').attr('value','KVUB600DSS'); $('#product_serialnumb-3').attr('value','XHD0747714'); $('#product_store_prodlnid-3').attr('value','184092'); $('#product_status-3').attr('value','fulfilled'); $('#product_notes-3').val(' 677 '); dimensions = 0; $('#product-span-3').html('KitchenAid Hood
fulfilled
'); $('#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','lightgray'); $('#product-span-4').css('color','black'); $('#product-span-4').html(' '); $('#product_modelnumb-4').attr('value','KMBD104GSS'); $('#product_serialnumb-4').attr('value','FSE1705498'); $('#product_store_prodlnid-4').attr('value','184093'); $('#product_status-4').attr('value','fulfilled'); $('#product_notes-4').val(' 677 '); dimensions = 0; $('#product-span-4').html('KitchenAid Microwave Built In
fulfilled
'); $('#product_type-4 option').filter(function() { return $(this).text() == 'Microwave - Built In'; }).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() == '51-100 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','IMLINE, GAS FLX, DWKIT '); $('#product_store_prodlnid-5').attr('value','0'); $('#product_status-5').attr('value','in stock'); $('#product_notes-5').val(' 677 IMLINE, GAS FLX, 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'); }