Commit Graph

63 Commits

Author SHA1 Message Date
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Diego Zanella 35d20f61a8 Added shipping class instance to woocommerce_evaluate_shipping_cost_args
The instance is going to be useful if any 3rd party needs to read any other property of the shipping class, which might not have been passed through the $args variable.
2016-01-13 13:35:24 +00:00
Mike Jolley 934269f1e8 woocommerce_evaluate_shipping_cost_args 2016-01-11 15:51:37 +00:00
Diego Zanella eb42c7b3e3 Added new woocommerce_evaluate_shipping_cost filter
* The filter will allow 3rd parties to pre-process the arguments used to evaluate a shipping cost formula.
2016-01-11 13:51:46 +00:00
Fredrik Forsmo efdd927e36 Improve docblock comments in WC_Shipping_Flat_Rate classes 2016-01-06 20:08:43 +01:00
Mike Jolley 119f19a5c1 Include and conditionally load legacy shipping methods 2015-12-18 14:24:34 +00:00
Mike Jolley 77f0e9d72a has settings handling 2015-12-18 13:12:20 +00:00
Mike Jolley 9aa34330ac Fix sorting and saving for methods 2015-12-16 16:09:52 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley 1a77563085 started on free shipping 2015-12-16 13:52:46 +00:00
Mike Jolley 7fef09dd87 Fix notice in flat rate 2015-11-30 12:15:49 +00:00
Mike Jolley 77a54fdd68 Use ids for flat rate shipping class costs and handle bw compat
Closes #9715
2015-11-30 11:15:19 +00:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley f03be47e86 Handle non standard decimals in flat rate costs. 2015-08-24 15:26:08 +01:00
Mike Jolley 38d0d0dcad trim invalid chars from sum 2015-07-08 11:02:20 +01:00
Mike Jolley 85dcee63ae Flat rate shipping costs should ignore virtual items.
Closes #8506
2015-07-07 10:41:56 +01:00
Mike Jolley 583e1fc284 Typo closes #8381 2015-06-16 14:08:46 +01:00
Mike Jolley 71fc6c207e Free should only be used if costs set. If left blank, offer no rate
Closes #8380
2015-06-16 14:07:28 +01:00
Mike Jolley 2347418c5b International shipping + legacy updater 2015-06-16 11:37:58 +01:00
Mike Jolley b3a161a744 Fix upgrade logic for per item type 2015-06-15 15:32:51 +01:00
Mike Jolley 6f90640ba3 Upgrade logic and option fallbacks 2015-06-15 15:24:51 +01:00
Mike Jolley 803714d088 BW compat for additional rates 2015-06-15 12:01:24 +01:00
Mike Jolley d24461a9a5 Simplify flat rate shipping UI #8243 2015-06-12 16:19:43 +01:00
roykho 96ca19d170 fixed flatrate per item and per class if no additional costs added, it doesn't correctly fallback to base cost closes #7851 2015-04-07 07:23:00 -07:00
Mike Jolley bce209c21d Flat rate extra costs when costs are an array. 2015-02-11 22:24:13 +00:00
Mike Jolley 2b645ed293 Moved if statement in flat rate shipping 2014-11-19 23:28:23 +00:00
Mike Jolley e630e64cb7 Flat rate shipping tweaks + inline instructions 2014-11-19 22:22:35 +00:00
shivapoudel 11a1be6b12 Absolute path and Indentation fix for includes/shipping/*.php :) 2014-09-21 01:29:32 +05:45
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
Mike Jolley 13caa07cc2 Sanitize, but decode. UTF-8 Friendly. Fixes #5401
Originally changed 34db5d68b6
2014-05-01 14:40:31 +01:00
Mike Jolley 34db5d68b6 Don't sanitise rate ID - breaks utf8 chars
Fixes #5376
2014-04-25 12:31:58 +01:00
James Koster c5656ee991 flat rate additional costs table 2014-03-25 13:59:30 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Patrick Rauland 61a175173e merging upstream changes 2014-02-25 08:07:39 -06:00
Mike Jolley b16f83804f Merge pull request #4932 from BFTrick/flat-rate-costs-regex
Comment RegEx in Flat Rate Shipping
2014-02-25 10:47:29 +00:00
Patrick Rauland cf81e63b3c adding new method to calculate percentage rate adjustment for flat rate shipping 2014-02-24 12:54:56 -06:00
Patrick Rauland 0fd11ad509 commenting regex in flat rate shipping 2014-02-24 11:40:26 -06:00
Patrick Rauland 3888af3559 using wordpress brace code style in flat rate shipping 2014-02-24 11:17:33 -06:00
Renkas 03c0a3f7d0 Removed debug output 2014-01-14 14:30:42 +02:00
Patrick Rauland 01c1afae59 Adding default shipping price to tooltips 2013-12-04 16:20:30 -06:00
Gregory K cac9d12bf9 PhpDocs 2013-11-28 07:54:19 -05:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard eb91907db6 Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices. 2013-11-13 20:53:31 -05:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 85e73c5e53 Typos #3908 2013-10-11 15:30:10 +01:00
Mike Jolley d67c142070 Add data-placeholder Closes #3908. 2013-10-11 15:27:04 +01:00