Commit Graph

16492 Commits

Author SHA1 Message Date
Claudio Sanches fd5d1e2085 Improve webhook secret generation in admin screen 2016-06-24 12:22:07 -03:00
Mike Jolley 6649500b79 Merge branch 'group-notices-11226'
# Conflicts:
#	assets/js/frontend/checkout.min.js
2016-06-24 16:01:03 +01:00
Mike Jolley c8cce05c4d Use a cookie and redirect instead of query string 2016-06-24 15:06:01 +01:00
Mike Jolley 117990d95f Merge branch 'pr/11219'
# Conflicts:
#	assets/js/frontend/cart.min.js
2016-06-24 12:39:47 +01:00
Mike Jolley 5a564bac02 Code tidy 2016-06-24 12:39:13 +01:00
Mike Jolley b9eb873229 minify 2016-06-24 12:28:50 +01:00
Mike Jolley 15400fc5f5 Prevent blocking the same element multiple times
Fixes #11242
2016-06-24 12:18:31 +01:00
Mike Jolley 90f1dc8a94 Merge pull request #11237 from JonBrim/master
Fixed: Blank Exporting Reports
2016-06-24 12:01:11 +01:00
Claudio Sanches e57ab09fb4 Fixed variable product stock at product level, closes #11234 2016-06-23 19:36:39 -03:00
Jon Brim 1848f63254 Fixed: Blank Exporting Reports
Fix for #11236 adjusted the DOM to the new tree structure in html-report-by-date.php
2016-06-23 09:08:50 -07:00
Mike Jolley 2af5716b08 Revert price change - this breaks custom price logic
@claudiosmweb
2016-06-23 16:32:24 +01:00
Mike Jolley a44bc8bec8 min 2016-06-23 13:47:29 +01:00
Mike Jolley f6a42e55ac Remove all notices on fail 2016-06-23 13:47: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 7513f40a9d Notice group for order review notices 2016-06-23 13:31:34 +01:00
Mike Jolley eb2a840db0 Use string in search
Closes #11222
2016-06-23 12:32:20 +01:00
Mike Jolley 1247195e55 Ensure customer object exists
For #11227
2016-06-23 12:18:26 +01:00
Mike Jolley c7783bca24 Fix grouped product range display
Closes #11225
2016-06-23 12:16:38 +01:00
Mike Jolley a2b8352081 Merge branch 'pr/11229' 2016-06-23 11:44:12 +01:00
Mike Jolley dd48f3e851 Do away with ID - $this covers everything 2016-06-23 11:44:04 +01:00
Mike Jolley 5f8ccafaa5 Add curacao to south america 2016-06-23 11:34:50 +01:00
Mike Jolley 3334693885 Revised stock display based on feedback to hide 'in stock' message if stock management is off.
@claudiosmweb This removes ‘in stock’ when not needed, and I broke the
methods up for clarity.

Also removed the variation specific logic as it was near identical and
not needed.
2016-06-23 11:24:15 +01:00
Alexandre Sorochan ff003f066c Filter for backorders
It's possible to change backorder status using filters via `woocommerce_product_backorders_allowed`.
However, it's not possible to set `$product->backorder` to `"notify"`.
Added a filter similar to `woocommerce_product_backorders_allowed`
2016-06-23 09:55:19 +02:00
Andrew Benbow 7ef14d20ed Update class-wc-payment-gateway-cc.php
Remove unnecessary  "&& is_user_logged_in()"
2016-06-22 17:09:34 +01:00
James Koster b5b5434b7f increase color contrast of product/shipping data on order screen 2016-06-22 15:38:30 +01:00
Mike Jolley 4ddf220b9b Pass $this to backorder filter.
Closes #11216
2016-06-22 11:56:43 +01:00
Mike Jolley 270dd30fd5 Remove non-existant callback
Fixes #11210
2016-06-22 11:38:39 +01:00
Mike Jolley 1353160330 Removed non-existent country (Netherlands Antilles) from https://en.wikipedia.org/wiki/ISO_3166-1.
Closes #11217
2016-06-22 11:35:21 +01:00
Andrew Benbow 5a20addd8a Update tokenization-form.js 2016-06-22 10:39:03 +01:00
Andrew Benbow 2cdb4361e4 Update tokenization-form.js
When the checkout form is loaded for guests the save card option is shown, this fix hides it until the Create Account checkbox is checked.
2016-06-22 10:37:36 +01:00
Mike Jolley 1ea3ffb5a8 Merge pull request #11211 from kilida/patch-1
Repeated subexpressions in class-wc-geo-ip.php
2016-06-22 10:21:50 +01:00
kilida c502e363dd Repeated subexpressions in class-wc-geo-ip.php
Looks like these two can be removed, they are already on line 1303 and 1304

```
|| ( $this->databaseType == self::GEOIP_CITY_EDITION_REV0_V6 )
|| ( $this->databaseType == self::GEOIP_CITY_EDITION_REV1_V6 )
```
2016-06-21 18:15:17 -04:00
Claudio Sanches 78adee9dcb [2.6] [REST API] Fixed the type of the params from _product_attributes in the legacy endpoints too #11200 2016-06-21 18:52:40 -03:00
Claudio Sanches 43b4d1e5eb [2.6] [REST API] Fixed the type of the params from _product_attributes, closes #11200 2016-06-21 18:37:05 -03:00
Claudio Sanches 5a401236af [2.6] [REST API] Remove empty values from _default_attributes #11200 2016-06-21 18:09:22 -03:00
Job b7f72481b6 Merge remote-tracking branch 'woothemes/master' 2016-06-21 18:05:34 +02:00
Mike Jolley 1e70bc7172 Prevent get_terms returning duplicates.
@claudiosmweb
2016-06-21 13:19:49 +01:00
Mike Jolley b188ad8250 Fix product feed when using shop base 2016-06-21 12:46:39 +01:00
Mike Jolley 479a136edb Added view_admin_dashboard cap for disabling the admin access restriction in custom roles.
Closes #11198 @claudiosmweb
2016-06-21 11:18:14 +01:00
Mike Jolley 856b9514d7 Convert ellipsis to three periods when saving postcodes.
Fixes #11195
2016-06-21 10:57:03 +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
Claudio Sanches 1e0077dc6e Use same translation string for errors 2016-06-20 17:43:09 -03:00
Claudio Sanches 57e041a58f [2.6] [REST API] Fix warnings when product is not hierarchical, closes #11192 2016-06-20 17:29:56 -03:00
Claudio Sanches d117423f56 [2.6] [REST API] Fixed the schema for prices 2016-06-20 17:20:12 -03:00
Claudio Sanches e5b9bfa206 Update .codeclimate.yml 2016-06-20 17:08:16 -03:00
Claudio Sanches 1fb4474c85 Exclude js libs from code climate 2016-06-20 16:46:15 -03:00
Claudio Sanches 0b44630b28 Initial codeclimate file, closes #11196 2016-06-20 16:30:07 -03:00
Claudio Sanches 68e852094c [2.6] [REST API] Fixed the up link for variations 2016-06-20 16:03:30 -03:00
Claudio Sanches 11534cf457 [2.6] [REST API] Allow fetch, edit and delete a single product variation 2016-06-20 15:49:43 -03:00