We sell a variety of items available. The majority of our items are ready to be dispatched straight away. We have a flat rate postage of £6, and free postage over £60.
However, we offer a few items that are only dispatched a few times a year.
For example, one group (Group A) of items will be sent in August, another group of items (Group B) will be sent in November, and another group of items (Group C) will be sent in February. We need to charge postage on each group of items ordered if under £60 per group.
We have set 3 shipping classses so all items in Group A are together, all items in group B are together, and all items in group C are together. All other items which are sent straight away aren’t in a shipping class.
If someone orders £60 worth of items within the same group, the postage should be free. If someone order £30 worth of items from group A, and £30 worth of items from group B, C or ungrouped items, then they should be charge 2 lots of the £5 postage.
If someone orders £30 worth of items from group A, and £60 worth of items from group b, then they should only be charged one lot of postage (for group A under the £60 free postage level)
How do I set this up please?
]]>'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’,
‘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 (
),
)`
We offer Free van delivery within a postcode area such as LE10 for other products, but we do not want to offer and post these products anywhere else in the UK. Can a postage rule be set for this option?
I would be very grateful for help with this.
]]>We have a store where we have a steady flow of items being sold.
We use a fulfilment company to send our items out.
Because so many items are sold, it is inevitable that a fair few get lost in the post/during shipping, and because of this, we simply send a replacement order to customers at no extra cost, where we can see their order has not been delivered via the shipping tracking for the order.
When a customer makes the initial order, the fulfilment company takes the info from our system, and dispatches the order – then the fulfilment system adds a note to the customer’s woocommerce order with the tracking number.
However, when we work in customer services and find a customer needs a replacement order, we are having to create a spreadsheet manually, which we then send to the fulfilment centre for them to process.
They send out our replacement orders daily, and feedback to us with another spreadsheet including the new tracking codes for the replacement orders.
(this is long-winded, I know!)
What I would like to know is this:
Is there a very simple plugin where – if I go to a customer’s original order, I can simply ‘recreate’ that order as a fresh, new one – but without charge to the customer. However, by doing this, it would create a new order in the system that the fulfilment company’s system will process, and thus update with a new tracking code etc – all the time Woocommerce linking the new ‘replacement’ order with the original order on the system?
This way it totally removes us having to make spreadsheets of replacement orders daily, for the fulfilment company to send us back spreadsheets of replacement order tracking codes, and for us manually having to keep the customer updated that their replacement order has been dispatched/provide tracking.
A pretty convoluted explanation, but actually quite a straight-forward problem I need solving!
Any advice or help would be so appreciated, thank you!
]]>I have customers who are ordering from us from outside Europe who are unable to calculate postage for their addresses and then unable to order, but it only happens with certain products that we sell; I can put one product in the basket and get postage, but not another. I can’t see anything set differently between the product pages that do work and don’t, and there’s no obvious common attribute between products that do calculate; they’re different sizes and weights.
Any suggestions are welcome.
]]>I am developing a shop which sells products and postcards. Now I am stuck with setting up the shipping costs. I have set a flat rate of $15, but now I realize a customer might only select a postcard and postage shouldn’t be $15 but $5…….
Should I use a plugin or I am overlooking something obvious??
Regards
]]>Can you add a feature like “show only product page”
]]>