Commit Graph

28055 Commits

Author SHA1 Message Date
Peter Fabian 3af9c1e95b Merge branch 'master' into fix/20349
# Conflicts:
#	tests/framework/helpers/class-wc-helper-product.php
#	tests/unit-tests/api/products.php
2018-07-09 18:18:06 +02:00
Peter Fabian 2839dba7d2 Switched implementation of variation query parameters in the API from SQL query adjustment to one extra parent query. 2018-07-09 17:14:12 +02:00
Peter Fabian 4a42e2a7fc Added unit tests for query params for variations REST API endpoint. 2018-07-09 17:12:23 +02:00
Peter Fabian 55d7ea4ac5 Improved unit tests for products REST API endpoint. 2018-07-09 17:11:50 +02:00
Gerhard Potgieter 56a9799e6d
Merge pull request #20654 from woocommerce/update/get-terms
Custom tables - remove get terms
2018-07-09 15:27:26 +02:00
Claudiu Lodromanean 404fbca655
Merge pull request #20722 from woocommerce/tweak/image-size-filters
Add image size filters to wc_get_product_attachment_props()
2018-07-06 09:38:39 -07:00
Claudiu Lodromanean 9792f3399e
Merge pull request #20706 from woocommerce/fix/20705
Fixed Webhooks and REST API Keys list table and settings
2018-07-06 09:26:44 -07:00
Claudiu Lodromanean 2895c1cbca
Merge pull request #20704 from woocommerce/update/obw-paypal-express-checkout-name-change
OBW: Change name of PayPal Express Checkout gateway to match rebranding
2018-07-06 09:13:58 -07:00
Claudiu Lodromanean 8ba3c4e2e5
Merge pull request #20655 from woocommerce/fix/20640
Removed unnecessary form change trigger on load of checkout page.
2018-07-06 09:13:06 -07:00
Tiago Noronha fda124147b phpcs 2018-07-06 16:36:19 +01:00
Tiago Noronha 9970f1799a Add image size filters to wc_get_product_attachment_props() 2018-07-06 16:35:43 +01:00
Peter Fabian 6c70064a82 Added test products API for product tag and attributes query parameters. 2018-07-06 16:57:40 +02:00
Peter Fabian e769029af6 Make create_attribute function for PHPUNIT more versatile by removing hardcoding. 2018-07-06 16:08:32 +02:00
Peter Fabian 1091eb5feb PHPCS corrections. 2018-07-06 16:01:49 +02:00
Peter Fabian fe77b9e54f Fixed the variation product helper in unit tests.
Previously, the variable product had 2 variations, but one of them had a term assigned ('large') that wasn't assigned to the parent product. Normally, when variable product is created, parent has all the terms assigned to its children assigned.
2018-07-06 16:00:59 +02:00
Peter Fabian 9c420125a3 Added tests for API query parameters for products endpoint. 2018-07-06 12:58:57 +02:00
Claudio Sanches b044e4c46d Fixed missing bulk action notices for REST API keys 2018-07-04 16:24:27 -03:00
Claudio Sanches 5d3653b8ca Fixed message when save REST API keys 2018-07-04 16:13:25 -03:00
Claudio Sanches 8f3af95004 Fixed revoke key bulk action 2018-07-04 16:09:04 -03:00
Claudio Sanches 44f081ac7e Prevents save notice in keys table list 2018-07-04 16:07:17 -03:00
Claudio Sanches 1cf0c78beb Prevents "Your settings have been saved." notices on the table list 2018-07-04 16:04:47 -03:00
Claudio Sanches 7e94f45f12 Custom search box 2018-07-04 15:43:31 -03:00
Claudio Sanches 3774a05077 Only use "post" in list table 2018-07-04 15:43:13 -03:00
Claudio Sanches 2a0a826be1 Fixed form parameters for webhooks and keys admin forms
Fixes #20705
2018-07-04 15:30:08 -03:00
Paul Dechov adceaffaa2 OBW: Change name of PayPal Express Checkout gateway to match rebranding 2018-07-04 10:46:19 -04:00
Claudiu Lodromanean 7b56840f36
Merge pull request #20695 from woocommerce/fix/20684
Check if $_POST['store_state'] is set before using it
2018-07-03 11:11:16 -07:00
Claudiu Lodromanean 78015f7265
Merge pull request #20690 from woocommerce/fix/20677
Add ajax-add-to-cart class to button only if product can be purchased.
2018-07-03 11:02:44 -07:00
Claudiu Lodromanean 8cf0d9c2e8
Merge pull request #20687 from LiamMcArthur/patch-1
Disable autocomplete from report date inputs #20683
2018-07-03 10:52:37 -07:00
Claudiu Lodromanean 06b749edeb
Merge pull request #20665 from woocommerce/fix/20656
Store name and other data to customer session during checkout
2018-07-03 10:30:31 -07:00
Claudiu Lodromanean 4036e15cac
Merge pull request #20664 from woocommerce/fix/20659
Reveal attribute row when adding it.
2018-07-03 10:14:13 -07:00
Claudiu Lodromanean 233b839908
Merge pull request #20678 from maciekpaprocki/patch-1
Wrong php doc for get_cart_contents()
2018-07-03 10:11:40 -07:00
Claudiu Lodromanean 98b3b6305d
Merge pull request #20661 from woocommerce/fix/16620
Use view context so true is not returned if parent is stock managed and not the variation
2018-07-03 10:08:47 -07:00
Rodrigo Primo 7cdcae5bff Check if $_POST['store_state'] is set before using it
Fixes #20684
2018-07-03 09:48:35 -03:00
Rodrigo Primo a106b324bf Ignore specific PHPCS rules instead of all rules 2018-07-03 09:42:59 -03:00
Peter Fabian 5459d1149d Add ajax-add-to-cart class to button only if product can be purchased. 2018-07-02 18:58:42 +02:00
Liam McArthur 0ddb61273c
Disable autocomplete from date inputs
Disabling autocomplete from these date inputs prevents browser autocomplete from overlaying datepicker.
2018-07-02 15:55:26 +01:00
Peter Fabian 35401d9aab Merge branch 'master' into fix/20640 2018-07-02 11:33:49 +02:00
maciekpaprocki db403b2805
Wrong php doc for get_cart_contents() 2018-07-01 18:12:04 +01:00
Claudiu Lodromanean 5e1e8a36a5
Merge pull request #20650 from woocommerce/fix/20641
Hide preview button
2018-06-29 13:34:55 -07:00
Rodrigo Primo 663a04dfbf
Merge pull request #20663 from woocommerce/fix/20652
Check shipping total for 0 using correct type
2018-06-29 10:48:53 -03:00
Mike Jolley fe25006fa1 Store name and other data to customer session during checkout 2018-06-29 12:42:10 +01:00
Mike Jolley 7f593835a4 Reveal row when adding 2018-06-29 12:11:33 +01:00
Mike Jolley ddb779e917 Check type correctly 2018-06-29 11:22:03 +01:00
Mike Jolley b3b03755d7 update selector 2018-06-29 11:16:44 +01:00
Mike Jolley 4ac235a6e5 Use view context so true is not returned if parent is stock managed and not the variation. 2018-06-29 10:37:56 +01:00
Claudiu Lodromanean 920eb551a6
Merge pull request #20644 from woocommerce/update/dynamic-placeholders
Make placeholders resize based on aspect ratio settings
2018-06-28 12:01:28 -07:00
Peter Fabian 11da1898b8 Removed unnecessary form change trigger on load of checkout page. 2018-06-28 18:12:04 +02:00
Mike Jolley 1852672761 Allow access to list table 2018-06-28 16:39:27 +01:00
Mike Jolley 46141595d4 Remove term usage 2018-06-28 16:39:07 +01:00
Mike Jolley 3174aff57f Hide preview button 2018-06-28 14:59:04 +01:00