• Resolved blueplanetphoto

    (@blueplanetphoto)


    I have variable products that are virtual, with no weight or dimensions and no shipping class being charged shipping when ordered. At checkout shipping rates are shown and selected. There should be no shipping rate appearing at all for these products. I’ve attached excerpts and the full debug report. Looking at the report, there appears to be a standard 1 lb value added to the item even though I have indicated in the product shipping setup that the weight is 0 and dimensions are 0 (**** indicates this below in Debug Log excerpts):

    'line_subtotal' => 60.0,
            'line_subtotal_tax' => 0,
            'line_total' => 60.0,
            'line_tax' => 0,
            'product' => 
            array (
              'name' => 'One-on-One - 1-hour',
              'slug' => 'auto-draft-1-hour',
              'price' => '60',
              'regular_price' => '60',
              'sale_price' => '',
        ****      'weight' => ' lbs',
              'weight_lbs' => 0.0,
              'dimensions' => ' x  x  in',
              'dimensions_in' => ' x  x ',

    Then the weight is applied to the shipping rate:

    'ONLINE' => 'API=RateV4&XML=
    <RateV4Request USERID="382BLUEP5905">
        <Revision>2</Revision>
     ****   <Package ID="group_by_weight_0:1:0:0:0:0">
            <Service>ONLINE</Service>
            <ZipOrigination>83686</ZipOrigination>
            <ZipDestination>33605</ZipDestination>
      ****      <Pounds>1</Pounds>
            <Ounces>0.00</Ounces>
            <Container/>
            <Size>REGULAR</Size>
            <Width>0</Width>
            <Length>0</Length>
            <Height>0</Height>
            <Girth>0</Girth>
            <Machinable>true</Machinable>
            <ShipDate>20-Feb-2022</ShipDate>

    *** FULL DEBUG REPORT ***

    `array (
    ‘settings’ =>
    array (
    ‘props’ =>
    array (
    ‘endpoint’ => ‘https://secure.shippingapis.com/ShippingAPI.dll&#8217;,
    ‘defaultUserId’ => ‘891000005749’,
    ‘domestic’ =>
    array (
    0 => ‘US’,
    1 => ‘PR’,
    2 => ‘VI’,
    3 => ‘MH’,
    4 => ‘FM’,
    ),
    ‘services’ =>
    array (
    ‘EXPRESS_MAIL’ =>
    array (
    ‘name’ => ‘Priority Mail Express’,
    ‘services’ =>
    array (
    3 => ‘Priority Mail Express’,
    2 => ‘Priority Mail Express, Hold for Pickup’,
    23 => ‘Priority Mail Express, Sunday/Holiday’,
    ),
    ),
    ‘PRIORITY_MAIL’ =>
    array (
    ‘name’ => ‘Priority Mail’,
    ‘services’ =>
    array (
    1 => ‘Priority Mail’,
    33 => ‘Priority Mail, Hold For Pickup’,
    18 => ‘Priority Mail Keys and IDs’,
    47 => ‘Priority Mail Regional Rate Box A’,
    48 => ‘Priority Mail Regional Rate Box A, Hold For Pickup’,
    49 => ‘Priority Mail Regional Rate Box B’,
    50 => ‘Priority Mail Regional Rate Box B, Hold For Pickup’,
    ),
    ),
    ‘FIRST_CLASS’ =>
    array (
    ‘name’ => ‘First-Class Mail’,
    ‘services’ =>
    array (
    ‘0A’ => ‘First-Class Mail Postcards’,
    ‘0B’ => ‘First-Class Mail Letter’,
    ‘0C’ => ‘First-Class Mail Large Envelope’,
    ‘0D’ => ‘First-Class Mail Parcel’,
    12 => ‘First-Class Postcard Stamped’,
    15 => ‘First-Class Large Postcards’,
    19 => ‘First-Class Keys and IDs’,
    ‘0E’ => ‘First-Class Package Service – Retail’,
    61 => ‘First-Class Package Service’,
    53 => ‘First-Class Package Service, Hold For Pickup’,
    78 => ‘First-Class Mail Metered Letter’,
    ),
    ),
    ‘STANDARD_POST’ =>
    array (
    ‘name’ => ‘USPS Retail Ground’,
    ‘services’ =>
    array (
    4 => ‘USPS Retail Ground’,
    ),
    ),
    ‘MEDIA_MAIL’ =>
    array (
    ‘name’ => ‘Media Mail’,
    ‘services’ =>
    array (
    6 => ‘Media Mail’,
    ),
    ),
    ‘LIBRARY_MAIL’ =>
    array (
    ‘name’ => ‘Library Mail’,
    ‘services’ =>
    array (
    7 => ‘Library Mail’,
    ),
    ),
    ),
    ‘subservicesEnabled’ =>
    array (
    3 => ‘no’,
    2 => ‘no’,
    23 => ‘no’,
    1 => ‘yes’,
    33 => ‘no’,
    18 => ‘no’,
    47 => ‘no’,
    48 => ‘no’,
    49 => ‘no’,
    50 => ‘no’,
    ‘0A’ => ‘no’,
    ‘0B’ => ‘no’,
    ‘0C’ => ‘yes’,
    ‘0D’ => ‘yes’,
    12 => ‘no’,
    15 => ‘no’,
    19 => ‘no’,
    ‘0E’ => ‘no’,
    61 => ‘yes’,
    53 => ‘no’,
    78 => ‘no’,
    4 => ‘yes’,
    6 => ‘yes’,
    7 => ‘no’,
    ),
    ‘supports’ =>
    array (
    0 => ‘settings’,
    ),
    ‘id’ => ‘usps_simple’,
    ‘method_title’ => ‘USPS Simple’,
    ‘method_description’ => ‘The <strong>USPS Simple</strong> plugin calculates rates for domestic shipping dynamically using USPS API during checkout.’,
    ‘enabled’ => ‘yes’,
    ‘title’ => ‘USPS Simple’,
    ‘rates’ =>
    array (
    ),
    ‘tax_status’ => ‘taxable’,
    ‘fee’ => NULL,
    ‘minimum_fee’ => NULL,
    ‘instance_id’ => 0,
    ‘instance_form_fields’ =>
    array (
    ),
    ‘instance_settings’ =>
    array (
    ),
    ‘availability’ => NULL,
    ‘countries’ =>
    array (
    ),
    ‘plugin_id’ => ‘woocommerce_’,
    ‘errors’ =>
    array (
    ),
    ‘data’ =>
    array (
    ),
    ‘serviceDescription’ => ‘This controls the title which the customer sees during checkout.’,
    ‘sender’ => ‘83686’,
    ‘userId’ => ‘382BLUEP5905’,
    ‘commercialRate’ => ‘yes’,
    ‘groupByWeight’ => ‘yes’,
    ‘t_express_mail’ => ‘Priority Mail Express?’,
    ‘t_priority_mail’ => ‘Priority Mail?’,
    ‘t_first_class’ => ‘First-Class Mail?’,
    ‘t_standard_post’ => ‘USPS Retail Ground?’,
    ‘t_media_mail’ => ‘Media Mail’,
    ‘t_library_mail’ => ‘Library Mail (USPS Simple)’,
    ),
    ‘settings’ =>
    array (
    ‘enabled’ => ‘yes’,
    ‘sender’ => ‘83686’,
    ‘user_id’ => ‘382BLUEP5905’,
    ‘commercial_rate’ => ‘yes’,
    ‘group_by_weight’ => ‘yes’,
    ‘express_mail’ => ”,
    ‘t_express_mail’ => ‘Priority Mail Express?’,
    ‘express_mail_3’ => ‘no’,
    ‘express_mail_2’ => ‘no’,
    ‘express_mail_23’ => ‘no’,
    ‘priority_mail’ => ”,
    ‘t_priority_mail’ => ‘Priority Mail?’,
    ‘priority_mail_1’ => ‘yes’,
    ‘priority_mail_33’ => ‘no’,
    ‘priority_mail_18’ => ‘no’,
    ‘priority_mail_47’ => ‘no’,
    ‘priority_mail_48’ => ‘no’,
    ‘priority_mail_49’ => ‘no’,
    ‘priority_mail_50’ => ‘no’,
    ‘first_class’ => ”,
    ‘t_first_class’ => ‘First-Class Mail?’,
    ‘first_class_0A’ => ‘no’,
    ‘first_class_0B’ => ‘no’,
    ‘first_class_0C’ => ‘yes’,
    ‘first_class_0D’ => ‘yes’,
    ‘first_class_12’ => ‘no’,
    ‘first_class_15’ => ‘no’,
    ‘first_class_19’ => ‘no’,
    ‘first_class_61’ => ‘yes’,
    ‘first_class_53’ => ‘no’,
    ‘first_class_78’ => ‘no’,
    ‘standard_post’ => ”,
    ‘t_standard_post’ => ‘USPS Retail Ground?’,
    ‘standard_post_4’ => ‘yes’,
    ‘media_mail’ => ”,
    ‘t_media_mail’ => ‘Media Mail’,
    ‘media_mail_6’ => ‘yes’,
    ‘library_mail’ => ”,
    ‘t_library_mail’ => ”,
    ‘library_mail_7’ => ‘no’,
    ),
    ),
    ‘package’ =>
    array (
    ‘contents’ =>
    array (
    ‘f106a0501fb35b55f2401ee47f37f12e’ =>
    array (
    ‘key’ => ‘f106a0501fb35b55f2401ee47f37f12e’,
    ‘product_id’ => 1762,
    ‘variation_id’ => 1765,
    ‘variation’ =>
    array (
    ‘attribute_of-hours’ => ‘1-hour’,
    ),
    ‘quantity’ => 1,
    ‘data_hash’ => ‘ded46fb743be472c7ef8ff4d50b877e3’,
    ‘line_tax_data’ =>
    array (
    ‘subtotal’ =>
    array (
    ),
    ‘total’ =>
    array (
    ),
    ),
    ‘line_subtotal’ => 60.0,
    ‘line_subtotal_tax’ => 0,
    ‘line_total’ => 60.0,
    ‘line_tax’ => 0,
    ‘product’ =>
    array (
    ‘name’ => ‘One-on-One – 1-hour’,
    ‘slug’ => ‘auto-draft-1-hour’,
    ‘price’ => ’60’,
    ‘regular_price’ => ’60’,
    ‘sale_price’ => ”,
    ‘weight’ => ‘ lbs’,
    ‘weight_lbs’ => 0.0,
    ‘dimensions’ => ‘ x x in’,
    ‘dimensions_in’ => ‘ x x ‘,
    ),
    ),
    ),
    ‘contents_cost’ => 60.0,
    ‘applied_coupons’ =>
    array (
    ),
    ‘user’ =>
    array (
    ‘ID’ => 1,
    ),
    ‘destination’ =>
    array (
    ‘country’ => ‘US’,
    ‘state’ => ‘FL’,
    ‘postcode’ => ‘33605’,
    ‘city’ => ‘Tampa’,
    ‘address’ => ‘1412 E 7th Ave’,
    ‘address_1’ => ‘1412 E 7th Ave’,
    ‘address_2’ => ”,
    ),
    ‘cart_subtotal’ => ’60’,
    ‘rates’ =>
    array (
    ),
    ),
    ‘requests’ =>
    array (
    ‘ONLINE’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”382BLUEP5905″>
    <Revision>2</Revision>
    <Package ID=”group_by_weight_0:1:0:0:0:0″>
    <Service>ONLINE</Service>
    <ZipOrigination>83686</ZipOrigination>
    <ZipDestination>33605</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.00</Ounces>
    <Container/>
    <Size>REGULAR</Size>
    <Width>0</Width>
    <Length>0</Length>
    <Height>0</Height>
    <Girth>0</Girth>
    <Machinable>true</Machinable>
    <ShipDate>20-Feb-2022</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ‘STANDARD POST’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”382BLUEP5905″>
    <Revision>2</Revision>
    <Package ID=”group_by_weight_0:1:0:0:0:0″>
    <Service>STANDARD POST</Service>
    <ZipOrigination>83686</ZipOrigination>
    <ZipDestination>33605</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.00</Ounces>
    <Container/>
    <Size>REGULAR</Size>
    <Width>0</Width>
    <Length>0</Length>
    <Height>0</Height>
    <Girth>0</Girth>
    <GroundOnly>true</GroundOnly>
    <Machinable>true</Machinable>
    <ShipDate>20-Feb-2022</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ),
    ‘responses’ =>
    array (
    ‘ONLINE’ =>
    array (
    ‘headers’ =>
    Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
    ‘data’ =>
    array (
    ‘content-encoding’ => ‘gzip’,
    ‘access-control-allow-origin’ => ‘*’,
    ‘cache-control’ => ‘private’,
    ‘content-type’ => ‘text/xml’,
    ‘date’ => ‘Sat, 19 Feb 2022 14:03:35 GMT’,
    ‘ntcoent-length’ => ‘10016’,
    ‘server’ => ‘Microsoft-IIS/10.0’,
    ‘strict-transport-security’ => ‘max-age=31536000 ; includeSubDomains’,
    ‘x-aspnet-version’ => ‘4.0.30319’,
    ‘x-backside-transport’ => ‘OK OK’,
    ‘x-frame-options’ => ‘SAMEORIGIN’,
    ‘x-global-transaction-id’ => ‘e41d61746210f8bab7a352df’,
    ‘x-powered-by’ => ‘ASP.NET’,
    ‘x-ruleset-version’ => ‘1.0’,
    ‘content-length’ => ‘900’,
    ),
    )),
    ‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”group_by_weight_0:1:0:0:0:0″>
    <ZipOrigination>83686</ZipOrigination>
    <ZipDestination>33605</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.00</Ounces>
    <Machinable>TRUE</Machinable>
    <Zone>8</Zone>
    <Postage CLASSID=”3″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup></MailService>
    <Rate>48.45</Rate>
    <CommercialRate>42.15</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”2″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>48.45</Rate>
    <CommercialRate>42.15</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”13″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Flat Rate Envelope</MailService>
    <Rate>26.95</Rate>
    <CommercialRate>23.50</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”27″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>26.95</Rate>
    <CommercialRate>23.50</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”30″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Legal Flat Rate Envelope</MailService>
    <Rate>27.10</Rate>
    <CommercialRate>23.75</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”31″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>27.10</Rate>
    <CommercialRate>23.75</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”62″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Padded Flat Rate Envelope</MailService>
    <Rate>27.50</Rate>
    <CommercialRate>23.95</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”63″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>27.50</Rate>
    <CommercialRate>23.95</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”1″>
    <MailService>Priority Mail 2-Day<sup>™</sup></MailService>
    <Rate>11.60</Rate>
    <CommercialRate>9.68</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”33″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>9.68</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”22″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box</MailService>
    <Rate>21.50</Rate>
    <CommercialRate>19.20</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”34″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>19.20</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”17″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box</MailService>
    <Rate>16.10</Rate>
    <CommercialRate>14.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”35″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>14.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”28″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box</MailService>
    <Rate>9.45</Rate>
    <CommercialRate>8.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”36″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”47″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box A</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>13.54</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”48″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box A Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>13.54</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”49″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box B</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>22.51</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”50″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box B Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>22.51</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”16″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”37″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”44″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope</MailService>
    <Rate>9.25</Rate>
    <CommercialRate>8.05</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”45″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.05</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”29″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope</MailService>
    <Rate>9.65</Rate>
    <CommercialRate>8.45</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”46″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.45</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”38″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”39″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”42″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”43″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”40″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”41″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”77″>
    <MailService>Parcel Select Ground<sup>™</sup></MailService>
    <Rate>9.03</Rate>
    </Postage>
    <Postage CLASSID=”6″>
    <MailService>Media Mail Parcel</MailService>
    <Rate>3.19</Rate>
    </Postage>
    <Postage CLASSID=”7″>
    <MailService>Library Mail Parcel</MailService>
    <Rate>3.03</Rate>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘response’ =>
    array (
    ‘code’ => 200,
    ‘message’ => ‘OK’,
    ),
    ‘cookies’ =>
    array (
    ),
    ‘filename’ => NULL,
    ),
    ‘STANDARD POST’ =>
    array (
    ‘headers’ =>
    Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
    ‘data’ =>
    array (
    ‘content-encoding’ => ‘gzip’,
    ‘access-control-allow-origin’ => ‘*’,
    ‘cache-control’ => ‘private’,
    ‘content-type’ => ‘text/xml’,
    ‘date’ => ‘Sat, 19 Feb 2022 14:03:38 GMT’,
    ‘ntcoent-length’ => ‘3099’,
    ‘server’ => ‘Microsoft-IIS/10.0’,
    ‘strict-transport-security’ => ‘max-age=31536000 ; includeSubDomains’,
    ‘x-aspnet-version’ => ‘4.0.30319’,
    ‘x-backside-transport’ => ‘OK OK’,
    ‘x-frame-options’ => ‘SAMEORIGIN’,
    ‘x-global-transaction-id’ => ‘e41d61746210f8bab7a3a98f’,
    ‘x-powered-by’ => ‘ASP.NET’,
    ‘x-ruleset-version’ => ‘1.0’,
    ‘content-length’ => ‘680’,
    ),
    )),
    ‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”group_by_weight_0:1:0:0:0:0″>
    <ZipOrigination>83686</ZipOrigination>
    <ZipDestination>33605</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.00</Ounces>
    <Container>VARIABLE</Container>
    <Machinable>TRUE</Machinable>
    <Zone>8</Zone>
    <Postage CLASSID=”4″>
    <MailService>USPS Retail Ground<sup>®</sup></MailService>
    <Rate>10.25</Rate>
    <SpecialServices>
    <SpecialService>
    <ServiceID>104</ServiceID>
    <ServiceName>Certificate of Mailing (Form 3817)</ServiceName>
    <Available>true</Available>
    <Price>1.65</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>103</ServiceID>
    <ServiceName>Collect on Delivery</ServiceName>
    <Available>true</Available>
    <Price>8.60</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>175</ServiceID>
    <ServiceName>Collect on Delivery Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>14.45</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>100</ServiceID>
    <ServiceName>Insurance</ServiceName>
    <Available>true</Available>
    <Price>2.45</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>177</ServiceID>
    <ServiceName>Insurance Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>16.20</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>108</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup></ServiceName>
    <Available>true</Available>
    <Price>3.45</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>173</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>9.30</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>156</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Electronic</ServiceName>
    <Available>true</Available>
    <Price>2.90</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>174</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Electronic Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>8.75</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>190</ServiceID>
    <ServiceName>Special Handling – Fragile</ServiceName>
    <Available>true</Available>
    <Price>12.15</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>106</ServiceID>
    <ServiceName>USPS Tracking<sup>®</sup></ServiceName>
    <Available>true</Available>
    <Price>0.00</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>155</ServiceID>
    <ServiceName>USPS Tracking<sup>®</sup> Electronic</ServiceName>
    <Available>true</Available>
    <Price>0.00</Price>
    </SpecialService>
    </SpecialServices>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘response’ =>
    array (
    ‘code’ => 200,
    ‘message’ => ‘OK’,
    ),
    ‘cookies’ =>
    array (
    ),
    ‘filename’ => NULL,
    ),
    ),
    ‘unitedResponse’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”group_by_weight_0:1:0:0:0:0″>
    <ZipOrigination>83686</ZipOrigination>
    <ZipDestination>33605</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>0.00</Ounces>
    <Machinable>TRUE</Machinable>
    <Zone>8</Zone>
    <Postage CLASSID=”3″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup></MailService>
    <Rate>48.45</Rate>
    <CommercialRate>42.15</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”2″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>48.45</Rate>
    <CommercialRate>42.15</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”13″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Flat Rate Envelope</MailService>
    <Rate>26.95</Rate>
    <CommercialRate>23.50</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”27″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>26.95</Rate>
    <CommercialRate>23.50</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”30″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Legal Flat Rate Envelope</MailService>
    <Rate>27.10</Rate>
    <CommercialRate>23.75</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”31″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>27.10</Rate>
    <CommercialRate>23.75</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”62″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Padded Flat Rate Envelope</MailService>
    <Rate>27.50</Rate>
    <CommercialRate>23.95</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”63″>
    <MailService>Priority Mail Express 2-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>27.50</Rate>
    <CommercialRate>23.95</CommercialRate>
    <CommitmentDate>2022-02-23</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”1″>
    <MailService>Priority Mail 2-Day<sup>™</sup></MailService>
    <Rate>11.60</Rate>
    <CommercialRate>9.68</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”33″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>9.68</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”22″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box</MailService>
    <Rate>21.50</Rate>
    <CommercialRate>19.20</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”34″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Large Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>19.20</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”17″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box</MailService>
    <Rate>16.10</Rate>
    <CommercialRate>14.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”35″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Medium Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>14.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”28″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box</MailService>
    <Rate>9.45</Rate>
    <CommercialRate>8.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”36″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Box Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.25</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”47″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box A</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>13.54</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”48″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box A Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>13.54</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”49″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box B</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>22.51</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”50″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Regional Rate Box B Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>22.51</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”16″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”37″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”44″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope</MailService>
    <Rate>9.25</Rate>
    <CommercialRate>8.05</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”45″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.05</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”29″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope</MailService>
    <Rate>9.65</Rate>
    <CommercialRate>8.45</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”46″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>8.45</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”38″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”39″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Gift Card Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”42″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”43″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Small Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”40″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope</MailService>
    <Rate>8.95</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”41″>
    <MailService>Priority Mail 2-Day<sup>™</sup> Window Flat Rate Envelope Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>7.75</CommercialRate>
    <CommitmentDate>2022-02-25</CommitmentDate>
    <CommitmentName>2-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”77″>
    <MailService>Parcel Select Ground<sup>™</sup></MailService>
    <Rate>9.03</Rate>
    </Postage>
    <Postage CLASSID=”6″>
    <MailService>Media Mail Parcel</MailService>
    <Rate>3.19</Rate>
    </Postage>
    <Postage CLASSID=”7″>
    <MailService>Library Mail Parcel</MailService>
    <Rate>3.03</Rate>
    </Postage>
    <Postage CLASSID=”4″>
    <MailService>USPS Retail Ground<sup>?</sup></MailService>
    <Rate>10.25</Rate>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘shownRates’ =>
    array (
    ‘usps_simple:PRIORITY_MAIL’ =>
    array (
    ‘id’ => ‘usps_simple:PRIORITY_MAIL’,
    ‘label’ => ‘Priority Mail?’,
    ‘cost’ => 9.67999999999999971578290569595992565155029296875,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ‘usps_simple:STANDARD_POST’ =>
    array (
    ‘id’ => ‘usps_simple:STANDARD_POST’,
    ‘label’ => ‘USPS Retail Ground?’,
    ‘cost’ => 10.25,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ‘usps_simple:MEDIA_MAIL’ =>
    array (
    ‘id’ => ‘usps_simple:MEDIA_MAIL’,
    ‘label’ => ‘Media Mail’,
    ‘cost’ => 3.189999999999999946709294817992486059665679931640625,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ),
    ‘eliminatedRates’ =>
    array (
    ),
    )`

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blueplanetphoto

    (@blueplanetphoto)

    OK, I have figured it out. Under the variable condition of the product I need to check the “virtual” box in addition to the “enabled” box. That removes shipping from the calculation at checkout. Otherwise, it seems a default value of 1 lb is applied to the item at checkout and used to calculate an unnecessary shipping charge.

    Plugin Author Dan

    (@dangoodman)

    Right, marking a product as virtual is the way to skip shipping for it. Thank you for the update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Products with zero weight, no class, charged shipping’ is closed to new replies.