Mike Jolley
9818796d3e
Removing selection priority
...
This option was added so you could sort methods in a custom order, but
choose a different default.
Doing this per zone would add extra complexity, and this has also
proven problematic when a method registers multiple rates.
This commit removes usage of the setting. We should use the display
order and choose the top method by default. It think this balances ease
of use with control.
2015-12-15 15:49:35 +00:00
Mike Jolley
041906e692
Shipping class cleanup
2015-12-15 15:39:00 +00:00
Mike Jolley
a0e0bb1e55
Load instance methods for calculations
2015-12-15 15:00:45 +00:00
Mike Jolley
6cea054fca
Method list screen and method screen with breadcrumbs
2015-12-11 14:11:12 +00:00
Claudio Sanches
37d7dcb396
Prevent erros when unregister shipping methods, closes #9740
2015-12-02 10:46:14 -02:00
Mike Jolley
18e98d8b20
Store shipping rates in session
...
Rather than use a session which is independent of customer sessions,
store the rates in the session itself to avoid multiple transients.
2015-11-13 20:53:44 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
705fbef31a
[2.4] Default selections fix for methods with multiple rates
2015-10-23 13:49:27 +01:00
Gabor Javorszky
852ab311e0
Shipping calculation results no longer bleed over
...
Fixes #9404
Before we decide whether to just return from shipping calculation or
actually calculate it, let's null the values.
Reason for this and not `reset` is because reset also wiped the chosen
shipping method, which might have unintended consequences.
Please test this extensively. You know WooCommerce a lot better than I
do, and I'd like to avoid side effects.
2015-10-21 21:35:58 +01:00
Mike Jolley
069a3defad
[2.4] Handle method ids with colon
...
Fixes #9247
2015-10-02 10:10:18 +02:00
Mike Jolley
2f79ab5e3a
When merging shipping taxes with a shipping rate taxes, ensure shipping rate taxes is not malformed.
...
Closes #8790
2015-08-12 11:28:24 +01:00
Mike Jolley
c1cd3f097c
Fix notices when calling get_shipping_classes().
2015-08-10 21:52:21 +01:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Mike Jolley
db61edcb36
Unused vars
2015-07-15 16:37:30 +01:00
Mike Jolley
d19a7d2c2e
Shipping debug for all users
2015-07-08 11:02:20 +01:00
Mike Jolley
9f65d2a1fc
Added priorities for shipping methods to give more control over defaults.
...
Closes #7871
2015-04-13 15:32:57 +01:00
Mike Jolley
5146d582cb
Just some braces
2015-03-04 10:25:08 +00:00
Mike Jolley
33e046a4d0
Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
...
Closes #7151
2015-01-19 13:19:44 +00:00
Bryce
e2443c9d4c
remove var keyword in WC_Shipping
2014-12-16 18:37:58 +07:00
shivapoudel
961f147d18
Absolute path fix for class-wc-shipping.php
2014-09-21 00:46:02 +05:45
JDGrimes
0d472cead5
Update copy-pasted docs
...
Fixes #5707
2014-06-19 15:43:05 -04:00
Mike Jolley
173d483ac0
Add tool for disabling shipping rate cache for debug
2014-05-01 14:40:31 +01:00
Mike Jolley
c0c21c8364
Unify textdomains Closes #4814
2014-02-17 13:14:45 +00:00
Mike Jolley
60fbf90d7f
Docblock Closes #4726
2014-02-12 11:56:41 +00:00
Mike Jolley
878fe196ba
$packge is array Closes #4725
2014-02-12 11:54:43 +00:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Gregory K
cdbe5950f0
PhpDocs and TODO comments
2013-11-28 11:49:30 -05:00
Mike Jolley
dde1f55120
Support deprecated hook Closes #4230
2013-11-28 15:20:02 +00:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Mike Jolley
e01df544ec
Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
...
@todo store shipping methods in the order
@todo test with PP shipping real world
cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00