a1695861f2
* add min and step to Store API * add min and step support * typo * Update assets/js/base/components/quantity-selector/index.tsx * Update assets/js/base/components/quantity-selector/index.tsx * Fix debounce callback * Style qty input to show steps * Implement quantity_limits in API * Quantity validation * Update product API * Normalize on + - * Separate add to cart events from cart item events in regards to limits * Prevent qty change for editable line items * Unify filters * Remove step number indicator from buttons ¯\_(ツ)_/¯ * Normalize on mount * Update docs Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
actions.md | ||
available-endpoints-to-extend.md | ||
available-filters.md | ||
available-slot-fills.md | ||
checkout-flow-and-events.md | ||
dom-events.md | ||
extend-rest-api-add-data.md | ||
extend-rest-api-formatters.md | ||
extend-rest-api-new-endpoint.md | ||
extend-rest-api-update-cart.md | ||
filtering-payment-methods.md | ||
filters.md | ||
integration-interface.md | ||
payment-method-integration.md | ||
slot-fills.md |
README.md
Extensibility in WooCommerce Blocks
These documents are all dealing with extensibility in the various WooCommerce Blocks.
Table of Contents
Hooks (actions and filters)
Document | Description |
---|---|
Actions | Documentation covering action hooks on the server side. |
Filters | Documentation covering filter hooks on the server side. |
REST API
Document | Description |
---|---|
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. |
Available Formatters | Available Formatters to format data for use in the Store API. |
Checkout Payment Methods
Document | Description |
---|---|
Checkout Flow and Events | All about the checkout flow in the checkout block and the various emitted events that can be subscribed to. |
Payment Method Integration | Information about implementing payment methods. |
Filtering Payment Methods | Information about filtering the payment methods available in the Checkout Block. |
Checkout Block
In addition to the reference material below, please see the block-checkout
package documentation which is used to extend checkout with Filters, Slot Fills, and Inner Blocks.
Document | Description |
---|---|
IntegrationInterface | The IntegrationInterface class and how to use it to register scripts, styles, and data with WooCommerce Blocks. |
Available Filters | All about the filters that you may use to change values of certain elements of WooCommerce Blocks. |
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. |
DOM Events | A list of DOM Events used by some blocks to communicate between them and with other parts of WooCommerce. |