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

Order Info:

Array
(
    [comments] => 4230 Greenmount Rd 19154
    [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: https://www.lgoffers.com/
GE Memorial Day NECO Rebate 	$100.00	(Purchase by 2026-06-10, Submit by 2026-08-10)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$100.00
    [targetdate] => 2026-06-12 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => LS27T3230S
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => 507VNSM00766
                    [recid] => 205103
                    [received_date] => 2025-12-22
                    [transfer_date] => 2026-06-09
                    [transfer_to] => 0000
                )

            [1] => Array
                (
                    [model] => GGS600AVFS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SNGD063022Q
                    [recid] => 205104
                    [received_date] => 2026-04-22
                )

            [2] => Array
                (
                    [model] => GDF650SYVFS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SWTA713230B
                    [recid] => 205105
                    [received_date] => 2026-06-05
                )

            [3] => Array
                (
                    [model] => JVX5305SJSS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SCLA805696P
                    [recid] => 205106
                    [received_date] => 2026-06-05
                )

            [4] => Array
                (
                    [model] => PARTS
                    [description] => PARTS
                    [notes] => PEXLINE-GASFLEX-DWKIT
                    [recid] => 205107
                )

        )

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

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260523006
    [numitems] => 4
    [numinstock] => 4
    [numattarget] => 4
    [numfulfilled] => 0
    [customerno] => 9083420550
    [shipmethod] => delivery
    [readystatus] => 1
    [orderopen] => 1
    [billname] => Khanh Ho 
    [billaddr1] => 136 Cambridge Dr 
    [billaddr2] => 
    [billcity] => GLEN MILLS
    [billstate] => PA
    [billzip] => 19342
    [shipname] => 
    [shipaddr1] => 
    [shipaddr2] => 
    [shipcity] => 
    [shipstate] => 
    [shipzip] => 
    [phonenos] => Array
        (
            [0] => 9083420550
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => LS27T3230S
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => 507VNSM00766
            [recid] => 205103
            [received_date] => 2025-12-22
            [transfer_date] => 2026-06-09
            [transfer_to] => 0000
        )

    [1] => Array
        (
            [model] => GGS600AVFS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SNGD063022Q
            [recid] => 205104
            [received_date] => 2026-04-22
        )

    [2] => Array
        (
            [model] => GDF650SYVFS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SWTA713230B
            [recid] => 205105
            [received_date] => 2026-06-05
        )

    [3] => Array
        (
            [model] => JVX5305SJSS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SCLA805696P
            [recid] => 205106
            [received_date] => 2026-06-05
        )

    [4] => Array
        (
            [model] => PARTS
            [description] => PARTS
            [notes] => PEXLINE-GASFLEX-DWKIT
            [recid] => 205107
        )

)

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','Khanh Ho '); $('#contact_email-0').attr('value','khnh0630@gmail.com'); $('#contact_phone-0').attr('value','9083420550'); $('#contact_phonetxt-0').attr('value','9083420550');

key 4

Model #s:

Array
(
    [0] => LS27T3230S
    [1] => GGS600AVFS
    [2] => GDF650SYVFS
    [3] => JVX5305SJSS
)
console.log('modelnumbs_arr: [\"LS27T3230S\",\"GGS600AVFS\",\"GDF650SYVFS\",\"JVX5305SJSS\"]');
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] => LS27T3230S
    [1] => GGS600AVFS
    [2] => GDF650SYVFS
    [3] => JVX5305SJSS
    [4] => PARTS
)

key 4

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"LS27T3230S\",\"1\":\"GGS600AVFS\",\"2\":\"GDF650SYVFS\",\"3\":\"JVX5305SJSS\",\"5\":\"PARTS\"}');

Model Info:

Array
(
    [GDF650SYVFS] => Array
        (
            [model] => GDF650SYVFS
            [brand] => GE
            [description] => GE 24" Front Control Dishwasher with Stainless Tub, Three Racks, Bottle Jets
            [height] => 33.375
            [width] => 23.75
            [depth] => 24
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 99
        )

    [GGS600AVFS] => Array
        (
            [model] => GGS600AVFS
            [brand] => GE
            [description] => GE 30" Slide In Gas Range with Convection and Air Fry, EasyClean Tray, Integrated Griddle, and Wi-Fi
            [height] => 36.625
            [width] => 30
            [depth] => 28.625
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [gas] => 1
            [weight] => 157
        )

    [JVX5305SJSS] => Array
        (
            [model] => JVX5305SJSS
            [brand] => GE
            [description] => GE 30" Energy Star Undercabinet Range Hood
            [height] => 5.5
            [width] => 29.875
            [depth] => 20
            [case_depth] => 
            [case_height] => 
            [class] => Hood
        )

    [LS27T3230S] => Array
        (
            [model] => LS27T3230S
            [brand] => LG
            [description] => LG 36" Wide Full Depth Side By Side Refrigerator with On Door Ice and Water Dispenser
            [height] => 70.5
            [width] => 35.875
            [depth] => 36.3125
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
            [weight] => 242.5
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => PEXLINE-GASFLEX-DWKIT 
            [model] => PARTS
            [description] => 
            [notes] => PEXLINE-GASFLEX-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 LS27T3230S: 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 LS27T3230S:

Array
(
    [model] => LS27T3230S
    [brand] => LG
    [description] => LG 36" Wide Full Depth Side By Side Refrigerator with On Door Ice and Water Dispenser
    [height] => 70.5
    [width] => 35.875
    [depth] => 36.3125
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
    [weight] => 242.5
)

(0) LS27T3230S


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 ('LS27T3230S','1','LG','LG 36" Wide Full Depth Side By Side Refrigerator with On Door Ice and Water Dispenser','78','Fridge','','','70.5','35.875','36.3125','242.5') ON DUPLICATE KEY UPDATE model_description = 'LG 36" Wide Full Depth Side By Side Refrigerator with On Door Ice and Water Dispenser',prod_type='78',class='Fridge',subclass='',heat_source='',height='70.5',width='35.875',depth='36.3125',weight='242.5' ; console.log('i cnt GGS600AVFS: 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 GGS600AVFS:

Array
(
    [model] => GGS600AVFS
    [brand] => GE
    [description] => GE 30" Slide In Gas Range with Convection and Air Fry, EasyClean Tray, Integrated Griddle, and Wi-Fi
    [height] => 36.625
    [width] => 30
    [depth] => 28.625
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [gas] => 1
    [weight] => 157
)

(1) GGS600AVFS


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 ('GGS600AVFS','1','GE','GE 30" Slide In Gas Range with Convection and Air Fry, EasyClean Tray, Integrated Griddle, and Wi-Fi','79','Range','','Gas','36.625','30','28.625','157') ON DUPLICATE KEY UPDATE model_description = 'GE 30" Slide In Gas Range with Convection and Air Fry, EasyClean Tray, Integrated Griddle, and Wi-Fi',prod_type='79',class='Range',subclass='',heat_source='Gas',height='36.625',width='30',depth='28.625',weight='157' ; console.log('i cnt GDF650SYVFS: 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 GDF650SYVFS:

Array
(
    [model] => GDF650SYVFS
    [brand] => GE
    [description] => GE 24" Front Control Dishwasher with Stainless Tub, Three Racks, Bottle Jets
    [height] => 33.375
    [width] => 23.75
    [depth] => 24
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 99
)

(2) GDF650SYVFS


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 ('GDF650SYVFS','1','GE','GE 24" Front Control Dishwasher with Stainless Tub, Three Racks, Bottle Jets','5','Dishwasher','','','33.375','23.75','24','99') ON DUPLICATE KEY UPDATE model_description = 'GE 24" Front Control Dishwasher with Stainless Tub, Three Racks, Bottle Jets',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.375',width='23.75',depth='24',weight='99' ; console.log('i cnt JVX5305SJSS: 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 JVX5305SJSS:

Array
(
    [model] => JVX5305SJSS
    [brand] => GE
    [description] => GE 30" Energy Star Undercabinet Range Hood
    [height] => 5.5
    [width] => 29.875
    [depth] => 20
    [case_depth] => 
    [case_height] => 
    [class] => Hood
)

(3) JVX5305SJSS


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 ('JVX5305SJSS','1','GE','GE 30" Energy Star Undercabinet Range Hood','4','Hood','','','5.5','29.875','20','') ON DUPLICATE KEY UPDATE model_description = 'GE 30" Energy Star Undercabinet Range Hood',prod_type='4',class='Hood',subclass='',heat_source='',height='5.5',width='29.875',depth='20',weight='' ; console.log('i cnt PARTS: 4'); console.log('Notes: PEXLINE-GASFLEX-DWKIT');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => PEXLINE-GASFLEX-DWKIT 
    [model] => PARTS
    [description] => 
    [notes] => PEXLINE-GASFLEX-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','LS27T3230S'); $('#product_serialnumb-0').attr('value','507VNSM00766'); $('#product_store_prodlnid-0').attr('value','205103'); $('#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() == '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() == '201-250 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','GGS600AVFS'); $('#product_serialnumb-1').attr('value','SNGD063022Q'); $('#product_store_prodlnid-1').attr('value','205104'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('GE Appliances Range gas
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Range - Gas'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-1').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-1').addClass('hidediv'); $('#product_height-1 option').filter(function() { return $(this).text() == '37-48 inches'; }).attr('selected', true); $('#product_height-1').css('background-color','white');dimensions++; $('#width-1').addClass('hidediv'); $('#product_width-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-1').css('background-color','white');dimensions++; $('#depth-1').addClass('hidediv'); $('#product_depth-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-1').css('background-color','white');dimensions++; $('#weight-1').addClass('hidediv'); $('#product_weight-1 option').filter(function() { return $(this).text() == '151-200 lbs'; }).attr('selected', true); $('#product_weight-1').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-1').addClass('hidediv'); } $('#product-span-2').css('background-color','greenyellow'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','GDF650SYVFS'); $('#product_serialnumb-2').attr('value','SWTA713230B'); $('#product_store_prodlnid-2').attr('value','205105'); $('#product_status-2').attr('value','in stock'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('GE Appliances 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','greenyellow'); $('#product-span-3').css('color','black'); $('#product-span-3').html(' '); $('#product_modelnumb-3').attr('value','JVX5305SJSS'); $('#product_serialnumb-3').attr('value','SCLA805696P'); $('#product_store_prodlnid-3').attr('value','205106'); $('#product_status-3').attr('value','in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('GE Appliances Hood
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','PEXLINE-GASFLEX-DWKIT '); $('#product_store_prodlnid-4').attr('value','0'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val('PEXLINE-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'); }