9b8256cc3e
* Add new buttonAttributes API to style express checkout buttons coherently (#47899) * Expose buttonAttributes to the express payment methods * Add size and label attributes to the express checkout area * Remove defaultHeight * default button Label * Remove the button label attribute * Remove px from height * Change large button height to 55px * Load express checkout block with attributes * Add toggle and borderRadius controls and remove getting border radius from the theme * Remove extra border radius text * Only pass buttonAttributes if toggled on * Move express payment block attribute logic into a Provider * Tidy up editor grid and parse attributes into context on frontend * Add px to border-radius input * Express payment methods not selectable * Add a test * lint fixes * default button height is 48 not 4 * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Update docs * Add tests for express payment methods * Center images within the express payment area in the editor * Apply the buttonAttributes to the li container in the editor regardless of showButtonStyles * Fix style issue * fix linting * fix lint again * Update manifest * Update docs manifest * Resize images in editor * lint fix --------- Co-authored-by: github-actions <github-actions@github.com> * Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce * Synchronise the express payment settings between the Cart & Checkout blocks (#50688) * Add express payment methods to sidebar * Only add extra props for express payment methods * Update docs * Make title, description and gatewayId types optional * Update docs * Fix types again and editor side * Add changefile(s) from automation for the following project(s): woocommerce-blocks * handle situation when no methods are active * Update manifest * Add express payment methods to inspector controls for express checkout block (#50983) * Remove forced styles on the editor * Remove the darkMode setting from the buttonAttributes API (#51109) * Remove darkMode from the buttonAttributes API * Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce --------- Co-authored-by: github-actions <github-actions@github.com> * Accept supports declarations for express payment style controls + merchant ux improvements in the editor (#51296) * Fix images in editor displaying weird * Fix long express payment names breaking layout * Default to uniform styles off * Use heightControl for border radius and fix height for cart buttons * Move formatting title and description to the config validation * Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce * Fix linting * Fix failing test * Add back the 48px height for images in editor * Fix linting again * Update docs * Update docs manifest * Update docs to fix linting * Add comment to test to better explain why we are expecting a console warning * make strings translatable * Sync cart & checkout directly without option * Remove current styles * Change the beta label * Replace < and > with symbol references in docs * Update docs manifest * Increase padding of beta label * fix linter issues * change to using looger helper * fix CSS --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com> |
||
---|---|---|
.. | ||
block-theme-development | ||
building-a-woo-store | ||
cart-and-checkout-blocks | ||
code-snippets | ||
contributing | ||
contributing-docs | ||
data-management | ||
extensibility-in-blocks | ||
extension-development | ||
getting-started | ||
high-performance-order-storage | ||
localization-translation | ||
payments | ||
performance | ||
product-collection-block | ||
product-editor-development | ||
quality-and-best-practices | ||
reporting | ||
rest-api | ||
security | ||
shipping | ||
testing | ||
theme-development | ||
ux-guidelines-extensions | ||
ux-guidelines-payments | ||
ux-guidelines-product-editor | ||
ux-guidelines-themes | ||
wc-cli | ||
.manifestignore | ||
.markdownlint.json | ||
README.md | ||
docs-manifest.json |
README.md
post_title |
---|
WooCommerce developer documentation |
⚠️ Notice: This documentation is currently a work in progress. While it's open to the public for transparency and collaboration, please be aware that some sections might be incomplete or subject to change. We appreciate your patience and welcome any contributions!
This is your go-to place to find everything you need to know to get started with WooCommerce development, including implementation details for specific parts of the WooCommerce code base.
Getting started
WooCommerce is a customizable, open-source eCommerce platform built on WordPress. It empowers businesses worldwide to sell anything from physical products and digital downloads to subscriptions, content, and even appointments.
Get familiar with WordPress Plugin Development.
Take a moment to familiarize yourself with our Developer Resources.
Once you're ready to move forward, consider one of the following:
Contributions
The WooCommerce ecosystem thrives on community contributions. Whether it's improving documentation, reporting bugs, or contributing code, we greatly appreciate every contribution from our community.
- To contribute to the core WooCommerce project, check out our Contributing guide.
- To contribute to documentation please refer to the documentation style guide.
Support
- To request a new document, correction, or improvement, create an issue.
- For development help, start with the WooCommerce Community Forum, to see if someone else has already asked the same question. You can also pose your question in the
#developers
channel of our Community Slack. If you're not sure where to ask your question, you can always contact us, and our Happiness Engineers will be glad to point you in the right direction. - For additional support with customizations, you might consider hiring from WooExperts or Codeable.
Additional Resources
Other documentation
Some directories contain documentation about their own contents, in the form of README file. The available files are listed below, if you create a new README file please add it to the corresponding list.
Available READMe files for the WooCommerce plugin:
Root README
i18n/languages
includes
lib
packages
src
src/Admin/RemoteInboxNotifications
src/Admin/RemoteInboxNotifications/Transformers
src/Blocks
src/Internal
src/Internal/Admin/ProductForm
src/TransientFiles
tests
tests/api-core-tests
tests/e2e
tests/e2e-pw
tests/performance
tests/Tools/CodeHacking
Available READMe files for the WooCommerce Admin plugin:
Root README
client/activity-panel
client/activity-panel/activity-card
client/activity-panel/activity-header
client/analytics/report
client/analytics/settings
client/dashboard
client/header
client/marketing
client/marketing/components/button
client/marketing/components/card
client/marketing/components/product-icon
client/utils
client/wp-admin-scripts
docs
docs/examples
docs/examples/extensions
docs/features
docs/woocommerce.com
Available READMe files for the WooCommerce Beta Tested plugin: