Commit Graph

21100 Commits

Author SHA1 Message Date
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
Kelly Dwan 684ae9c86c Run grunt 2017-05-15 18:00:29 -04:00
claudiulodro 838b175f67 Use store language in customer emails 2017-05-15 14:34:37 -07:00
Kelly Dwan ce06a92e57 Profiles: Add get_user_meta helper, which can fall back on core user fields when applicable, such as first_name, last_name, and email for billing fields. 2017-05-15 17:10:31 -04:00
Kelly Dwan faea811a92 Customer profile: Add a “Copy from billing” button to shipping user meta fields 2017-05-15 17:09:02 -04:00
Claudiu Lodromanean 05132f724c Merge pull request #15067 from woocommerce/fix/15047
$post global is not required in meta box callback
2017-05-15 10:35:07 -07:00
Justin Shreve 0c5588aac7 Makes sure that the 'base location' setting is returned to the /settings/general endpoint correctly. It uses a special setting type that the API didn't handle properly. 2017-05-15 10:21:06 -07:00
Mike Jolley 438e1aeeea When re-filling fields on checkout, only change the empty ones. 2017-05-15 17:59:22 +01:00
Mike Jolley cfce278840 If logged out, show a form on the payment step so the customer can login.
Closes #14385

To test, create an order pending payment for a USER. If you use the
‘payment’ link on the edit order screen logged out you should see a
login form.

If you create an order and associate no user account, no form should be
shown and you don’t need to login.
2017-05-15 16:53:06 +01:00
Mike Jolley f79b3e6a21 Readme 2017-05-15 16:51:22 +01:00
Mike Jolley dd798d219e Make calculate tax function clear taxes if disabled on recalculation
Fixes #15057
2017-05-15 14:55:39 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Mike Jolley 31651e41cb Merge pull request #15063 from rasmusbe/unused-vars
Remove unused local variables
2017-05-15 12:45:54 +01:00
Rasmus Bengtsson 4a3902cd48 PHPDoc: Add missing throws statement 2017-05-15 13:39:03 +02:00
Rasmus Bengtsson 4f00d7e5e3 PHPDoc: Add missing return statement 2017-05-15 13:37:59 +02:00
Mike Jolley 87b66cec90 Merge pull request #15061 from rasmusbe/fix-array-duplicates
Remove duplicate entries from defined arrays
2017-05-15 12:33:20 +01:00
Mike Jolley 7c63c21eaf $post global is not required in meta box callback
Fixes #15047
2017-05-15 12:29:11 +01:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Mike Jolley 99e63a8ca9 Merge pull request #15054 from woocommerce/improvement/14795
Integrate WC_Order_Query
2017-05-15 10:24:47 +01:00
Rasmus Bengtsson 51fd482206 Remove duplicate entries from defined arrays 2017-05-15 10:48:02 +02:00
claudiulodro 9e9b9b86ba Cant use empty check in customer query var 2017-05-14 17:05:46 -07:00
claudiulodro cec2c3b7dc Couple requested changes 2017-05-13 12:22:22 -07:00
claudiulodro d9c5536cf2 formatting 2017-05-12 15:31:34 -07:00
claudiulodro fe40e9b96a Make date queries work properly 2017-05-12 15:25:15 -07:00
claudiulodro 5b578c389f Use previous filter name 2017-05-12 13:14:52 -07:00
claudiulodro eee2ef82e8 Deprecate ->get_orders 2017-05-12 13:06:17 -07:00
claudiulodro 2ce90b3eb6 Slightly better date handling 2017-05-12 12:59:54 -07:00
Mike Jolley 0334ed255a Merge pull request #15041 from woocommerce/fix/14985-address
Update all customer fields when updating via checkout
2017-05-12 19:48:20 +01:00
Mike Jolley 5e9f908df7 Merge pull request #15051 from reescott/fixlogtable
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
claudiulodro 3861e32803 Migrate wc_get_orders 2017-05-12 11:45:01 -07:00
Scott Rees b7b75c83f7 Fix #14967 by adding log_id as the secondary sorting column to log list. 2017-05-12 10:22:31 -07:00
Claudio Sanches a273deffcb Merge pull request #15042 from woocommerce/fix/14978
Ensure get_plugin_updates exists
2017-05-12 13:40:54 -03:00
Mike Jolley 3d7533e02b Correct variable name 2017-05-12 12:09:05 +01:00