What the Project Involved?
WooCommerce Extension Development
Multiple Shipping Methods in an Order
What were the Client’s Requirements?
The client needed a simple functionality to manage shipping rates in WooCommerce, using shipping classes associated with products. Shipping methods were controlled by shipping classes as well, hence we had to ensure that products with different shipping methods could be added in a single order in WooCommerce. The solution was provided as an extension plugin to WooCommerce.
How did We Provide a Solution?
The client wanted to sell products which multiple products had a fixed shipping method associated. Thus he needed to allow an interested customer to purchase several products (which could include different shipping methods), in a single order.
Based on the client’s requirements, we evaluated that a solution could be provided as an extension plugin to WooCommerce. This was possible because WooCommerce provided the adequate hooks to allow us to develop the functionality into an extension plugin.
We started by associating products to a shipping method. We used Shipping Classes provided by WooCommerce to achieve this functionality. A settings option was provided to associate a shipping class with a shipping method. Once the shipping class was assigned to the product, the shipping method was associated with the product.
The plugin also ensured that products with multiple shipping methods could be added and purchased in a single order.