woocommerce/plugins/woocommerce-blocks/docs/extensibility
Thomas Roberts 93b750ee19 Change `couponName` filter to `coupons` and update documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4312)
* Rework coupon filters to not be applied individually

* Add a `text` property to the coupons in the cart

This is needed to allow extensions to change the text without affecting the code.

* Output coupon text instead of code

* Add coupons filter documentation

* Add deprecation warning when extension uses couponName filter

* Change couponName filter to coupons

* Add label to Cart item definition

* Change coupon.text to coupon.label

* Update coupon.label in coupon aria-label

* Update image and coupon.text in docs

* Add filter registration example
2021-07-01 14:12:46 +01:00
..
README.md Add `IntegrationInterface` documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4394) 2021-06-25 09:13:44 +01:00
available-endpoints-to-extend.md Add ExtendRestAPI and SlotFills docs (https://github.com/woocommerce/woocommerce-blocks/pull/4208) 2021-06-18 23:32:19 +01:00
available-filters.md Change `couponName` filter to `coupons` and update documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4312) 2021-07-01 14:12:46 +01:00
available-slot-fills.md Add ExtendRestAPI and SlotFills docs (https://github.com/woocommerce/woocommerce-blocks/pull/4208) 2021-06-18 23:32:19 +01:00
checkout-flow-and-events.md Convert checkout state context provider to Typescript (https://github.com/woocommerce/woocommerce-blocks/pull/4200) 2021-05-18 10:37:31 +01:00
extend-rest-api-add-data.md Add ExtendRestAPI and SlotFills docs (https://github.com/woocommerce/woocommerce-blocks/pull/4208) 2021-06-18 23:32:19 +01:00
extend-rest-api-new-endpoint.md Add ExtendRestAPI and SlotFills docs (https://github.com/woocommerce/woocommerce-blocks/pull/4208) 2021-06-18 23:32:19 +01:00
integration-interface.md Add `IntegrationInterface` documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4394) 2021-06-25 09:13:44 +01:00
payment-method-integration.md Remove the need for the `canMakePayment` callback in the editor context (https://github.com/woocommerce/woocommerce-blocks/pull/4188) 2021-05-13 11:21:21 +01:00
slot-fills.md Add ExtendRestAPI and SlotFills docs (https://github.com/woocommerce/woocommerce-blocks/pull/4208) 2021-06-18 23:32:19 +01:00

README.md

Extensibility in WooCommerce Blocks

These documents are all dealing with extensibility in the various WooCommerce Blocks.

Checkout Block

Document Description
Payment Method Integration Information about implementing payment methods.
Checkout Flow and Events All about the checkout flow in the checkout block and the various emitted events that can be subscribed to.
Available Filters All about the filters that you may use to change values of certain elements of WooCommerce Blocks.
Exposing your data in the Store API. Explains how you can add additional data to Store API endpoints.
Available endpoints to extend with ExtendRestAPI. A list of all available endpoints to extend.
Adding an endpoint to ExtendRestAPI. A step by step process for contributors to expose a new endpoint via ExtendRestApi.
Slots and Fills. Explains Slot Fills and how to use them to render your own components in Cart and Checkout.
Available Slot Fills. Available Slots that you can use and their positions in Cart and Checkout.
IntegrationInterface The IntegrationInterface class and how to use it to register scripts, styles, and data with WooCommerce Blocks.