Commit Graph

16495 Commits

Author SHA1 Message Date
Claudio Sanches cde356b259 Merge pull request #11261 from woothemes/fix-11245
Product coupon validation logic
2016-06-27 21:11:33 -03:00
Mike Jolley 2bbb1453fb External product SKU 2016-06-27 16:04:49 +01:00
Mike Jolley 48bba78cae Only apply new logic to product coupons 2016-06-27 15:58:08 +01:00
Mike Jolley 01b48e699a Fix exclude_product_ids prop 2016-06-27 15:02:58 +01:00
Mike Jolley 0ed58784fd Fix - add validate_excluded_items function to validate product coupons before applying them 2016-06-27 15:02:32 +01:00
Mike Jolley 8a46831eb1 Made coupon valid check more readable 2016-06-27 14:59:50 +01:00
Mike Jolley 931660038a Update debug mode wording
Closes #11258
2016-06-27 12:28:46 +01:00
Mike Jolley b1d4ce3276 Only show mysql notice if mysql in version string
Closes #11254
2016-06-27 12:23:47 +01:00
Mike Jolley 3ed7e3574a Merge pull request #11252 from jluisfreitas/patch-2
add PT (Portugal) postcode format
2016-06-27 11:53:05 +01:00
Mike Jolley 6898a79005 If the cart shortcode is used on checkout, hide the totals area 2016-06-27 11:42:50 +01:00
Mike Jolley f3932e1c9e Removes specificity of shop table rules and triggers different events if on checkout 2016-06-27 11:42:28 +01:00
Mike Jolley c54b704f19 Merge cart and checkout styles so it works when using shortcodes on same page 2016-06-27 11:42:01 +01:00
JLuis Freitas 977cd19e7a add PT (Portugal) postcode format 2016-06-25 15:05:39 +01:00
Claudio Sanches df075875b4 Improved wc_webhook_generate_secret() 2016-06-24 14:32:06 -03:00
Claudio Sanches 34a28d6841 [CLI] Allow filter the product variable types, closes #11240 2016-06-24 12:36:34 -03:00
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