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

Order Info:

Array
(
    [comments] => DROP OFF ONLY Ground floor
    [additional_notes] => Whirlpool New Year NECO Rebate 	$500.00	(Purchase by 2026-02-02, Submit by 2026-03-02)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$500.00
    [targetdate] => 2026-01-28 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => WRTX3119SZ
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => VSE4642495
                    [recid] => 198286
                    [received_date] => 2026-01-08
                )

            [1] => Array
                (
                    [model] => WFG505M0MS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => VEE4573303
                    [recid] => 198287
                    [received_date] => 2026-01-09
                )

            [2] => Array
                (
                    [model] => WDP540HAMZ
                    [notes] => 
                    [instock] => 0
                    [fulfilled] => 0
                    [attarget] => 0
                    [location] => 
                    [serial] => 
                    [recid] => 198288
                )

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

            [5] => Array
                (
                    [model] => PARTS
                    [description] => gasflex/dwkit
                    [notes] => 
                    [recid] => 198291
                )

        )

    [emails] => Array
        (
            [0] => tom@tcjinvestmentproperties.com
        )

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260128007
    [numitems] => 4
    [numinstock] => 2
    [numattarget] => 2
    [numfulfilled] => 0
    [customerno] => 6103687980
    [shipmethod] => delivery
    [readystatus] => -1
    [orderopen] => 1
    [billname] => Tom Huston
    [billaddr1] => 802 Holly Ct
    [billaddr2] => 
    [billcity] => MIDDLETOWN
    [billstate] => DE
    [billzip] => 19708
    [shipname] => Tom Huston
    [shipaddr1] => 213 Locust Lane
    [shipaddr2] => 
    [shipcity] => ELKTON
    [shipstate] => MD
    [shipzip] => 21921
    [phonenos] => Array
        (
            [0] => 6103687980
            [1] => 3027293022
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => WRTX3119SZ
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => VSE4642495
            [recid] => 198286
            [received_date] => 2026-01-08
        )

    [1] => Array
        (
            [model] => WFG505M0MS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => VEE4573303
            [recid] => 198287
            [received_date] => 2026-01-09
        )

    [2] => Array
        (
            [model] => WDP540HAMZ
            [notes] => 
            [instock] => 0
            [fulfilled] => 0
            [attarget] => 0
            [location] => 
            [serial] => 
            [recid] => 198288
        )

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

    [5] => Array
        (
            [model] => PARTS
            [description] => gasflex/dwkit
            [notes] => 
            [recid] => 198291
        )

)

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','Tom Huston'); $('#contact_email-0').attr('value','tom@tcjinvestmentproperties.com'); $('#contact_phone-0').attr('value','6103687980'); $('#contact_phonetxt-0').attr('value','6103687980'); $('#contact_name-1').attr('value','Tom Huston');
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','3027293022'); $('#contact_phonetxt-1').attr('value','3027293022');

key 4

Model #s:

Array
(
    [0] => WRTX3119SZ
    [1] => WFG505M0MS
    [2] => WDP540HAMZ
    [3] => WMMS3130RZ
)
console.log('modelnumbs_arr: [\"WRTX3119SZ\",\"WFG505M0MS\",\"WDP540HAMZ\",\"WMMS3130RZ\"]');
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] => WRTX3119SZ
    [1] => WFG505M0MS
    [2] => WDP540HAMZ
    [3] => WMMS3130RZ
    [5] => PARTS
)

key 5

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"WRTX3119SZ\",\"1\":\"WFG505M0MS\",\"2\":\"WDP540HAMZ\",\"3\":\"WMMS3130RZ\",\"5\":\"PARTS\"}');

Model Info:

Array
(
    [WDP540HAMZ] => Array
        (
            [model] => WDP540HAMZ
            [brand] => WHL
            [description] => Whirlpool Top Control Dishwasher with Boost Cycle, Pocket Handle, Hybrid Interior, Two Racks
            [height] => 33.5
            [width] => 23.875
            [depth] => 25.25
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 80
        )

    [WFG505M0MS] => Array
        (
            [model] => WFG505M0MS
            [brand] => WHL
            [description] => Whirlpool 30" Free Standing Gas Range with Five Burners, Manual Clean, Continuous Grates, Lower Broiler
            [height] => 46.25
            [width] => 29.875
            [depth] => 27.2
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [gas] => 1
            [weight] => 136
        )

    [WMMS3130RZ] => Array
        (
            [model] => WMMS3130RZ
            [brand] => WHL
            [description] => Whirlpool 30" Wide, 1.7 cu. ft. Over the Range Microwave, Fingerprint Resistant
            [height] => 17.125
            [width] => 29.875
            [depth] => 17.875
            [case_depth] => 
            [case_height] => 
            [class] => Microwave
            [subclass] => Over The Range
            [weight] => 51.3
        )

    [WRTX3119SZ] => Array
        (
            [model] => WRTX3119SZ
            [brand] => WHL
            [description] => Whirlpool 30" Wide Top Freezer Garage Ready Refrigerator with Pocket Handles
            [height] => 66.1875
            [width] => 29.5
            [depth] => 32.25
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
            [weight] => 197.31
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] =>  gasflex/dwkit
            [model] => PARTS
            [description] => 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 WRTX3119SZ: 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: ');

Model Info WRTX3119SZ:

Array
(
    [model] => WRTX3119SZ
    [brand] => WHL
    [description] => Whirlpool 30" Wide Top Freezer Garage Ready Refrigerator with Pocket Handles
    [height] => 66.1875
    [width] => 29.5
    [depth] => 32.25
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
    [weight] => 197.31
)

(0) WRTX3119SZ


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 ('WRTX3119SZ','1','WHL','Whirlpool 30" Wide Top Freezer Garage Ready Refrigerator with Pocket Handles','78','Fridge','','','66.1875','29.5','32.25','197.31') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 30" Wide Top Freezer Garage Ready Refrigerator with Pocket Handles',prod_type='78',class='Fridge',subclass='',heat_source='',height='66.1875',width='29.5',depth='32.25',weight='197.31' ; console.log('i cnt WFG505M0MS: 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 WFG505M0MS:

Array
(
    [model] => WFG505M0MS
    [brand] => WHL
    [description] => Whirlpool 30" Free Standing Gas Range with Five Burners, Manual Clean, Continuous Grates, Lower Broiler
    [height] => 46.25
    [width] => 29.875
    [depth] => 27.2
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [gas] => 1
    [weight] => 136
)

(1) WFG505M0MS


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 ('WFG505M0MS','1','WHL','Whirlpool 30" Free Standing Gas Range with Five Burners, Manual Clean, Continuous Grates, Lower Broiler','79','Range','','Gas','46.25','29.875','27.2','136') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 30" Free Standing Gas Range with Five Burners, Manual Clean, Continuous Grates, Lower Broiler',prod_type='79',class='Range',subclass='',heat_source='Gas',height='46.25',width='29.875',depth='27.2',weight='136' ; console.log('i cnt WDP540HAMZ: 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 WDP540HAMZ:

Array
(
    [model] => WDP540HAMZ
    [brand] => WHL
    [description] => Whirlpool Top Control Dishwasher with Boost Cycle, Pocket Handle, Hybrid Interior, Two Racks
    [height] => 33.5
    [width] => 23.875
    [depth] => 25.25
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 80
)

(2) WDP540HAMZ


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 ('WDP540HAMZ','1','WHL','Whirlpool Top Control Dishwasher with Boost Cycle, Pocket Handle, Hybrid Interior, Two Racks','5','Dishwasher','','','33.5','23.875','25.25','80') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool Top Control Dishwasher with Boost Cycle, Pocket Handle, Hybrid Interior, Two Racks',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.5',width='23.875',depth='25.25',weight='80' ; console.log('i cnt WMMS3130RZ: 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 WMMS3130RZ:

Array
(
    [model] => WMMS3130RZ
    [brand] => WHL
    [description] => Whirlpool 30" Wide, 1.7 cu. ft. Over the Range Microwave, Fingerprint Resistant
    [height] => 17.125
    [width] => 29.875
    [depth] => 17.875
    [case_depth] => 
    [case_height] => 
    [class] => Microwave
    [subclass] => Over The Range
    [weight] => 51.3
)

(3) WMMS3130RZ


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 ('WMMS3130RZ','1','WHL','Whirlpool 30" Wide, 1.7 cu. ft. Over the Range Microwave, Fingerprint Resistant','60','Microwave','Over The Range','','17.125','29.875','17.875','51.3') ON DUPLICATE KEY UPDATE model_description = 'Whirlpool 30" Wide, 1.7 cu. ft. Over the Range Microwave, Fingerprint Resistant',prod_type='60',class='Microwave',subclass='Over The Range',heat_source='',height='17.125',width='29.875',depth='17.875',weight='51.3' ; console.log('i cnt PARTS: 4'); console.log('Notes: gasflex/dwkit');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] =>  gasflex/dwkit
    [model] => PARTS
    [description] => gasflex/dwkit
    [notes] => 
    [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','','gasflex/dwkit','38','Parts','','','1','1','1','1') ON DUPLICATE KEY UPDATE model_description = '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',5); $('#product-span-0').css('background-color','greenyellow'); $('#product-span-0').css('color','black'); $('#product-span-0').html(' '); $('#product_modelnumb-0').attr('value','WRTX3119SZ'); $('#product_serialnumb-0').attr('value','VSE4642495'); $('#product_store_prodlnid-0').attr('value','198286'); $('#product_status-0').attr('value','in stock'); $('#product_notes-0').val(''); dimensions = 0; $('#product-span-0').html('Whirlpool 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() == '1-36 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() == '151-200 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','WFG505M0MS'); $('#product_serialnumb-1').attr('value','VEE4573303'); $('#product_store_prodlnid-1').attr('value','198287'); $('#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() == '101-150 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','gold'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','WDP540HAMZ'); $('#product_serialnumb-2').attr('value',''); $('#product_store_prodlnid-2').attr('value','198288'); $('#product_status-2').attr('value','not in stock'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('Whirlpool Dishwasher
not 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','WMMS3130RZ'); $('#product_serialnumb-3').attr('value',''); $('#product_store_prodlnid-3').attr('value','198289'); $('#product_status-3').attr('value','not in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('Whirlpool Microwave Over The Range
not 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','PARTS'); $('#product_serialnumb-4').attr('value',' gasflex/dwkit'); $('#product_store_prodlnid-4').attr('value','0'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val('gasflex/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'); }