Commit Graph

27580 Commits

Author SHA1 Message Date
Manos Psychogyiopoulos 690c7a9753 Check if paying for an existing order before looking at cart contents
Resolves a bug causing this logic to ignore the `order-pay` query var presence if the cart is populated with items.
2018-01-25 16:42:54 +02:00
Manos Psychogyiopoulos d10987d813 Match saved (canonical) rate IDs against chosen rates
Generates canonical rate IDs (`method_id:instance_id`) from package rates and order shipping line items.

Requires https://github.com/woocommerce/woocommerce/pull/18483
2018-01-25 16:40:31 +02:00
Manos Psychogyiopoulos d86a948f04 Add method instances in COD, grouped by method 2018-01-25 16:37:10 +02:00
Manos Psychogyiopoulos 3dc5f2a277 Allow optgroup in settings multiselect fields 2018-01-25 16:35:30 +02:00
Alexander Minza 519bfadc63 Added support for additional HTML5 input types 2018-01-25 15:14:30 +02:00
Mike Jolley e2d553fb61
Merge pull request #18588 from woocommerce/fix/setup-wizard-copy-and-style-tweaks-for-wc-3-3
Setup wizard: various style and copy tweaks
2018-01-25 12:59:52 +00:00
Mike Jolley e85338d8d3 Import ratio from old settings 2018-01-25 12:34:28 +00:00
Alexander Minza 987616fdac Merge remote-tracking branch 'woocommerce/master' 2018-01-25 14:18:10 +02:00
Mike Jolley 9b155d53d4 Feedback; show panels at all times and redirect to store. 2018-01-25 11:48:45 +00:00
Mike Jolley 845c667e77 phpcs 2018-01-25 11:38:05 +00:00
Paul Dechov a2863156cc Tweak shipping service inner spacing 2018-01-25 01:03:52 -05:00
Paul Dechov 9f5f301aa4 Restore sizing of shipping service description 2018-01-25 00:39:23 -05:00
Paul Dechov 16430dfdaa Keep shipping service description in sync with selected value after refresh 2018-01-24 23:52:59 -05:00
Paul Dechov d4a8ef4da1 Align payment service setting checkboxes to top of their labels rather than bottom 2018-01-24 17:24:07 -05:00
Paul Dechov eff0b62391 Tweak shipping service styles towards original static design 2018-01-24 17:23:28 -05:00
Paul Dechov 25373cadee Tweak spacing of store setup step towards original static design 2018-01-24 17:21:04 -05:00
Claudiu Lodromanean b20f9e4985
Merge pull request #18585 from woocommerce/update/18561
Ensure customer id is not empty in cookie
2018-01-24 11:54:46 -08:00
Paul Dechov b8384aa4a3 Scope service name styles to avoid unintended sizing and positioning 2018-01-24 14:02:09 -05:00
Claudiu Lodromanean 1d3a642d59
Merge pull request #18584 from woocommerce/fix/18574
Add notice for moved product display settings
2018-01-24 09:29:13 -08:00
Mike Jolley db49d9acbc
Merge pull request #18577 from woocommerce/fix/note-metadata-keys
Order: Make note of two more meta keys that we store for an order.
2018-01-24 17:28:19 +00:00
Mike Jolley 03098e7435
Merge pull request #18583 from woocommerce/fix/18567
[REST API] Prevent errors when taxonomy is unregistered
2018-01-24 17:26:50 +00:00
Mike Jolley db73de335a Add notice for moved settings 2018-01-24 17:18:28 +00:00
Claudiu Lodromanean 17ac4f4b16
Merge pull request #18581 from jdeeburke/fix/order-number-escaping
Fix: use string escape for order numbers
2018-01-24 09:15:53 -08:00
Claudiu Lodromanean 1f72b8aa3e
Merge pull request #18582 from woocommerce/fix/18571
Make compound rates stack
2018-01-24 09:12:05 -08:00
Claudio Sanches 1cf8dc4232 Fixed coding standards warnings with PHPCBF 2018-01-24 15:09:50 -02:00
Claudio Sanches 75de578d38 Fixed coding standards errors 2018-01-24 15:07:51 -02:00
Claudio Sanches 4536afb47c [REST API] Prevent errors when taxonomy is unregistered
Closes #18567
2018-01-24 15:04:32 -02:00
Mike Jolley f91b733a0f Make compound rates stack 2018-01-24 16:26:44 +00:00
Claudio Sanches 61fc67b867 Fixed composer license syntax 2018-01-24 14:13:45 -02:00
Jared Burke 8c62d76aee Fix: use string escape for order numbers 2018-01-24 09:45:35 -06:00
Paul Dechov 98fe2c7c3e Remove newline and whitespace from dropdown option tooltips 2018-01-24 10:31:16 -05:00
Paul Dechov 5cc6a589ab Make step navigation take up full width, even if there are fewer than 5 2018-01-24 10:29:44 -05:00
Mike Jolley c27df5833f
Merge pull request #18556 from woocommerce/tweak/hook-on-order-recalculation
Add action to hook onto for order recalculation
2018-01-24 09:06:39 +00:00
Boro Sitnikovski e684afc5e6 Update name 2018-01-24 08:46:26 +01:00
Peter Westwood 0b19427d1d Order: Make note of two more meta keys that we store for an order. 2018-01-23 19:27:20 -07:00
Steve Grunwell 16b59b60a0 Merge branch 'master' into feature/post-system-status-tool-hook 2018-01-24 01:45:44 +00:00
Paul Dechov e5d00fa98e Fix payment addons link again 2018-01-23 18:25:44 -05:00
Paul Dechov 6dfcdab1bc Remove margin before service settings, as margin now follows content above 2018-01-23 18:23:46 -05:00
Paul Dechov 7f973c2c79 Tweak Activate step lower heading to reflect listing of features of above 2018-01-23 18:20:47 -05:00
Paul Dechov 591dd9ec2d Clarify 'payments' (in WCS feature list) to 'payment setup' 2018-01-23 18:19:12 -05:00
Paul Dechov 4eb1c182b2 Point PPEC extension link to woocommerce.com instead of wordpress.org 2018-01-23 18:16:33 -05:00
Mike Jolley bd27409312
Merge pull request #18550 from shoheitanaka/patch-9
Correction of English spelling of prefectures
2018-01-23 16:29:26 +00:00
Claudiu Lodromanean 5f613656af
Merge pull request #18564 from woocommerce/fix/18501
Move custom image sizes registration to the init hook
2018-01-23 08:17:20 -08:00
Claudiu Lodromanean 3bfa3b29a9
Merge pull request #18565 from woocommerce/fix/18558
Use only review count
2018-01-23 08:08:43 -08:00
Mike Jolley 42b1ab50c0 Ensure customer id is not empty in cookie 2018-01-23 13:36:53 +00:00
Mike Jolley 1c92b970a9 Use only review count
Closes #18558
2018-01-23 11:03:30 +00:00
Tiago Noronha 149ff95e8a Move custom image sizes registration to the init hook 2018-01-23 12:56:37 +02:00
Mike Jolley ac0a23862f
Merge pull request #18560 from james-allan/3_3_set_paypal_api_credentials
On 3.3 upgrade set PayPal sandbox API credentials
2018-01-23 10:38:56 +00:00
James Allan b2510773b1 On 3.3 upgrade set PayPal sandbox API credentials 2018-01-23 12:53:17 +10:00
Rodrigo Primo 1195cf9eee Improve WC_Customer_Download_Data_Store::get_downloads() performance
This commit improves WC_Customer_Download_Data_Store::get_downloads() performance by changing the way the SQL query is built. Before this change, this method would get all table fields even when just the permission_id field is returned. Now the method will get from the database only the fields that will be returned. The fields retrieved from the database can be controlled using the parameter `$args['return']`:

- 'objects' (default): all fields are retrieved from the database and an array of WC_Customer_Download objects is returned.
- 'ids': gets and return only permision_ids
- comma separated list of fields (new option added by this commit): gets and return only the required fields. Examples: 'user_email,download_id,order_id' or 'order_id,download_count'.
2018-01-22 17:25:26 -02:00