Commit Graph

37838 Commits

Author SHA1 Message Date
Ron Rennick 9bb3bc6a10 remove price from base product data 2021-02-26 17:19:54 -04:00
Ron Rennick e677380094 add base variable product support to api package 2021-02-26 17:07:40 -04:00
roykho 503a218e85
Revert "Flush term cache when saving product and settings closes #25375"
This reverts commit 8b0915c4e0.
2021-02-26 12:42:23 -08:00
Roy Ho f6d77c206d
Merge pull request #29228 from woocommerce/fix/28238
Update default GIT branch
2021-02-26 11:59:09 -08:00
Ron Rennick 5f6e814d38 complete price property breakout with 3 product types 2021-02-26 14:52:58 -04:00
Ron Rennick 07c4697068 use product URL functions when creating rest repositories 2021-02-26 14:20:37 -04:00
Ron Rennick e3f4e3b0d5 merge trunk 2021-02-26 13:51:42 -04:00
Greg bc9e3bf3ff
Merge pull request #29198 from woocommerce/fix/28885
Add external product support to api package
2021-02-26 09:16:02 -07:00
Ron Rennick 533feb7713 add product variation class to api package 2021-02-26 11:38:12 -04:00
Vedanshu Jain 422002a2a8
Merge pull request #29200 from woocommerce/fix/upgrade-notices-major-version
Remove compatibility checks for major version
2021-02-26 14:55:30 +05:30
Vedanshu Jain 8905b52245
Merge pull request #29172 from woocommerce/update/5.2-dev
Prepare default branch for 5.2-dev
2021-02-26 14:40:56 +05:30
Warren Wang d6b2e91c9d Minor adjustments to fit coding standards
Added periods to comments and proper spacing and capitalization to comments.
2021-02-26 13:45:20 +08:00
Rebecca Scott d03f4fef79 Bump woocommerce-admin version to 2.0.2 2021-02-26 10:06:59 +10:00
Claudio Sanches d6e3cf6de9 Update default GIT branch 2021-02-25 20:51:14 -03:00
Timmy Crawford 64e934e79b Remove debug code in tests. 2021-02-25 15:19:27 -08:00
Timmy Crawford 5cf3c6be8c Fix tests. 2021-02-25 15:19:27 -08:00
Timmy Crawford c7a19b538a Updates per feedback. 2021-02-25 15:19:27 -08:00
Timmy Crawford 47a3d1bfb3 Tracker: Add tracking of woocommerce_admin_disabled usage. 2021-02-25 15:19:27 -08:00
Claudio Sanches 23710744c0
Merge pull request #29208 from woocommerce/fix/add-to-cart-variation-id
Validate variation ID while adding products to the cart
2021-02-25 19:13:32 -03:00
Barry Hughes 94ed76a2f2
Update assets/js/frontend/geolocation.js (fix coding standards)
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:55 -08:00
Barry Hughes 5380d119ce
Update assets/js/frontend/geolocation.js (fix coding standards)
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:46 -08:00
Greg 7a10ca652b
Merge pull request #28631 from woocommerce/add/e2e-merchant-orders-view-update
Add e2e tests for merchant edit order flows
2021-02-25 11:20:36 -07:00
Tam Mullen 651bcb070a Updated core test changelog 2021-02-25 15:00:30 +00:00
Tam Mullen b6c4623057 Added tests for the merchant view order, update order status and update order details flows. 2021-02-25 15:00:30 +00:00
Tam Mullen 87aee208b6 Updated test comments and assertions based on feedback 2021-02-25 14:56:53 +00:00
Tam Mullen 502396ee00 Updated core test changelog 2021-02-25 14:56:53 +00:00
Tam Mullen 2e736d3e74 Updated from using StoreOwnerFlow to merchant 2021-02-25 14:56:53 +00:00
Tam Mullen 427225a3e1 Added tests for the merchant view order, update order status and update order details flows. 2021-02-25 14:56:53 +00:00
Peter Fabian 47bfca58b0
Merge pull request #29052 from woocommerce/add/install_wcpay_addon_tracks
Add tracks event for WooCommerce Payments install via wc-addons page
2021-02-25 15:04:36 +01:00
louwie17 893fe6cc24
Merge pull request #29149 from woocommerce/update/28569_status_widget_net_sales_link
Woocommerce dashboard status widget net sales link and logic
2021-02-25 09:09:29 -04:00
Warren Wang 8605ada7cf Fix for issue #27553
REST API v3 shipping method zone endpoint input payload not allowing settings type to be of type `class` or `order`. Added missing item schema.
2021-02-25 18:01:49 +08:00
Ron Rennick 8b9e1701e1 add grouped product to e2e configuration 2021-02-24 15:48:27 -04:00
Ron Rennick 898e8a3a93 add grouped product test for api package 2021-02-24 15:16:38 -04:00
Ron Rennick 1b7e6933c6 add support for grouped product to api package 2021-02-24 10:29:02 -04:00
Peter Fabian 8566a79da0 Pull out the constant to a globally accessible place so that it can be reused. 2021-02-24 14:29:45 +01:00
Claudio Sanches e2478b7c76 Use product already loaded 2021-02-23 21:10:34 -03:00
Claudio Sanches c86b0c578a Fixed copy and paste 2021-02-23 19:55:54 -03:00
Tam Mullen 65443d923b
Merge pull request #29092 from woocommerce/add/e2e-shopper-variable-product-updates
Added new tests for Shopper / Product / Variable Product Info updates depending on variation
2021-02-23 21:43:31 +00:00
Ron Rennick 9cf001e403 separate price properties in api package 2021-02-23 16:44:36 -04:00
Ron Rennick ddcb8ed744
Merge pull request #29207 from Marcuzz/fix/e2e-env-custom-init-file
Only use customInitFile in e2e-environment if it's a string
2021-02-23 15:39:27 -04:00
Claudio Sanches 76e1ba4bf0 Validate variation ID while adding products to the cart 2021-02-23 16:27:57 -03:00
Marcus 3201a99995 fix: only use customInitFile in e2e if it's a string
in WSL2 the second argument is an instance of Command and can not be used with path.resolve
2021-02-23 20:12:51 +01:00
Ron Rennick 404e3aeb7c update changelog, remove sale price from test 2021-02-23 14:44:47 -04:00
Peter Fabian 313ea8541c Remove compatibility checks for major version.
In addition to #28840, there are other places where we make use of compatibility check with major versions. I've discovered 2:
- update through /wp-admin/update-core.php
- force disabling auto-updates if there are any extensions that haven't declared their compatibility with WC 5.0

This change updates both places to be in line with the changes done in #28840.
2021-02-23 13:27:06 +01:00
Peter Fabian 35d4ee4073
Merge pull request #28699 from woocommerce/fix/absolute-download-paths
Prevent local relative downloadable products to be treated as "absolute"
2021-02-23 11:50:34 +01:00
Ron Rennick dcb76a3047 use common buildURL function 2021-02-23 04:52:43 -04:00
Ron Rennick 116dccd12a add basic external product api test 2021-02-23 04:17:45 -04:00
Moon 5c99233905 Minor fixes
* Removed extra double quotation from the image tag

* Fixed typo in the init() method

* Moved init() method body into the constructor -- a separate method is not necessary
2021-02-22 20:33:02 -08:00
Rasmy Nguyen 7a4b54ad38 Add section to tracks event props
This adds the Extenstions tab to the event props so we can determine
which tab merchants are installing wcpay from.
2021-02-23 12:25:40 +09:00
Rasmy Nguyen cbb1a540bd Change hook name and add id param to track method
This changes the addon install hook to match the other hooks in the
extensions tracking class. This also adds an addon_id param to the
callback associated with this hook so we can extend this to other
plugins in the future.
2021-02-23 11:34:28 +09:00