• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

virusword.com

Learn Wordpress

  • Home
  • WordPress Shop
    • Fotopress
    • SEO Tool Kit
    • Social Contact
    • Tag Machine 2
    • Video Profits
  • Latest News
  • WordPress
    • Plugins
    • Themes
    • Tutorials
    • Videos
    • Woocommerce
  • About Us
  • Contact Us
    • Terms of Service
    • Privacy Policy
  • Show Search
Hide Search
Home/Videos/Build Simple Custom Woocommerce Shipping Method

Build Simple Custom Woocommerce Shipping Method



In this tutorial we will create a simple shipping method for WooCommerce which will calculate the cost of shipping.

To follow this tutorial you will need: WordPress, WooCommerce plugin installed & activated plus your Editor of choice.

Code snippet is here: https://github.com/Omukiguy/woocommerce-snippets/blob/master/techiepress-dhl-shipping/techiepress-dhl-shipping.php

=============================================
Do you like what I am doing? You can buy me a coffee through PayPal: https://paypal.me/laurencebahiirwa

Or purchasing through my Plugin Affiliate links:
– Elementor Pro —— https://omukiguy.com/elementor
– Woo Feed Pro ——- https://omukiguy.com/webappick/
– Woo Invoice Pro —- https://omukiguy.com/webappick/

I am social too:
Facebook: https://web.facebook.com/TechiePress-100149655032583/
Twitter: https://twitter.com/omukiguy
Blog: https://omukiguy.com
GitHub: https://github.com/Omukiguy
——————————————————————————-
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
——————————————————————————–

Learn how to build a plugin from scratch: https://youtu.be/9LtXEMRNln8?t=145

WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce – https://www.youtube.com/playlist?list=PLNqG1qGUllk2qFmbexV2SikF8bXqvDW-H

== Build Free Custom Theme for E-commerce Online Shop using WooCommerce –
https://www.youtube.com/playlist?list=PLNqG1qGUllk0uFqUvFFIJ67dSNBKapd7Y

====== Build Dynamic Websites with Elementor ======

== Learn the Elementor basics – https://www.youtube.com/playlist?list=PLNqG1qGUllk27BK71LBJDw4auOl-aVOqG

== Build a custom Elementor Widget from Scratch – https://www.youtube.com/playlist?list=PLNqG1qGUllk2pukgHP385ll0ENmRr9E_M

====== How to use WordPress Gutenberg Block Editor ======

WordPress 5.4 Gutenberg Blocks Updates
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0lI2Omhvp54Qn9-MIEhQzX

WordPress Gutenberg blocks for Designers
== https://www.youtube.com/playlist?list=PLNqG1qGUllk3DY91Bq_26L8meIXM_Uo4E

Gutenberg WordPress Block Editor tutorials for beginners
== https://www.youtube.com/playlist?list=PLNqG1qGUllk2xOKt79aI12GgX2DX0aNx-

Custom WooCommerce Gateway Development from Scratch
== https://www.youtube.com/playlist?list=PLNqG1qGUllk21IES6ZJ2WkX1BcbPQF4-7

WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0npc2ZGPU358Q6S1itFCYR

====== WordPress Plugin Development from Scratch ======

Build Most Popular & Most Commented Post Plugin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk05gUz_VB5nCHEN9A3OpS94

Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0NSTrNF2xa1zHNzMi3M7su

WordPress External APIs Integration Plugin Development
== https://www.youtube.com/playlist?list=PLNqG1qGUllk0U2-5ZBNxSNxQrPO-4CqnR

Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application – https://www.youtube.com/playlist?list=PLNqG1qGUllk3qMrJcXUeP1Ge5U4fKtAR

Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk03llIgPYGVTwY14lAPDkBp

Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress – https://www.youtube.com/playlist?list=PLNqG1qGUllk06KZP9N1nRG-FpnTr_TD9u

Custom Dashboard Widgets
== https://www.youtube.com/playlist?list=PLNqG1qGUllk2h51557gV74x8p1RrlEmah

Build Custom Admin
== https://www.youtube.com/playlist?list=PLNqG1qGUllk1M5L8Xo-K1g6B3OrkliKDs

Learn Git
== Git tutorial for writers + software developers for beginners – https://www.youtube.com/playlist?list=PLNqG1qGUllk2PnSJiUw1SCjiS6pNhIR2f

source

Written by:
Abdul Wahid
Published on:
March 17, 2022

Categories: VideosTags: Create custom Woocommerce Shipping Methods, simple shipping method for WooCommerce, woocommerce plugin, woocommerce plugin tutorial, Woocommerce Shipping methods, wordpress plugin tutorial

Reader Interactions

Comments

  1. Ian Doucett

    March 17, 2022 at 2:52 am

    calculate_shipping( $package ) —–> calculate_shipping($package = array())

  2. Charles Paquet

    March 17, 2022 at 2:52 am

    If I were a pagan I would say that you are a living God. But since I'm christian, I will say God Bless you

  3. It's Anamul Haque

    March 17, 2022 at 2:52 am

    Nice Sir, How to Make COD extra fee plugin

  4. Miguel Carranza

    March 17, 2022 at 2:52 am

    thanks! it works great
    Do you know if its possible to put two or more shipping options whit this method?

  5. Lucky Knot Official

    March 17, 2022 at 2:52 am

    Hi Techie, sorry to answer this here as is not directly related with the video, I'm not that tech-savvy and after having spent 5 hours looking at the net for answers, none worked: I want to remove the Additional Information field in the Checkout Page. I found this code (there are lots of this code in many answers that I found):

    add_filter( 'woocommerce_product_tabs', 'bbloomer_remove_info_tab', 99);

    function bbloomer_remove_info_tab( $tabs ) {

    unset( $tabs['additional_information'] );

    return $tabs;

    }

    I also search in Documentation but not a single trai on how to remove the Additional Information field: https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/

    Besides 'Additional Information' there is a tick field that says: " Yes, I'm ok with you sending me additional newsletter and email content (optional)"
    I don't know where this comes from, as I hid the newsletter option of my Mailchimp integration. I also have Stripe setup but cannot find anything. Does this come from Woocommerce itself?

    I apologize for this Techie. I will make sure to follow all your series, for those wanting to unveil the secrets of WC you are the man to go! blessings.

  6. Russell Azim

    March 17, 2022 at 2:52 am

    TechiePress bro please upload thirdparty api integration in wordpress like wearther app, payment gateway etc

  7. Android Advance Tutorials Series 2018

    March 17, 2022 at 2:52 am

    would you like to make a video on
    order conformation user gets a sms on his mobile ? answer my questions please

  8. GO TECH UG

    March 17, 2022 at 2:52 am

    Wow, you simply gave us a full lesson creating a new plugin for wordpress and have it integrated in our shipping methods. Thank you.

  9. Android Advance Tutorials Series 2018

    March 17, 2022 at 2:52 am

    Please make a video on woocommerce api and integration with other

Primary Sidebar

Wordpress

  • Content Management Systems (2)
  • Digital Marketing (4)
  • Internet Marketing (28)
  • Latest News (458)
  • Online Business (2)
  • Plugins (519)
  • Themes (521)
  • Videos (1,350)
  • Website Development (1)
  • Woocommerce (589)
  • WordPress (6)

Recent Articles

Unlock Your Internet Marketing Potential with WordPress: Tips, Tools, and Strategies

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential with WordPress: Tips, Tools, and Strategies

Unlock Your Internet Marketing Potential: Harnessing the Power of WordPress

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential: Harnessing the Power of WordPress

Search our site

Explore more

Get our Wordpress Guide Get Plugins Get Connected

Footer

VirusWord by Promaps, Inc.

Barnes Place
Colombo 7, Western 00700

Copyright © 2025 ยท Promaps, Inc.

Keep In Touch

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Twitter