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

Order Info:

Array
(
    [comments] => PUDS PICKUP 
    [additional_notes] => Available Rebates
BigCentric 1 Year Warranty Extension Promotion 		(Purchase by 2026-12-31, Submit by 2027-01-31)
LG ThinQ Warranty Extension 		(Purchase by 2026-12-31, Submit by 2026-12-31)
		Claim Online At: http://www.lg-promos.com/ThinQ724
LG Spring NECO Rebate 	$300.00	(Purchase by 2026-05-11, Submit by 2026-07-11)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$300.00
    [targetdate] => 2026-04-24 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => LF20G6331S
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => 601VNVR06767
                    [recid] => 202786
                    [received_date] => 2026-04-17
                )

            [1] => Array
                (
                    [model] => GUD24ESSMWW
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SAFD074555C
                    [recid] => 202787
                    [received_date] => 2026-04-24
                )

            [2] => Array
                (
                    [model] => PARTS
                    [description] => PARTS
                    [notes] => IMLINE-SSHOSE-DRVENT-ERCORD
                    [recid] => 202788
                )

            [5] => Array
                (
                    [model] => LREN6325XE
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 0
                    [location] => 0100
                    [serial] => 504KMKT1X965
                    [recid] => 203142
                    [received_date] => 2025-08-06
                )

            [6] => Array
                (
                    [model] => MVEM1825X
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => 511TAZFMH677
                    [recid] => 203143
                    [received_date] => 2026-03-11
                    [transfer_date] => 2026-04-11
                    [transfer_to] => 0000
                )

        )

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

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260414004
    [numitems] => 4
    [numinstock] => 4
    [numattarget] => 3
    [numfulfilled] => 0
    [customerno] => 6105170744
    [shipmethod] => delivery
    [readystatus] => 0
    [orderopen] => 1
    [billname] => William Zook
    [billaddr1] => 60 Forest Road
    [billaddr2] => 
    [billcity] => SPRINGFIELD
    [billstate] => PA
    [billzip] => 19064
    [shipname] => 
    [shipaddr1] => 
    [shipaddr2] => 
    [shipcity] => 
    [shipstate] => 
    [shipzip] => 
    [phonenos] => Array
        (
            [0] => 6105170744
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => LF20G6331S
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => 601VNVR06767
            [recid] => 202786
            [received_date] => 2026-04-17
        )

    [1] => Array
        (
            [model] => GUD24ESSMWW
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SAFD074555C
            [recid] => 202787
            [received_date] => 2026-04-24
        )

    [2] => Array
        (
            [model] => PARTS
            [description] => PARTS
            [notes] => IMLINE-SSHOSE-DRVENT-ERCORD
            [recid] => 202788
        )

    [5] => Array
        (
            [model] => LREN6325XE
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 0
            [location] => 0100
            [serial] => 504KMKT1X965
            [recid] => 203142
            [received_date] => 2025-08-06
        )

    [6] => Array
        (
            [model] => MVEM1825X
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => 511TAZFMH677
            [recid] => 203143
            [received_date] => 2026-03-11
            [transfer_date] => 2026-04-11
            [transfer_to] => 0000
        )

)

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','William Zook'); $('#contact_email-0').attr('value','willh.zook@gmail.com'); $('#contact_phone-0').attr('value','6105170744'); $('#contact_phonetxt-0').attr('value','6105170744');

key 2

Model #s:

Array
(
    [0] => LF20G6331S
    [1] => GUD24ESSMWW
    [3] => LREN6325XE
    [4] => MVEM1825X
)
console.log('modelnumbs_arr: {\"0\":\"LF20G6331S\",\"1\":\"GUD24ESSMWW\",\"3\":\"LREN6325XE\",\"4\":\"MVEM1825X\"}');
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] => LF20G6331S
    [1] => GUD24ESSMWW
    [2] => PARTS
    [5] => LREN6325XE
    [6] => MVEM1825X
)

key 2

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"LF20G6331S\",\"1\":\"GUD24ESSMWW\",\"3\":\"LREN6325XE\",\"4\":\"MVEM1825X\",\"5\":\"PARTS\"}');

Model Info:

Array
(
    [GUD24ESSMWW] => Array
        (
            [model] => GUD24ESSMWW
            [brand] => GE
            [description] => GE Spacemaker 24" Unitized Laundry Center, Electric Dryer
            [height] => 74.875
            [width] => 23.75
            [depth] => 27.375
            [case_depth] => 
            [case_height] => 
            [class] => Laundry
            [electric] => 1
        )

    [LF20G6331S] => Array
        (
            [model] => LF20G6331S
            [brand] => LG
            [description] => LG 33" Wide Counter Depth MAX French Door Refrigerator with On Door Dispenser
            [height] => 69.9375
            [width] => 32.9375
            [depth] => 31.75
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
            [weight] => 145
        )

    [LREN6325XE] => Array
        (
            [model] => LREN6325XE
            [brand] => LG
            [description] => LG 30" Wide Free Standing Smart Electric Range with InstaView, ProBake, and Air Fry
            [height] => 46.5
            [width] => 29.875
            [depth] => 29.125
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [electric] => 1
            [weight] => 157.4
        )

    [MVEM1825X] => Array
        (
            [model] => MVEM1825X
            [brand] => LG
            [description] => LG 30" Wide Over the Range Microwave with EasyClean
            [height] => 16.4375
            [width] => 29.875
            [depth] => 15.875
            [case_depth] => 
            [case_height] => 
            [class] => Microwave
            [subclass] => Over The Range
            [weight] => 49
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => IMLINE-SSHOSE-DRVENT-ERCORD 
            [model] => PARTS
            [description] => 
            [notes] => IMLINE-SSHOSE-DRVENT-ERCORD
            [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 LF20G6331S: 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 LF20G6331S:

Array
(
    [model] => LF20G6331S
    [brand] => LG
    [description] => LG 33" Wide Counter Depth MAX French Door Refrigerator with On Door Dispenser
    [height] => 69.9375
    [width] => 32.9375
    [depth] => 31.75
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
    [weight] => 145
)

(0) LF20G6331S


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 ('LF20G6331S','1','LG','LG 33" Wide Counter Depth MAX French Door Refrigerator with On Door Dispenser','78','Fridge','','','69.9375','32.9375','31.75','145') ON DUPLICATE KEY UPDATE model_description = 'LG 33" Wide Counter Depth MAX French Door Refrigerator with On Door Dispenser',prod_type='78',class='Fridge',subclass='',heat_source='',height='69.9375',width='32.9375',depth='31.75',weight='145' ; console.log('i cnt GUD24ESSMWW: 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 GUD24ESSMWW:

Array
(
    [model] => GUD24ESSMWW
    [brand] => GE
    [description] => GE Spacemaker 24" Unitized Laundry Center, Electric Dryer
    [height] => 74.875
    [width] => 23.75
    [depth] => 27.375
    [case_depth] => 
    [case_height] => 
    [class] => Laundry
    [electric] => 1
)

(1) GUD24ESSMWW


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[43] = '1-36 inches'; def_height[43] = '73-84 inches'; def_depth[43] = '1-36 inches'; def_weight[43] = '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 ('GUD24ESSMWW','1','GE','GE Spacemaker 24" Unitized Laundry Center, Electric Dryer','43','Laundry','','Electric','74.875','23.75','27.375','') ON DUPLICATE KEY UPDATE model_description = 'GE Spacemaker 24" Unitized Laundry Center, Electric Dryer',prod_type='43',class='Laundry',subclass='',heat_source='Electric',height='74.875',width='23.75',depth='27.375',weight='' ; console.log('i cnt PARTS: 2'); console.log('Notes: IMLINE-SSHOSE-DRVENT-ERCORD');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => IMLINE-SSHOSE-DRVENT-ERCORD 
    [model] => PARTS
    [description] => 
    [notes] => IMLINE-SSHOSE-DRVENT-ERCORD
    [width] => 1
    [depth] => 1
    [height] => 1
    [weight] => 1
    [fulfilled] => 0
)

(2) 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
console.log('i cnt LREN6325XE: 3'); console.log('Notes: ');

Model Info LREN6325XE:

Array
(
    [model] => LREN6325XE
    [brand] => LG
    [description] => LG 30" Wide Free Standing Smart Electric Range with InstaView, ProBake, and Air Fry
    [height] => 46.5
    [width] => 29.875
    [depth] => 29.125
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [electric] => 1
    [weight] => 157.4
)

(3) LREN6325XE


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 ('LREN6325XE','1','LG','LG 30" Wide Free Standing Smart Electric Range with InstaView, ProBake, and Air Fry','80','Range','','Electric','46.5','29.875','29.125','157.4') ON DUPLICATE KEY UPDATE model_description = 'LG 30" Wide Free Standing Smart Electric Range with InstaView, ProBake, and Air Fry',prod_type='80',class='Range',subclass='',heat_source='Electric',height='46.5',width='29.875',depth='29.125',weight='157.4' ; console.log('i cnt MVEM1825X: 4'); console.log('Notes: ');

Model Info MVEM1825X:

Array
(
    [model] => MVEM1825X
    [brand] => LG
    [description] => LG 30" Wide Over the Range Microwave with EasyClean
    [height] => 16.4375
    [width] => 29.875
    [depth] => 15.875
    [case_depth] => 
    [case_height] => 
    [class] => Microwave
    [subclass] => Over The Range
    [weight] => 49
)

(4) MVEM1825X


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 ('MVEM1825X','1','LG','LG 30" Wide Over the Range Microwave with EasyClean','60','Microwave','Over The Range','','16.4375','29.875','15.875','49') ON DUPLICATE KEY UPDATE model_description = 'LG 30" Wide Over the Range Microwave with EasyClean',prod_type='60',class='Microwave',subclass='Over The Range',heat_source='',height='16.4375',width='29.875',depth='15.875',weight='49' ; $('#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','LF20G6331S'); $('#product_serialnumb-0').attr('value','601VNVR06767'); $('#product_store_prodlnid-0').attr('value','202786'); $('#product_status-0').attr('value','in stock'); $('#product_notes-0').val(''); dimensions = 0; $('#product-span-0').html('LG 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() == '101-150 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','GUD24ESSMWW'); $('#product_serialnumb-1').attr('value','SAFD074555C'); $('#product_store_prodlnid-1').attr('value','202787'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('GE Appliances Laundry electric
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Laundry - 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() == '73-84 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++; if(def_weight[prod_id] != ''){ $('#product_weight-1 option').filter(function() { return $(this).text() == ''+def_weight[prod_id]+''; }).attr('selected', true); } else { $('#product_weight-1').css('background-color','red');} 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','PARTS'); $('#product_serialnumb-2').attr('value','IMLINE-SSHOSE-DRVENT-ERCORD '); $('#product_store_prodlnid-2').attr('value','0'); $('#product_status-2').attr('value','in stock'); $('#product_notes-2').val('IMLINE-SSHOSE-DRVENT-ERCORD'); dimensions = 0; $('#product-span-2').html(' Parts
in stock
'); $('#product_type-2 option').filter(function() { return $(this).text() == 'Parts'; }).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() == '1-50 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','LREN6325XE'); $('#product_serialnumb-3').attr('value','504KMKT1X965'); $('#product_store_prodlnid-3').attr('value','203142'); $('#product_status-3').attr('value','in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('LG Range electric
in stock
'); $('#product_type-3 option').filter(function() { return $(this).text() == 'Range - Electric'; }).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() == '37-48 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() == '151-200 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','MVEM1825X'); $('#product_serialnumb-4').attr('value','511TAZFMH677'); $('#product_store_prodlnid-4').attr('value','203143'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val(''); dimensions = 0; $('#product-span-4').html('LG Microwave Over The Range
in stock
'); $('#product_type-4 option').filter(function() { return $(this).text() == 'Microwave - Over The Range'; }).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'); }