Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
a19848978a
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis
2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
741f2b954a
Squiz.WhiteSpace.SuperfluousWhitespace.EndLine
2016-08-27 07:01:22 +03:00
Aristeides Stathopoulos
6c30f84fa2
WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys
2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
1bc9da3e91
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Claudio Sanches
8c5678f967
[2.6] Fixed shipping classes URLs, closes #11542
...
cc @mikejolley
2016-07-27 15:52:02 -03:00
Claudio Sanches
35c5a29cc2
Always remove commas while processing flat rate costs, closes #11346
2016-07-19 11:52:29 -03:00
Claudio Sanches
aa367efdf0
Fixed a typo
2016-07-19 09:37:42 -03:00
Claudio Sanches
70bf9bfcd6
Fixed show/hide free amount in modals
2016-07-19 09:33:56 -03:00
Claudio Sanches
19713f8bc7
Improved free shipping method and fixed missing filters
2016-07-19 09:05:25 -03:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Kathy Darling
f5cb48c76f
fix link to Shipping zones from deprecated free shipping method
2016-06-28 10:31:26 -05:00
Mike Jolley
2af5716b08
Revert price change - this breaks custom price logic
...
@claudiosmweb
2016-06-23 16:32:24 +01:00
Mike Jolley
2cae613212
Remove discount when checking free shipping min amount.
...
Fixes #11232
2016-06-23 13:45:50 +01:00
Mike Jolley
bc87f4a47e
Fix - Javascript show/hide of option in free shipping method.
2016-06-21 10:47:21 +01:00
Claudio Sanches
9e574ab4d4
[2.6] Fixed cost input type for flat rate and local pickup, closes #11199
2016-06-20 21:40:23 -03:00
Mike Jolley
b682c0550e
Allow max_fee in addition to min_fee in flat rate costs fields.
...
Closes #11151
2016-06-16 12:23:02 +01:00
Mike Jolley
78142a8ebb
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-checkout.php
# includes/class-wc-coupon.php
# includes/class-wc-customer.php
# tests/unit-tests/cart/cart.php
# tests/unit-tests/cart/functions.php
# tests/unit-tests/coupon/coupon.php
# woocommerce.php
2016-06-13 15:01:58 +01:00
Mike Jolley
3fd15ad50f
Unused vars and code docs
2016-06-06 18:57:24 +01:00
Mike Jolley
bbc13009f8
Share eval math class
2016-06-06 17:06:26 +01:00
Mike Jolley
b2835720c3
unused code
2016-06-06 17:00:38 +01:00
Mike Jolley
95db35e1de
Don't recount stack
2016-06-06 16:59:09 +01:00
Mike Jolley
fbb73324d2
Simple local pickup cost
...
Closes #11045
2016-06-06 14:19:58 +01:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
43af207558
Output buffering and redirects after turning off legacy
...
Closes #10806
2016-04-28 12:36:51 +01:00
Manos Psychogyiopoulos
a203c34474
fix undefined package notice in legacy flat rate method
2016-04-26 16:21:42 +03:00
Mike Jolley
2b1442c3f0
Added get_rate_id() method for consistent rate nams
2016-04-25 17:06:38 +01:00
Mike Jolley
0bad68f218
Fixed calculate_extra_shipping
2016-04-21 13:59:13 +01:00
Mike Jolley
412195905b
Pass package in all add_rate calls
2016-04-20 15:03:10 +01:00
Diego Zanella
e0c565da2d
Backward compatibility with WC 2.5 and earlier
...
* Restored signature of WC_Shipping_Method::add_rate() method, while maintaining the features added in WC 2.6 to handle shipping zones.
2016-04-20 08:59:19 +01:00
Mike Jolley
a77735432b
Use get_displayed_subtotal() to determine if conditions for coupons and free shipping is met.
...
@claudiosmweb
Closes #10711
2016-04-18 11:39:00 +01:00
Mike Jolley
8b53d1a618
Only load modal if supported
2016-03-24 18:31:39 +00:00
Mike Jolley
f73149feaf
Tweak variation display and reenable bulk editing
2016-03-22 17:13:39 +00:00
Justin Shreve
3eacb992bc
Address issues from Mike's Feedback:
...
* Rename individual use, free shipping, and exclude sale items to match their meta names closer.
* Sanitize emails when using set_email_restrictions
* Remove some unnecessary explict true checks
* Move ID into _data with the rest of the fields
* Fixed some spacing issues
2016-03-17 09:19:27 -07:00
Justin Shreve
d738dec05d
Coupon CRUD (WIP).
2016-03-17 09:19:27 -07:00
Mike Jolley
1549158981
Add 'is_enabled' column to instances table and allow toggle in zones screen
...
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley
23be868353
Enabled by default
2016-02-10 15:01:43 +00:00
Mike Jolley
fab8a871aa
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley
a35c7d6aca
Hide min order amount field when not needed
...
Closes #10129
2016-02-08 11:44:08 +00:00
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
Mike Jolley
8064b35350
Add methods from zones screen
2016-01-13 15:04:10 +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
f70b0a9c23
Remove availability settings
2016-01-13 12:45:53 +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