woocommerce/plugins/woocommerce
Barry Hughes 852dc0ca61
Integrates the COT admin list table and COT-based search. (#34421)
* Integrates the COT admin list table and COT-based search.

* A search should be regarded as a form of filtering.
2022-08-23 13:28:11 -05:00
..
.wordpress-org git mv a few folders 2021-10-19 10:35:45 +13:00
assets Add Facebook Extension to Onboarding (#34303) 2022-08-12 14:54:53 -07:00
bin Disallow/discourage Yoda comparisons in the WooCommerce codebase (#34185) 2022-08-05 09:02:20 +02:00
changelog Integrates the COT admin list table and COT-based search. (#34421) 2022-08-23 13:28:11 -05:00
client Remove WCPay Subscriptions offer page experiment code (#34317) 2022-08-17 15:07:39 +12:00
i18n Adjust DKK Currency Symbol (#33509) 2022-06-20 10:34:42 -07:00
includes Fix texts in wp-admin-scripts not translated (#34371) 2022-08-22 07:12:52 +08:00
lib Add a namespace prefix to the Psr/Container package (#33703) 2022-08-02 09:59:32 -07:00
packages Remove PHP 8.1 warnings and errors (#34336) 2022-08-16 10:22:53 -07:00
sample-data Suppressing warnings for malformed metadata in product template downloads #32971 #32971 2022-05-24 11:12:02 -07:00
src Integrates the COT admin list table and COT-based search. (#34421) 2022-08-23 13:28:11 -05:00
templates Update Information Notice for No Products Found (#34362) 2022-08-19 10:42:17 -05:00
tests [COT] Implement order search (#34405) 2022-08-23 12:15:39 -05:00
.distignore Exclude e2e folder from build (#33934) 2022-07-20 16:17:24 +02:00
.eslintignore remove zeroclipboard 2022-02-09 08:06:25 -08:00
.eslintrc.js Update CI to use wp-env for api, e2e and performance tests (#34311) 2022-08-15 11:47:53 -07:00
.gitattributes git mv a few folders 2021-10-19 10:35:45 +13:00
.gitignore Update CI to use wp-env for api, e2e and performance tests (#34311) 2022-08-15 11:47:53 -07:00
.wp-env.json Fix a bug crashing wp-env 5.1.0 in CI (#34274) 2022-08-16 13:21:52 +12:00
NEXT_CHANGELOG.md Empty next changelog 2022-04-15 17:10:45 -03:00
README.md Simplify turbo commands (#34055) 2022-08-05 12:03:17 +12:00
composer.json Bump WooCommerce 7.0.0 Versions (#34403) 2022-08-19 14:07:00 -07:00
composer.lock Update composer.lock after updating to WooCommerce Blocks 8.0.0 (#34021) 2022-07-22 11:37:13 +12:00
license.txt git mv a few folders 2021-10-19 10:35:45 +13:00
package.json Turbo: Avoid caching result of `build:feature-config` (#34296) 2022-08-22 16:28:57 +12:00
phpunit.xml Move phpunit.xml into plugins/woocommerce structure 2021-10-19 10:35:46 +13:00
readme.txt Bump WooCommerce 7.0.0 Versions (#34403) 2022-08-19 14:07:00 -07:00
tsconfig.json Converted Spaces To Tabs In JSON 2022-05-10 13:31:01 -07:00
uninstall.php Clear the note hook directly 2022-04-11 10:26:55 -07:00
woocommerce.php Bump WooCommerce 7.0.0 Versions (#34403) 2022-08-19 14:07:00 -07:00

README.md

WooCommerce

license Latest Stable Version WordPress.org downloads WordPress.org rating Build Status codecov

This is the WooCommerce Core plugin. Here you can browse the source and keep track of development. We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.

If you are not a developer, please use the WooCommerce plugin page on WordPress.org.

Getting Started

Please make sure you follow the repository's getting started guide first!

# Make sure that WooCommerce Core and all of its dependencies are built
pnpm run build --filter=woocommerce
# Make sure you're in the WooCommerce Core directory
cd plugins/woocommerce
# Start the development environment
pnpm -- wp-env start

You should now be able to visit http://localhost:8888/ and access WooCommerce environment.

Building Components

There are two major client-side components included in WooCommerce Core that can be built, linted, and tested independently. We've organized these components in this way to take advantage of caching to prevent unnecessarily performing expensive rebuilds when only working in one of them.

plugins/woocommerce/client/legacy

This directory contains the CSS and jQuery code for WooCommerce.

# Build the assets.
pnpm run build --filter=woocommerce/client/legacy
# Lint the assets.
pnpm run lint --filter=woocommerce/client/legacy

plugins/woocommerce-admin

This directory contains the React-based admin interface.

# Build the React-based admin client.
pnpm run build --filter=woocommerce/client/admin
# Lint the React-based admin client.
pnpm run lint --filter=woocommerce/client/admin
# Test the React-based admin client.
pnpm run test --filter=woocommerce/client/admin

Helper Scripts

Here is a collection of scripts that can help when developing the React-based admin interface.

# Create a develoment build of the React-based admin client.
pnpm dev --filter=woocommerce/client/admin
# Create and watch a development build of the React-based admin client.
pnpm start --filter=woocommerce/client/admin
# Watch the tests of the React-based admin client.
pnpm test:watch --filter=woocommerce/client/admin
# Run a type check over the React-based admin client's TypeScript files.
pnpm ts:check --filter=woocommerce/client/admin

Documentation

Reporting Security Issues

To disclose a security issue to our team, please submit a report via HackerOne here.