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

Order Info:

Array
(
    [comments] => HKUP $50+30 due on site = $80 Haul Away Old
    [additional_notes] => 
    [targetdate] => 2026-09-25 00:00:00.000
    [location] => 0000
    [paid] => 1
    [balance] => 0
    [release] => 1
    [orderlines] => Array
        (
            [0] => Array
                (
                    [model] => GFW655SPVDS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SQGD322689N
                    [recid] => 212022
                    [received_date] => 2026-09-25
                )

            [1] => Array
                (
                    [model] => GFD65GSPVDS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => STRD982721G
                    [recid] => 212023
                    [received_date] => 2026-09-25
                )

            [2] => Array
                (
                    [model] => GFR0728PTDS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SCSD144014G
                    [recid] => 212024
                    [received_date] => 2026-09-25
                )

            [3] => Array
                (
                    [model] => GFR0728PTDS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => SHSD144009G
                    [recid] => 212025
                    [received_date] => 2026-09-25
                )

            [6] => Array
                (
                    [model] => PARTS
                    [description] => PARTS
                    [notes] => SSHOSES, GASFLEX, DRVENT, STEAMKIT
                    [recid] => 212028
                )

            [9] => Array
                (
                    [model] => P500VXRSIBNS
                    [notes] => 
                    [instock] => 1
                    [fulfilled] => 0
                    [attarget] => 1
                    [location] => 0000
                    [serial] => 500V-0014723
                    [recid] => 212031
                    [received_date] => 2026-05-11
                )

        )

    [emails] => Array
        (
            [0] => josh.petrillo@aol.com
        )

    [status] => 1
    [statusmessage] => OK
    [orderno] => 260919006
    [numitems] => 5
    [numinstock] => 5
    [numattarget] => 5
    [numfulfilled] => 0
    [customerno] => 3025305569
    [shipmethod] => delivery
    [readystatus] => 1
    [orderopen] => 1
    [billname] => Josh Petrillo
    [billaddr1] => 6 Meadow Glen Ln
    [billaddr2] => 
    [billcity] => WILMINGTON
    [billstate] => DE
    [billzip] => 19810
    [shipname] => Josh Petrillo
    [shipaddr1] => 6 Meadow Glen Ln
    [shipaddr2] => 
    [shipcity] => WILMINGTON
    [shipstate] => DE
    [shipzip] => 19810
    [phonenos] => Array
        (
            [0] => 3025305569
            [1] => 4433094033
        )

)

Order Lines:

Array
(
    [0] => Array
        (
            [model] => GFW655SPVDS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SQGD322689N
            [recid] => 212022
            [received_date] => 2026-09-25
        )

    [1] => Array
        (
            [model] => GFD65GSPVDS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => STRD982721G
            [recid] => 212023
            [received_date] => 2026-09-25
        )

    [2] => Array
        (
            [model] => GFR0728PTDS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SCSD144014G
            [recid] => 212024
            [received_date] => 2026-09-25
        )

    [3] => Array
        (
            [model] => GFR0728PTDS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => SHSD144009G
            [recid] => 212025
            [received_date] => 2026-09-25
        )

    [6] => Array
        (
            [model] => PARTS
            [description] => PARTS
            [notes] => SSHOSES, GASFLEX, DRVENT, STEAMKIT
            [recid] => 212028
        )

    [9] => Array
        (
            [model] => P500VXRSIBNS
            [notes] => 
            [instock] => 1
            [fulfilled] => 0
            [attarget] => 1
            [location] => 0000
            [serial] => 500V-0014723
            [recid] => 212031
            [received_date] => 2026-05-11
        )

)

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','Josh Petrillo'); $('#contact_email-0').attr('value','josh.petrillo@aol.com'); $('#contact_phone-0').attr('value','3025305569'); $('#contact_phonetxt-0').attr('value','3025305569'); $('#contact_name-1').attr('value','Josh Petrillo');
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','4433094033'); $('#contact_phonetxt-1').attr('value','4433094033');

key 4

Model #s:

Array
(
    [0] => GFW655SPVDS
    [1] => GFD65GSPVDS
    [2] => GFR0728PTDS
    [5] => P500VXRSIBNS
)
console.log('modelnumbs_arr: {\"0\":\"GFW655SPVDS\",\"1\":\"GFD65GSPVDS\",\"2\":\"GFR0728PTDS\",\"5\":\"P500VXRSIBNS\"}');
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] => GFW655SPVDS
    [1] => GFD65GSPVDS
    [2] => GFR0728PTDS
    [3] => GFR0728PTDS
    [6] => PARTS
    [9] => P500VXRSIBNS
)

key 6

console.log('Fix: [\"PARTS\"]'); console.log('modelnumbs: {\"0\":\"GFW655SPVDS\",\"1\":\"GFD65GSPVDS\",\"2\":\"GFR0728PTDS\",\"5\":\"P500VXRSIBNS\",\"6\":\"PARTS\"}');

Model Info:

Array
(
    [GFD65GSPVDS] => Array
        (
            [model] => GFD65GSPVDS
            [brand] => GE
            [description] => GE 28" Wide Front Load Gas Dryer with Steam, Sanitize, Washer Control Compatible
            [height] => 39.75
            [width] => 28
            [depth] => 32
            [case_depth] => 
            [case_height] => 
            [class] => Dryer
            [gas] => 1
            [weight] => 144
        )

    [GFR0728PTDS] => Array
        (
            [model] => GFR0728PTDS
            [brand] => GE
            [description] => GE RightHeight 7" Riser for 28" Wide Front Load Laundry
            [height] => 7
            [width] => 28
            [depth] => 28.4375
            [case_depth] => 
            [case_height] => 
            [class] => Pedestal
            [weight] => 30
        )

    [GFW655SPVDS] => Array
        (
            [model] => GFW655SPVDS
            [brand] => GE
            [description] => GE 28" Wide Front Load Washer with UltraFresh Vent and OdorBlock, SmartDispense, Dryer Control
            [height] => 39.75
            [width] => 28
            [depth] => 32
            [case_depth] => 
            [case_height] => 
            [class] => Washer
            [weight] => 246
        )

    [P500VXRSIBNS] => Array
        (
            [model] => P500VXRSIBNS
            [brand] => NAP
            [description] => Napoleon Prestige 500 Connected RSIB 4 Burner Natural Gas Grill with Infrared Rear and Side Burners
            [height] => 51
            [width] => 65.5
            [depth] => 26
            [case_depth] => 
            [case_height] => 
            [class] => Grill
            [weight] => 240
        )

    [PARTS] => Array
        (
            [class] => Parts
            [serial] => SSHOSES, GASFLEX, DRVENT, STEAMKIT 
            [model] => PARTS
            [description] => 
            [notes] => SSHOSES, GASFLEX, DRVENT, STEAMKIT
            [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 GFW655SPVDS: 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 GFW655SPVDS:

Array
(
    [model] => GFW655SPVDS
    [brand] => GE
    [description] => GE 28" Wide Front Load Washer with UltraFresh Vent and OdorBlock, SmartDispense, Dryer Control
    [height] => 39.75
    [width] => 28
    [depth] => 32
    [case_depth] => 
    [case_height] => 
    [class] => Washer
    [weight] => 246
)

(0) GFW655SPVDS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[6] = '1-36 inches'; def_height[6] = '37-48 inches'; def_depth[6] = '1-36 inches'; def_weight[6] = '151-200 lbs';
INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('GFW655SPVDS','1','GE','GE 28" Wide Front Load Washer with UltraFresh Vent and OdorBlock, SmartDispense, Dryer Control','6','Washer','','','39.75','28','32','246') ON DUPLICATE KEY UPDATE model_description = 'GE 28" Wide Front Load Washer with UltraFresh Vent and OdorBlock, SmartDispense, Dryer Control',prod_type='6',class='Washer',subclass='',heat_source='',height='39.75',width='28',depth='32',weight='246' ; console.log('i cnt GFD65GSPVDS: 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 GFD65GSPVDS:

Array
(
    [model] => GFD65GSPVDS
    [brand] => GE
    [description] => GE 28" Wide Front Load Gas Dryer with Steam, Sanitize, Washer Control Compatible
    [height] => 39.75
    [width] => 28
    [depth] => 32
    [case_depth] => 
    [case_height] => 
    [class] => Dryer
    [gas] => 1
    [weight] => 144
)

(1) GFD65GSPVDS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809

INSERT INTO model_info (model_numb,store_id,model_brand,model_description,prod_type,class,subclass,heat_source,height,width,depth,weight) VALUES ('GFD65GSPVDS','1','GE','GE 28" Wide Front Load Gas Dryer with Steam, Sanitize, Washer Control Compatible','34','Dryer','','Gas','39.75','28','32','144') ON DUPLICATE KEY UPDATE model_description = 'GE 28" Wide Front Load Gas Dryer with Steam, Sanitize, Washer Control Compatible',prod_type='34',class='Dryer',subclass='',heat_source='Gas',height='39.75',width='28',depth='32',weight='144' ; console.log('i cnt GFR0728PTDS: 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 GFR0728PTDS:

Array
(
    [model] => GFR0728PTDS
    [brand] => GE
    [description] => GE RightHeight 7" Riser for 28" Wide Front Load Laundry
    [height] => 7
    [width] => 28
    [depth] => 28.4375
    [case_depth] => 
    [case_height] => 
    [class] => Pedestal
    [weight] => 30
)

(2) GFR0728PTDS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[20] = '1-36 inches'; def_height[20] = '1-36 inches'; def_depth[20] = '1-36 inches'; def_weight[20] = '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 ('GFR0728PTDS','1','GE','GE RightHeight 7" Riser for 28" Wide Front Load Laundry','20','Pedestal','','','7','28','28.4375','30') ON DUPLICATE KEY UPDATE model_description = 'GE RightHeight 7" Riser for 28" Wide Front Load Laundry',prod_type='20',class='Pedestal',subclass='',heat_source='',height='7',width='28',depth='28.4375',weight='30' ; console.log('i cnt GFR0728PTDS: 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 GFR0728PTDS:

Array
(
    [model] => GFR0728PTDS
    [brand] => GE
    [description] => GE RightHeight 7" Riser for 28" Wide Front Load Laundry
    [height] => 7
    [width] => 28
    [depth] => 28.4375
    [case_depth] => 
    [case_height] => 
    [class] => Pedestal
    [weight] => 30
)

(3) GFR0728PTDS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[20] = '1-36 inches'; def_height[20] = '1-36 inches'; def_depth[20] = '1-36 inches'; def_weight[20] = '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 ('GFR0728PTDS','1','GE','GE RightHeight 7" Riser for 28" Wide Front Load Laundry','20','Pedestal','','','7','28','28.4375','30') ON DUPLICATE KEY UPDATE model_description = 'GE RightHeight 7" Riser for 28" Wide Front Load Laundry',prod_type='20',class='Pedestal',subclass='',heat_source='',height='7',width='28',depth='28.4375',weight='30' ; console.log('i cnt PARTS: 4'); console.log('Notes: SSHOSES, GASFLEX, DRVENT, STEAMKIT');

Model Info PARTS:

Array
(
    [class] => Parts
    [serial] => SSHOSES, GASFLEX, DRVENT, STEAMKIT 
    [model] => PARTS
    [description] => 
    [notes] => SSHOSES, GASFLEX, DRVENT, STEAMKIT
    [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
console.log('i cnt P500VXRSIBNS: 5'); console.log('Notes: ');

Model Info P500VXRSIBNS:

Array
(
    [model] => P500VXRSIBNS
    [brand] => NAP
    [description] => Napoleon Prestige 500 Connected RSIB 4 Burner Natural Gas Grill with Infrared Rear and Side Burners
    [height] => 51
    [width] => 65.5
    [depth] => 26
    [case_depth] => 
    [case_height] => 
    [class] => Grill
    [weight] => 240
)

(5) P500VXRSIBNS


Warning: Undefined variable $orli in /home/backoffice.pudserv.com/dev-backoffice.pudserv.com/poi.php on line 809
def_width[13] = '1-36 inches'; def_height[13] = '1-36 inches'; def_depth[13] = '1-36 inches'; def_weight[13] = '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 ('P500VXRSIBNS','1','NAP','Napoleon Prestige 500 Connected RSIB 4 Burner Natural Gas Grill with Infrared Rear and Side Burners','54','Grill','','','51','65.5','26','240') ON DUPLICATE KEY UPDATE model_description = 'Napoleon Prestige 500 Connected RSIB 4 Burner Natural Gas Grill with Infrared Rear and Side Burners',prod_type='54',class='Grill',subclass='',heat_source='',height='51',width='65.5',depth='26',weight='240' ; $('#covered_delivery').val(60); tally_delivery(); $('#store_order_numb-button-0').removeClass('redbg'); $('#store_order_numb-button-0').addClass('graybg'); change_deliver_dd('deliver_products',6); $('#product-span-0').css('background-color','greenyellow'); $('#product-span-0').css('color','black'); $('#product-span-0').html(' '); $('#product_modelnumb-0').attr('value','GFW655SPVDS'); $('#product_serialnumb-0').attr('value','SQGD322689N'); $('#product_store_prodlnid-0').attr('value','212022'); $('#product_status-0').attr('value','in stock'); $('#product_notes-0').val(''); dimensions = 0; $('#product-span-0').html('GE Appliances Washer
in stock
'); $('#product_type-0 option').filter(function() { return $(this).text() == 'Washer'; }).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() == '37-48 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() == '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','GFD65GSPVDS'); $('#product_serialnumb-1').attr('value','STRD982721G'); $('#product_store_prodlnid-1').attr('value','212023'); $('#product_status-1').attr('value','in stock'); $('#product_notes-1').val(''); dimensions = 0; $('#product-span-1').html('GE Appliances Dryer gas
in stock
'); $('#product_type-1 option').filter(function() { return $(this).text() == 'Dryer - 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','greenyellow'); $('#product-span-2').css('color','black'); $('#product-span-2').html(' '); $('#product_modelnumb-2').attr('value','GFR0728PTDS'); $('#product_serialnumb-2').attr('value','SCSD144014G'); $('#product_store_prodlnid-2').attr('value','212024'); $('#product_status-2').attr('value','in stock'); $('#product_notes-2').val(''); dimensions = 0; $('#product-span-2').html('GE Appliances Pedestal
in stock
'); $('#product_type-2 option').filter(function() { return $(this).text() == 'Pedestal'; }).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','GFR0728PTDS'); $('#product_serialnumb-3').attr('value','SHSD144009G'); $('#product_store_prodlnid-3').attr('value','212025'); $('#product_status-3').attr('value','in stock'); $('#product_notes-3').val(''); dimensions = 0; $('#product-span-3').html('GE Appliances Pedestal
in stock
'); $('#product_type-3 option').filter(function() { return $(this).text() == 'Pedestal'; }).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() == '1-50 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','SSHOSES, GASFLEX, DRVENT, STEAMKIT '); $('#product_store_prodlnid-4').attr('value','0'); $('#product_status-4').attr('value','in stock'); $('#product_notes-4').val('SSHOSES, GASFLEX, DRVENT, STEAMKIT'); 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'); } $('#product-span-5').css('background-color','greenyellow'); $('#product-span-5').css('color','black'); $('#product-span-5').html(' '); $('#product_modelnumb-5').attr('value','P500VXRSIBNS'); $('#product_serialnumb-5').attr('value','500V-0014723'); $('#product_store_prodlnid-5').attr('value','212031'); $('#product_status-5').attr('value','in stock'); $('#product_notes-5').val(''); dimensions = 0; $('#product-span-5').html('Napoleon Grill
in stock
'); $('#product_type-5 option').filter(function() { return $(this).text() == 'Grill'; }).attr('selected', true); prod_id = ''; prod_id = $('#product_type-5').find(':selected').val(); console.log('prod_id: '+prod_id); console.log('def_height[prod_id]: '+def_height[prod_id]); $('#height-5').addClass('hidediv'); $('#product_height-5 option').filter(function() { return $(this).text() == '49-60 inches'; }).attr('selected', true); $('#product_height-5').css('background-color','white');dimensions++; $('#width-5').addClass('hidediv'); $('#product_width-5 option').filter(function() { return $(this).text() == '61-72 inches'; }).attr('selected', true); $('#product_width-5').css('background-color','white');dimensions++; $('#depth-5').addClass('hidediv'); $('#product_depth-5 option').filter(function() { return $(this).text() == '1-36 inches'; }).attr('selected', true); $('#product_depth-5').css('background-color','white');dimensions++; $('#weight-5').addClass('hidediv'); $('#product_weight-5 option').filter(function() { return $(this).text() == '201-250 lbs'; }).attr('selected', true); $('#product_weight-5').css('background-color','white');dimensions++; if(dimensions == 4){ $('#dimensions-5').addClass('hidediv'); }