Develop a Custom WooCommerce Shipping Method – with eBook
In this course I will teach something I wish I had known much sooner. I really lost so much time when I needed to code custom shipping methods for various companies! Reading the code of WooCommerce can be time consuming.
I will show you everything about creating Shipping Methods.
In this course you will learn:
- What Shipping API enables you and where to read the code
- How to define a shipping method
- How to structure a shipping method
- How to make the plugin dependant on WooCommerce
- How to integrate the Shipping Method with WooCommerce Shipping Zones
- How to programmatically work with Shipping Zones
In this course you will receive my eBook “WooCommerce for Developers” for FREE (regularly $10) with much more lessons such as:
- Creating a WooCommerce Payment Gateway
- Creating a print option in Order listing
- Managing Stock Levels with 3rd Party APIs
Let me tell you how will we tackle this together. First, you will download the eBook. You can even print it if you want and then check each part of the course inside the book.
Use the eBook as a reference guide when working on WooCommerce projects.
You will then learn about the Shipping API and which methods and attributes shall you use when creating our own Shipping Method. You will also get much more details on countries and availability.
After you get over the Shipping API, you will see how to define a Shipping Method. It is very important to understand everything before you open your editor and start writing code.
Once you define the Shipping Method, you will start coding the plugin. You will make this plugin dependant on WooCommerce and you will not allow any code to perform if WooCommerce is not active.
You will create your own Shipping Method class, calculate the shipping following the definition of the shipping method and then you will register the method in WooCommerce.
Once you are done with the whole Shipping Method, you will refactor the code (just a bit). This refactoring will integrate your WooCommerce Shipping Method with WooCommerce Shipping Zones.
Get the complete code of this course so you can check each line.