GithubHelp home page GithubHelp logo

madu-rosh / woocommerce-custom-shipping-plugins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krashkartmedia/woocommerce-custom-shipping-plugins

0.0 2.0 0.0 132 KB

This plugin adds a custom shipping method

woocommerce-custom-shipping-plugins's Introduction

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.

woocommerce-custom-shipping-plugins's People

Contributors

krashkartmedia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.