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

Order Info:

Array
(
    [comments] => Del no install drop off 
    [additional_notes] => Available Rebates
GE Spring NECO Rebate 	$400.00	(Purchase by 2026-05-11, Submit by 2026-07-11)
		Claim Online At: http://www.necoonlinerebates.com
Total Rebates:	$400.00
    [targetdate] => 2026-03-30 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 0
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => GSS25GYPFS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SVMA471997
                    [recid] => 201503
                    [received_date] => 2026-03-30
                )

            [1] => Array
                (
                    [model] => GRF400SVSS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SNFD093643Q
                    [recid] => 201504
                    [received_date] => 2026-04-10
                )

            [2] => Array
                (
                    [model] => GDT550PYRFS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SDDD834741B
                    [recid] => 201505
                    [received_date] => 2026-03-30
                )

            [3] => Array
                (
                    [model] => JVM3160RFSS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 1
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SESA250809L
                    [recid] => 201506
                    [received_date] => 2026-03-30
                )

            [4] => Array
                (
                    [model] => PARTS
                    [description] => PARTS
                    [notes] => Imline-Ercord-Dwkit
                    [recid] => 201507
                )

        )

    [emails] => Array
        (
            [0] => ahome2be@att.net 
        )

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260321003
    [numitems] => 4
    [numinstock] => 4
    [numattarget] => 4
    [numfulfilled] => 2
    [customerno] => 3025884647
    [shipmethod] => delivery
    [readystatus] => 1
    [orderopen] => 1
    [billname] => A Home2Be LLC
    [billaddr1] => 422 Centerville Rd
    [billaddr2] => 
    [billcity] => WILMINGTON
    [billstate] => DE
    [billzip] => 19808
    [shipname] => A Home2Be LLC
    [shipaddr1] => 107 Olympia Dr
    [shipaddr2] => 
    [shipcity] => Claymont
    [shipstate] => DE
    [shipzip] => 19703
    [phonenos] => Array
        (
            [0] => 3025884647
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => GSS25GYPFS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SVMA471997
            [recid] => 201503
            [received_date] => 2026-03-30
        )

    [1] => Array
        (
            [model] => GRF400SVSS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SNFD093643Q
            [recid] => 201504
            [received_date] => 2026-04-10
        )

    [2] => Array
        (
            [model] => GDT550PYRFS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => SDDD834741B
            [recid] => 201505
            [received_date] => 2026-03-30
        )

    [3] => Array
        (
            [model] => JVM3160RFSS
            [notes] => 
            [instock] => 1
            [fulfilled] => 1
            [attarget] => 1
            [location] => 0000
            [serial] => SESA250809L
            [recid] => 201506
            [received_date] => 2026-03-30
        )

    [4] => Array
        (
            [model] => PARTS
            [description] => PARTS
            [notes] => Imline-Ercord-Dwkit
            [recid] => 201507
        )

)

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','A Home2Be LLC'); $('#contact_email-0').attr('value','ahome2be@att.net '); $('#contact_phone-0').attr('value','3025884647'); $('#contact_phonetxt-0').attr('value','3025884647');

key 4

Model #s:

Array
(
    [0] => GSS25GYPFS
    [1] => GRF400SVSS
    [2] => GDT550PYRFS
    [3] => JVM3160RFSS
)
console.log('modelnumbs_arr: [\"GSS25GYPFS\",\"GRF400SVSS\",\"GDT550PYRFS\",\"JVM3160RFSS\"]');
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] => GSS25GYPFS
    [1] => GRF400SVSS
    [2] => GDT550PYRFS
    [3] => JVM3160RFSS
    [4] => PARTS
)

key 4

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"GSS25GYPFS\",\"1\":\"GRF400SVSS\",\"2\":\"GDT550PYRFS\",\"3\":\"JVM3160RFSS\",\"5\":\"PARTS\"}');

Model Info:

Array
(
    [GDT550PYRFS] => Array
        (
            [model] => GDT550PYRFS
            [brand] => GE
            [description] => GE Top Control Dishwasher with Plastic Interior, Dry Boost, Sanitize Cycle
            [height] => 33.375
            [width] => 23.75
            [depth] => 24
            [case_depth] => 
            [case_height] => 
            [class] => Dishwasher
            [weight] => 28
        )

    [GRF400SVSS] => Array
        (
            [model] => GRF400SVSS
            [brand] => GE
            [description] => GE 30" Free Standing Electric Range with Wi-fi, Steam Clean Only
            [height] => 47.25
            [width] => 30
            [depth] => 27.875
            [case_depth] => 
            [case_height] => 
            [class] => Range
            [electric] => 1
            [weight] => 147
        )

    [GSS25GYPFS] => Array
        (
            [model] => GSS25GYPFS
            [brand] => GE
            [description] => GE 36" Full Depth Side by Side Refrigerator with Dispenser
            [height] => 69.875
            [width] => 35.75
            [depth] => 34.75
            [case_depth] => 
            [case_height] => 
            [class] => Fridge
            [weight] => 320
        )

    [JVM3160RFSS] => Array
        (
            [model] => JVM3160RFSS
            [brand] => GE
            [description] => GE 1.6 cf. Over-the-Range Microwave
            [height] => 16.5
            [width] => 29.875
            [depth] => 15.25
            [case_depth] => 
            [case_height] => 
            [class] => Microwave
            [subclass] => Over The Range
            [weight] => 63
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => Imline-Ercord-Dwkit 
            [model] => PARTS
            [description] => 
            [notes] => Imline-Ercord-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 GSS25GYPFS: 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 GSS25GYPFS:

Array
(
    [model] => GSS25GYPFS
    [brand] => GE
    [description] => GE 36" Full Depth Side by Side Refrigerator with Dispenser
    [height] => 69.875
    [width] => 35.75
    [depth] => 34.75
    [case_depth] => 
    [case_height] => 
    [class] => Fridge
    [weight] => 320
)

(0) GSS25GYPFS


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 ('GSS25GYPFS','1','GE','GE 36" Full Depth Side by Side Refrigerator with Dispenser','78','Fridge','','','69.875','35.75','34.75','320') ON DUPLICATE KEY UPDATE model_description = 'GE 36" Full Depth Side by Side Refrigerator with Dispenser',prod_type='78',class='Fridge',subclass='',heat_source='',height='69.875',width='35.75',depth='34.75',weight='320' ; console.log('i cnt GRF400SVSS: 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 GRF400SVSS:

Array
(
    [model] => GRF400SVSS
    [brand] => GE
    [description] => GE 30" Free Standing Electric Range with Wi-fi, Steam Clean Only
    [height] => 47.25
    [width] => 30
    [depth] => 27.875
    [case_depth] => 
    [case_height] => 
    [class] => Range
    [electric] => 1
    [weight] => 147
)

(1) GRF400SVSS


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 ('GRF400SVSS','1','GE','GE 30" Free Standing Electric Range with Wi-fi, Steam Clean Only','80','Range','','Electric','47.25','30','27.875','147') ON DUPLICATE KEY UPDATE model_description = 'GE 30" Free Standing Electric Range with Wi-fi, Steam Clean Only',prod_type='80',class='Range',subclass='',heat_source='Electric',height='47.25',width='30',depth='27.875',weight='147' ; console.log('i cnt GDT550PYRFS: 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 GDT550PYRFS:

Array
(
    [model] => GDT550PYRFS
    [brand] => GE
    [description] => GE Top Control Dishwasher with Plastic Interior, Dry Boost, Sanitize Cycle
    [height] => 33.375
    [width] => 23.75
    [depth] => 24
    [case_depth] => 
    [case_height] => 
    [class] => Dishwasher
    [weight] => 28
)

(2) GDT550PYRFS


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 ('GDT550PYRFS','1','GE','GE Top Control Dishwasher with Plastic Interior, Dry Boost, Sanitize Cycle','5','Dishwasher','','','33.375','23.75','24','28') ON DUPLICATE KEY UPDATE model_description = 'GE Top Control Dishwasher with Plastic Interior, Dry Boost, Sanitize Cycle',prod_type='5',class='Dishwasher',subclass='',heat_source='',height='33.375',width='23.75',depth='24',weight='28' ; console.log('i cnt JVM3160RFSS: 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 JVM3160RFSS:

Array
(
    [model] => JVM3160RFSS
    [brand] => GE
    [description] => GE 1.6 cf. Over-the-Range Microwave
    [height] => 16.5
    [width] => 29.875
    [depth] => 15.25
    [case_depth] => 
    [case_height] => 
    [class] => Microwave
    [subclass] => Over The Range
    [weight] => 63
)

(3) JVM3160RFSS


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 ('JVM3160RFSS','1','GE','GE 1.6 cf. Over-the-Range Microwave','60','Microwave','Over The Range','','16.5','29.875','15.25','63') ON DUPLICATE KEY UPDATE model_description = 'GE 1.6 cf. Over-the-Range Microwave',prod_type='60',class='Microwave',subclass='Over The Range',heat_source='',height='16.5',width='29.875',depth='15.25',weight='63' ; console.log('i cnt PARTS: 4'); console.log('Notes: Imline-Ercord-Dwkit');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => Imline-Ercord-Dwkit 
    [model] => PARTS
    [description] => 
    [notes] => Imline-Ercord-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','GSS25GYPFS'); $('#product_serialnumb-0').attr('value','SVMA471997'); $('#product_store_prodlnid-0').attr('value','201503'); $('#product_status-0').attr('value','in stock'); $('#product_notes-0').val(''); dimensions = 0; $('#product-span-0').html('GE Appliances 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() == '301-350 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','GRF400SVSS'); $('#product_serialnumb-1').attr('value','SNFD093643Q'); $('#product_store_prodlnid-1').attr('value','201504'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('GE Appliances Range electric
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Range - Electric'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-1').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-1').addClass('hidediv'); $('#product_height-1 option').filter(function() { return $(this).text() == '37-48 inches'; }).attr('selected', true); $('#product_height-1').css('background-color','white');dimensions++; $('#width-1').addClass('hidediv'); $('#product_width-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_width-1').css('background-color','white');dimensions++; $('#depth-1').addClass('hidediv'); $('#product_depth-1 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-1').css('background-color','white');dimensions++; $('#weight-1').addClass('hidediv'); $('#product_weight-1 option').filter(function() { return $(this).text() == '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','lightgray'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','GDT550PYRFS'); $('#product_serialnumb-2').attr('value','SDDD834741B'); $('#product_store_prodlnid-2').attr('value','201505'); $('#product_status-2').attr('value','fulfilled'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('GE Appliances 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() == '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','lightgray'); $('#product-span-3').css('color','black'); $('#product-span-3').html(' '); $('#product_modelnumb-3').attr('value','JVM3160RFSS'); $('#product_serialnumb-3').attr('value','SESA250809L'); $('#product_store_prodlnid-3').attr('value','201506'); $('#product_status-3').attr('value','fulfilled'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('GE Appliances Microwave Over The Range
fulfilled
'); $('#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','Imline-Ercord-Dwkit '); $('#product_store_prodlnid-4').attr('value','0'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val('Imline-Ercord-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'); }