4.25 out of 5
4.25
2 reviews on Udemy

Develop a Custom WooCommerce Shipping Method – with eBook

Learn how to create a Shipping Method for your WooCommerce site
Instructor:
Igor Benić
24 students enrolled
English [Auto-generated]
Create WooCommerce Plugins
Define & Integrate a Shipping Method in WooCommerce
Create Shipping Zones in WooCommerce

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

Course Overview

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.

Introduction

1
Introduction
2
"WooCommerce for Developers" eBook
3
Complete Code

Get the complete code of this course so you can check each line.


Shipping API

1
Attributes & Methods
2
Countries & Availability

Shipping Class

1
Plugin
2
Making sure WooCommerce is Active
3
The Base
4
Show the Method in Shipping Settings
5
Settings Fields
6
Countries
7
Getting the Right Package
8
Getting the Price for the Package
9
Calculating the Shipping Cost

WooCommerce Shipping Zone Features

1
Extracting Countries
2
Updating the Class
3
Create Zones on Activation
4
How to add our Shipping Method to Zones - Simple Fix
5
Delete Zones on Deactivation
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
2 Ratings

Detailed Rating

Stars 5
0
Stars 4
2
Stars 3
0
Stars 2
0
Stars 1
0
864f2b7e30933ca892a3ecffcd3ba66c
30-Day Money-Back Guarantee

Includes

2 hours on-demand video
2 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion