Claudiu Lodromanean
700460d925
Merge pull request #15211 from woocommerce/fix/15002
...
Zones API changes for zone 0
2017-05-22 11:12:59 -07:00
Mike Jolley
2a51aa2020
Update jquery payment to v3
2017-05-22 16:37:08 +01:00
Mike Jolley
c0e7c2f517
Merge pull request #15173 from woocommerce/fix/15158
...
Always sync incorrect titles on variation read regardless of version
2017-05-22 16:20:55 +01:00
Mike Jolley
b1bf3278a7
Prevent zone 0 having locations set in CRUD
2017-05-22 15:19:15 +01:00
Mike Jolley
8cba7db7cd
Prevent zone 0 name being changed
2017-05-22 15:19:04 +01:00
Mike Jolley
a826b363d8
Prevent zone 0 locations being changed
2017-05-22 15:18:55 +01:00
Mike Jolley
d1b49888f2
Missing variable in legacy API
...
Fixes #15203
2017-05-22 13:25:33 +01:00
Mike Jolley
fc8100877c
Undo change
2017-05-22 12:19:54 +01:00
Mike Jolley
a15fffb945
Merge pull request #15204 from ughimire/nepali-zones
...
Tweak - Nepali zone name update
2017-05-22 12:18:35 +01:00
Umesh Ghimire
b026e9839c
Tweak - Nepali zone name update
2017-05-22 14:14:07 +05:45
Mike Jolley
eae2fb64c8
Group by term ID to prevent duplicates
...
Fixes #14861
2017-05-19 15:27:57 +01:00
Mike Jolley
2082d84e4d
Always sync incorrect titles on variation read regardless of version
...
For #15158
2017-05-19 11:28:13 +01:00
Mike Jolley
47d7fedff8
Correct price query when on a post type archive
...
Fixes #15166
2017-05-19 11:19:30 +01:00
Mike Jolley
067489b155
Cancelled email should be send for processing orders, not pending.
...
Fixes #15163
2017-05-19 10:45:26 +01:00
Mike Jolley
9f4b29a677
Merge pull request #15153 from woocommerce/tweak/15104
...
Check if subtotal is blank, not empty
2017-05-18 16:50:26 +01:00
Claudiu Lodromanean
0132a29c18
Merge pull request #15152 from woocommerce/fix/15127
...
Handle shipping item taxes if set to avoid the legacy fallback
2017-05-18 08:28:02 -07:00
Claudiu Lodromanean
b5b76a428f
Merge pull request #15151 from woocommerce/fix/15145
...
Fix stock/backorder notice when stock management is disabled
2017-05-18 08:24:04 -07:00
Mike Jolley
64bcef0722
Merge pull request #15148 from woocommerce/fix/15115
...
Variations should inherit purchase_note from parent.
2017-05-18 16:08:03 +01:00
Mike Jolley
8dbf41994b
Check if subtotal is blank, not empty
...
Closes #15104
2017-05-18 15:59:07 +01:00
Mike Jolley
56a3b31e68
Handle shipping item taxes if set to avoid the legacy fallback
...
Fixes #15127
2017-05-18 15:48:42 +01:00
Mike Jolley
89ece25a32
Fix stock/backorder notice when stock management is disabled
...
Fixes #15145
2017-05-18 15:28:38 +01:00
Mike Jolley
c3c966b5fd
Add handles so drag and drop does not break edit on mobile
...
Fixes #15118
2017-05-18 15:22:12 +01:00
Mike Jolley
eb147197a2
Variations should inherit purchase_note from parent.
...
Fixes #15115
2017-05-18 14:47:00 +01:00
Mike Jolley
cac5b33553
Merge pull request #14639 from atimmer/stories/webhook-public-build_payload
...
Change build_payload from private to public
2017-05-18 13:15:53 +01:00
Mike Jolley
ebfe8fec65
Merge pull request #14953 from pixedelic/master
...
added filters on zoom / flexslider / photoswipe enabling
2017-05-18 13:14:14 +01:00
Timon Davis
af308da6b9
Fix bug #15103 where site operator cannot assign a variation with value of '0' as the default choice on the customer facing form.
...
The WC_Product::set_default_attributes function uses an array_filter (using the default callback for filtration)
to remove null and false values from the defaults array for a given product. The issue here is that, in the above use case,
the array_filter will evaluate '0' as 0 and therefore as false. Ultimately, array_filter then prevents the value from being
recorded, moving forward.
I've added a new filter callback to includes/wc-attribute-functions which will disregard all FALSE PHP equivalents except for
'0' (as a a string). Also, I've updated the filter_array call in WC_Product::set_default_attributes so that it uses this new callback,
instead of the PHP default. Finally, I've added a phpunit test to assert that, when storing default variations / attributes on a product,
the false/true PHP synonyms are evaluating and storing like one would normally expect, with the exception that (string) '0'
evaluates as true in this special case.
This solution could potentially be broadened to facililate similar rules elsewhere, but the need raised in the bug is specific and
this is a specific solution.
2017-05-18 02:43:14 -07:00
Mike Jolley
05eeab33b8
Merge pull request #15142 from woocommerce/fix/phpdoc-info-logging
...
Rename `informational` to `info` in the phpdoc
2017-05-18 10:41:28 +01:00
Boro Sitnikovski
d302e18a9b
Rename `informational` to `info` in the phpdoc
2017-05-18 10:32:25 +02:00
Claudio Sanches
f5bda12e42
Merge pull request #15126 from woocommerce/fix/15111
...
Fix shop page when using shop base and UTF8 shop page slug
2017-05-17 14:22:57 -03:00
Mike Jolley
e23acb3719
Fix shop page when using shop base and UTF8 shop page slug
...
To test, set shop page slug and name to `חנות` then set permalinks to
shop base.
Repeat that before and after patch.
Shop page 404 errors before patch.
Fixes #15111
2017-05-17 18:13:32 +01:00
Mike Jolley
956b1a6181
Adds storefront/theme step to the setup wizard
...
Also includes a background install to get Storefront installed and
activated on demand.
To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
Beka Rice
8885d58799
Fix: Re-add date for wc_create_refund
2017-05-17 04:46:56 -04:00
Mike Jolley
34a7f9b3dd
Merge pull request #15084 from ryelle/add/profile-field-improvements
...
Customer Profiles: copy billing address to shipping address
2017-05-16 20:31:05 +01:00
Kelly Dwan
3cb3a1b085
Style & escaping fixes, based on review feedback
2017-05-16 14:01:14 -04:00
Mike Jolley
7205a8e020
Merge pull request #15090 from woocommerce/fix/14763
...
Use site locale for customer emails.
2017-05-16 17:27:39 +01:00
Claudio Sanches
f471a8d846
Merge pull request #15098 from woocommerce/fix/15087
...
If backorders are enabled, do not make variable products out of stock.
2017-05-16 12:45:10 -03:00
Claudio Sanches
21baa5d230
Merge pull request #15095 from woocommerce/fix/15056
...
Support searches < 3 chars but with limiting.
2017-05-16 12:44:04 -03:00
Claudio Sanches
f7c26dee7b
Merge pull request #15079 from woocommerce/fix/settings-api-base-location
...
Fix 'base location' not being returned via the settings API.
2017-05-16 12:41:28 -03:00
Claudio Sanches
d6e43ddbe1
Merge pull request #15078 from woocommerce/fix/restore-empty-checkout-data-only
...
When re-filling fields on checkout, only change the empty ones.
2017-05-16 12:39:28 -03:00
Claudio Sanches
8a987ec822
Merge pull request #15072 from woocommerce/fix/15057
...
Make calculate tax function clear taxes if disabled on recalculation
2017-05-16 12:38:41 -03:00
claudiulodro
73b7b2d91b
Typo
2017-05-16 06:31:52 -07:00
Mike Jolley
2774c8dc28
Merge pull request #15029 from vinoddalvi/master
...
Resolved the issue - Allow linking to single product additional_information tab from url hash #15016
2017-05-16 13:09:21 +01:00
Mike Jolley
cb76f38f11
If backorders are enabled, do not make variable products out of stock.
...
Fixes #15087
2017-05-16 13:06:38 +01:00
Mike Jolley
351b0e0c67
Support limiting in search_customers
2017-05-16 10:16:57 +01:00
Mike Jolley
bf613bc922
Limit results to 20 for short strings and allow < 3 chars
2017-05-16 10:16:04 +01:00
Mike Jolley
59e9477730
Merge pull request #15094 from bekarice/fix/php-fatal-undefined-function
...
Fix Fatal Error: undefined function
2017-05-16 09:34:38 +01:00
Mike Jolley
7ad295d64d
Merge pull request #15076 from woocommerce/feature/14385
...
Show login form on the "pay for order" step
2017-05-16 09:31:53 +01:00
Beka Rice
562c50a3b0
Fix Fatal Error: undefined function
2017-05-16 04:04:47 -04:00
claudiulodro
46b9190c9f
Remove extra restore_locale
2017-05-15 18:11:23 -07:00
claudiulodro
19047ffb00
Better way of doing it
2017-05-15 18:09:24 -07:00