Changeset 997071
- Timestamp:
- 09/26/2014 07:28:06 AM (11 years ago)
- Location:
- postcode-shipping/trunk
- Files:
-
- 2 edited
-
postcode_shipping.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
postcode-shipping/trunk/postcode_shipping.php
r913504 r997071 3 3 /** 4 4 5 * Plugin Name: Postcode Shipping 6 7 * Plugin URI: http://www.dimensionit.com 5 * Plugin Name: Postcode Shipping 8 6 9 7 * Description: This plugin allows you to set a flat shipping rate per country or state or postcode per Quantity/Order on WooCommerce. 10 8 11 * Version: 2. 09 * Version: 2.1.1 12 10 13 11 * Author: Rizwan Ahammad 14 12 15 * Author URI: http://www.dimensionit.com16 17 13 * Text Domain: woocommerce_flatrate_perpostcode 18 14 … … 166 162 167 163 ), 168 164 'enable_restofworld' => array( 165 166 'title' => __('Rest Of World', 'woocommerce'), 167 168 'type' => 'checkbox', 169 170 'label' => __('Enable this rest of world cost', 'woocommerce'), 171 172 'default' => 'no', 173 174 ), 169 175 170 176 'fee_world' => array( 171 177 172 'title' => __(' "Rest of the World"Cost', $this->id).' ('.get_woocommerce_currency().')',178 'title' => __('Rest Of The World Cost', $this->id).' ('.get_woocommerce_currency().')', 173 179 174 180 'type' => 'text', … … 755 761 756 762 757 758 759 //Rest of the World 763 //Rest of the World 760 764 if ($final_rate===false) { 761 762 $final_rate=floatval($this->settings['fee_world']); 763 764 $label=__($commonLabel, $this->id); 765 765 766 //IF Rest Of World Enabled 767 $enableRestOfWorld=$this->settings['enable_restofworld']; 768 if($enableRestOfWorld=='yes'){ 769 $final_rate=floatval($this->settings['fee_world']); 770 $label=__($commonLabel, $this->id); 771 }else{ 772 //Hide Shipping method 773 return false; 774 } 766 775 } 776 767 777 768 778 } else { … … 818 828 819 829 820 /* If you're reading this you must know what you're doing ;-) Greetings from sunny Portugal! */821 822 823 824 830 } -
postcode-shipping/trunk/readme.txt
r913504 r997071 1 <<<<<<< .mine 1 2 === Postcode Shipping Rates- WooCommerce === 2 3 Author: Rizwan Ahammad … … 82 83 == Changelog == 83 84 85 = 1.0 = 86 * Initial release 87 84 88 = 2.0 = 85 89 * You can add method titles for all 4 methods postcode,country,state,worldwide … … 88 92 * Few minor bugs are fixed 89 93 94 = 2.1.1 = 95 * Fix: Enable/Disable "rest of the world" 96 97 ======= 98 === Postcode Shipping Rates- WooCommerce === 99 Author: Rizwan Ahammad 100 Tags: shipping, tax, rates, postcode, delivery, flatrate, flat, cost, free, state, country, quantity, world, methods, ecommerce, e-commerce, commerce, wordpress ecommerce, affiliate, store, sales, sell, shop, shopping, cart, checkout, configurable, variable, widgets 101 Requires at least: 3.5 102 Tested up to: 3.9.1 103 Stable tag: 2.0 104 License: GPLv3 105 License URI: http://www.gnu.org/licenses/gpl-3.0.html 106 107 Postcode Shipping is a clean, powerful shipping rates plugin that helps you define multiple rates based on Quantity/Order on countrys/states/postcodes and apply rates between 2 postcode zones. 108 109 == Description == 110 111 If you want to apply shipping rates based on country or state or postcode/zip Postcode shipping rates plugin lets you define a standard rate per order/quantity. 112 113 if you set a rate for client's Zip/postcode it will be Apply. If you set a rate for client's state it will be Apply. If you set a rate for the client's country it will be Apply. Otherwise, If none of the rates are set, the "Rest of the World" rate will be Apply. 114 115 116 = EASY & FLEXIBLE = 117 118 WooCommerce Postcode Shipping is easy to use. This results in an efficient, robust and intuitive plugin. 119 120 121 = USAGE = 122 123 Insatall this plugin then you can create number of shipping rules for coutry or state or postcode or commen shipping rate for world wide and save settings. 124 125 126 = FEATURES = 127 128 * __Shipping Rates on Postcode/Zip__ - You can apply shipping rates on specific postcodes and choose one or more postcodes for one rule. Separate codes with a comma or 129 * __Shipping Rates On State__ - You can apply shipping rates on specific states or 130 * __Shipping Rates On Countrys__ - You can apply shipping rates on specific countrys 131 *__Add Shipping Method Title__ - You can add method titles for all 4 methods postcode,country,state,worldwide 132 *__Apply Shipping Rates By Quantity__ - You can apply shipping rates on quantity for all postcode/state/country methods 133 134 example for price by quantity- Quantity|Price,Quantity|Price - 1|9.99,2|10.00 ect. if quantity exceeds more than given last price will apply i.e 10.00 135 136 example- 123456, 23456 ect 137 * __Shipping Rates On Rest Of World__ - Ship your items using a flat cost on worldwide. 138 139 == Installation == 140 141 = Minimum Requirements = 142 143 * WordPress 3.5 or greater 144 * WooCommerce 145 146 147 = Automatic installation = 148 149 Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New. 150 151 In the search field type "Postcode Shipping" and click Search Plugins. Once you’ve found our postcode shipping plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. 152 153 = Manual installation = 154 155 The manual installation method involves downloading our postcode shipping plugin and uploading it to your webserver via your favourite FTP application. 156 157 1. Download the plugin file to your computer and unzip it 158 2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory. 159 3. Activate the plugin from the Plugins menu within the WordPress admin. 160 161 == Frequently Asked Questions == 162 163 = Will this plugin work in wordpress 3.8? = 164 165 Yes; This will work with any theme, but may require some styling to make it match nicely. Please see our [codex](http://docs.woothemes.com/documentation/plugins/woocommerce/woocommerce-codex/) for help. 166 167 168 = Where can I report bugs ? = 169 170 Bugs can be reported either in wordpress support forum or preferably on the [Wordpress forum](http://wordpress.org/support). 171 172 173 174 == Screenshots == 175 176 1. screen1.png Postcode shipping settings panel. 177 178 179 == Changelog == 180 90 181 = 1.0 = 91 182 * Initial release 183 184 = 2.0 = 185 * You can add method titles for all 4 methods postcode,country,state,worldwide 186 * Add postcode between 2 zones like 00050-00080 187 * Define multiple rates based on Quantity 188 * Few minor bugs are fixed 189 190 = 2.1.1 = 191 * FIX: Enable/Disable "rest of the world" 192 193 >>>>>>> .r997053
Note: See TracChangeset
for help on using the changeset viewer.