wp-e-commerce / WP-e-Commerce

WP eCommerce - The most popular independent eCommerce platform for WordPress
https://wpecommerce.org
GNU General Public License v2.0
213 stars 216 forks source link

Feature request: support USPS flat-rate shipping #1362

Open PxT opened 10 years ago

PxT commented 10 years ago

It would be great if the USPS shipping module could support flat-rate shipping prices. Since the boxes are a fixed size the calculator would have to take into account item dimensions to figure out if flat-rate was a possible option.

ReactorShop commented 10 years ago

If you check the USPS website, USPS allows you to manually select flat-rate shipping boxes, but you have to be sure that the item you are shipping fits into any of them. There are weight limits for each flat-rate shipping box that have to be taken into account too.

If only 1 item at a time would ship, it would be as easy as using a simple algorithm to match the product size against the flat-rate shipping box, but if you are combining multiple products into 1 shipment, it gets complicated, since a 3D bin packing algorithm would be required for this case.

I leave this comment here so that it is known what's needed.