ea6e7295ec
* Move WooCommerce Brands into core * Fix linting errors in brand-thumbnails.php * More lint fixes for brand-thumbnails.php * Fix lint issues in brand-description.php * Fix lint errors for brand-thumbnails-description * Lint errors: Fix taxonomy-product_brand * Lint errors: fix taxonomy-product_brand * Linting: Try adding a space between ignore command and docblock * Another try to remove the lowercase file name error * Another try removing lint error for lowercase files * Lint errors: Fix brands-a-z.php * More lint fixes for brands-a-z.php * More lint fixes for brands-a-z.php * Lint fixes: brand-description.php * Another try fixing lint errors for brand-description.php * Another try fixing lint errors for brand-description.php * More fixes for brand-description.php * Fix lint errors for Packages.php * More fixes for Packages.php * Linting fixes for Brands.php * Added docblocks for WC_Widget_Brand_Thumbnails variables * Add script to fix coding standards for files changed in branch * Run autofix script for linting * Lint fixes for class-wc-widget-brand-thumbnails.php * More lint fixes for: class-wc-widget-brand-thumbnails.php * More lint fixes for class-wc-widget-brand-thumbnails.php * Lint fixes for class-wc-widget-brand-nav.php * lint fixes: ignore docblocks * Another try to fix missing docblocks * Another try to fix missing docblocks * Another try fixing missing docblocks * Better messages for fix-branch.sh * Fix lint errors in class-wc-widget-brand-description.php * Fix linting errors in REST API and functions classes * Fix linting issues in class-wc-brands.php * More lint fixes for wc-brands.php * More lint fixes for wc-brands.php * Fix lint errors for wc-brands-coupons.php * Fix lint errors for class-wc-brands-block-templates.php * Fix linting errors for class-wc-brands-block-template-utils-duplicated.php * Fix lint errors in class-wc-admin-brands.php * More fixes in class-wc-admin-brands.php * More class-wc-admin-brands.php * More lint fixes for: class-wc-admin-brands.php * More lint fixes for class-wc-admin-brands.php * Transfer unit test * Transfer e2e test * Added specific versions to templates * Added changelog * Another try for HTML templates version * Fix lint errors in test files * More lint fixes * Fix lint warnings * Added brands to list of expected REST API fields * More lint warning fixes * More lint warning fixes * Updated unit tests to include brands * Remove whitespace * Added declare( strict_types = 1); to all PHP files * Added declare( strict_types = 1) to test file as well * Fix: There must be exactly one blank line after the file comment * Temporarily remove Brands e2e tests * Move Brands blockified templates * Remove script to fix lint errors in current branch * Try removing pull-package-deps * Bring back deps * Commit pnpm-lock.yaml * Add debug statements * More debug statements * Make regular expression more specific * Make matches more specific * Search only for PHP templates * Bring back whitespace * Remove unnecessary change * Update pnpm-lock.yaml * Change the way Brands files are included * Include all files * Prevent Brands assets from being double-enqueued * Move Brands scripts handling into core * Revert changes in the template-changes.ts script * Use strict in_array * Add scaffolding for Brands test * Add more scaffolding for Brands tests * Enhance e2e test by adding steps for creating a Brand * Move Brands test to Playwright folder * Added manifest * Fix lint errors in tests * Move Brands coupons test into core's coupons tests * Fix linting error in tests * Move all Brands initialization within the /Internal/Brands class * Rename `$merged_packages` to `$merged_plugins` * Add force disable method back * Move Brands logic outside core files * Rename admin styles * Remove brands logic from core's admin class * Roll back all changes in admin assets class * Fix linting errors * Move REST API logic to Brands main class * Introduce an option to control whether the Brands package is enabled. Prevent autoloader from loading classes already loaded by individual Packages. Fix an issue with Brands admin styles. * Bring back pnpm-lock * Add comment * Split long line into two * Review default values for remote variant assignment * Rename global functions and add polyfills for deprecated functions * Bump versions * Fix some lint errors * More lint fixes * Set woocommerce_remote_variant_assignment for Brands to be enabled for unit tests * Replace reserved word class with class_name * Another try to include Brands files in tests * Remove Brands from REST API tests * Skip Brands tests while Brands is behind a feature flag * Lint fixes * Remove empty line * Added feature flag. * Fix widgets form * Fix lint errors for brand description widget * Fix lint errors for brand description widget * Fix lint errors * Bump version * Updated tooltips for Brands coupon restrictions to match core's * Fix lint errors * More lint fixes * Add REST API v3 for Brands --------- Co-authored-by: Walther Lalk <83255+dakota@users.noreply.github.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: