woocommerce/plugins/woocommerce-blocks/tests/php/StoreApi/Routes
Paulo Arromba 678fa6bff0 Add: Cross-sells for the Store API Cart response. (https://github.com/woocommerce/woocommerce-blocks/pull/6635)
* Added Cross-sells object and schema for the API Cart response.

* Cross-sells are now WC_Product objects that pass through the visibility filter.

* Removed redundant check.

* Updated function doc comment.

* Cleaned up imports.

* Cross-sells item schema (extension of ProductSchema) was removed, and replaced by ProductSchema itself. Cross-sells are direct product representation, and extending this goes out of scope for the task at hand.

* Unit testing for cart response containing cross-sell products.
2022-07-13 15:02:49 +01:00
..
Batch.php Remove X- Prefixes from custom headers (https://github.com/woocommerce/woocommerce-blocks/pull/6020) 2022-03-11 12:07:08 +00:00
Cart.php Add: Cross-sells for the Store API Cart response. (https://github.com/woocommerce/woocommerce-blocks/pull/6635) 2022-07-13 15:02:49 +01:00
CartCoupons.php Remove X- Prefixes from custom headers (https://github.com/woocommerce/woocommerce-blocks/pull/6020) 2022-03-11 12:07:08 +00:00
CartExtensions.php Remove X- Prefixes from custom headers (https://github.com/woocommerce/woocommerce-blocks/pull/6020) 2022-03-11 12:07:08 +00:00
CartItems.php Remove X- Prefixes from custom headers (https://github.com/woocommerce/woocommerce-blocks/pull/6020) 2022-03-11 12:07:08 +00:00
Checkout.php Remove X- Prefixes from custom headers (https://github.com/woocommerce/woocommerce-blocks/pull/6020) 2022-03-11 12:07:08 +00:00
ControllerTestCase.php StoreAPI: Rename namespace to remove `\Blocks` (https://github.com/woocommerce/woocommerce-blocks/pull/5982) 2022-03-04 13:28:37 +00:00
ProductAttributeTerms.php StoreAPI: Rename namespace to remove `\Blocks` (https://github.com/woocommerce/woocommerce-blocks/pull/5982) 2022-03-04 13:28:37 +00:00
ProductAttributes.php StoreAPI: Rename namespace to remove `\Blocks` (https://github.com/woocommerce/woocommerce-blocks/pull/5982) 2022-03-04 13:28:37 +00:00
ProductCollectionData.php StoreAPI: Rename namespace to remove `\Blocks` (https://github.com/woocommerce/woocommerce-blocks/pull/5982) 2022-03-04 13:28:37 +00:00
Products.php Add Product endpoint to ExtendSchema (https://github.com/woocommerce/woocommerce-blocks/pull/6122) 2022-04-11 17:40:26 +01:00