Skip to content

KrashKartMedia/WooCommerce-Custom-Shipping-Plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

WooCommerce Custom Shipping Method Plugin

This plugin adds a custom shipping method to WooCommerce > Settings > Shipping Called Our Shipping Price

The client we built this for had a need for a custom shipping price and a custom way to add the totals up.

The client wants to charge 9.95 per box shipped.

The clients can fit any 2 items of Small, Mediium, Large, Extra Large into one box. So for every 2 items (as long as then are not Jumbo Size) the shipping price will add 9.95. So 1-2 items of (S,M,L,XL) will cost 9.95 for shipping. 3-4 items will cost 19.90. And so on.

Every Jumbo size item will Add 9.95 every time one is added. So you can get the idea by this example:

One small, one medium and 2 jumbo sized items cost $29.85 in shipping alone. 9.95 * 3 = 29.85

This plugin is based off of the Shipping Method API provided by WooThemes Docs. (http://docs.woothemes.com/document/shipping-method-api/)

Installation

Using WordPress Admin: Add new plugin by going to Plugins > Add New > Upload and select the zipped file from your download location.

Using FTP: Download Zipped file. Unzip Folder. Upload to wp-content/plugins

  1. Avtivate plugin.
  2. Under WooCommerce > Settings > you'll see a shipping tab. Enable shipping. Disable all shipping methods by unchecking the box under each shipping method. (yoursite.com//wp-admin/admin.php?page=woocommerce_settings&tab=shipping&section=WC_Shipping_Flat_Rate)
  3. Enjoy!

Under Products > Attributes, add a new attribute called Size. Add terms to the attribute called Small, Medium, Large, Extra Large, Jumbo.

Disable all shipping methods and by default, Our Shipping Price will be activated.

About

This plugin adds a custom shipping method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published