woocommerce/plugins/woocommerce
And Finally 05a608399a Changed `Tabs` to use `useQuery` instead of `getQuery`, so the browser back button will work.
Changed submenu item name back to `Extensions`, and keeping it in the current order within the WooCommerce menu.
Changed `path` value to `extensions`.
2023-08-07 12:34:05 +01:00
..
.wordpress-org
assets add: feature flag for customize your store task (#39397) 2023-08-01 20:28:39 +08:00
bin Update WooCommerce Blocks to 10.6.1 (#39299) 2023-07-20 02:51:09 -07:00
changelog First commit. This contains the changes from `update/react-marketplace`, reviewed in https://github.com/woocommerce/woocommerce/pull/38885. 2023-08-07 12:34:05 +01:00
client Do not disable "Used for variations" checkbox (#39502) 2023-08-01 10:01:42 -04:00
i18n Add Saint Kitts and Nevis localizations for address entry #38280 2023-06-06 14:01:12 +02:00
includes First commit. This contains the changes from `update/react-marketplace`, reviewed in https://github.com/woocommerce/woocommerce/pull/38885. 2023-08-07 12:34:05 +01:00
lib
packages
sample-data Remove id column from experimental product import sample files (#36857) 2023-02-17 14:11:43 -08:00
src Changed `Tabs` to use `useQuery` instead of `getQuery`, so the browser back button will work. 2023-08-07 12:34:05 +01:00
templates Update template version 2023-07-27 15:18:10 -07:00
tests Temporarily skip problematic test (tested feature remains experimental). 2023-08-04 11:41:36 -07:00
.distignore
.eslintignore
.eslintrc.js
.gitattributes Enforce LF Line Endings (#37843) 2023-04-19 08:26:19 -07:00
.gitignore Revert the .gitignore change 2023-02-17 16:48:56 +01:00
.wp-env.json Introduce grace period before asking guests to verify their email address (#39191) 2023-07-19 11:57:03 -07:00
NEXT_CHANGELOG.md
README.md
composer.json bump WooCommerce blocks version to 10.6.4 (#39582) 2023-08-04 15:13:27 -05:00
composer.lock bump WooCommerce blocks version to 10.6.4 (#39582) 2023-08-04 15:13:27 -05:00
license.txt
package.json Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
phpunit.xml Shard unit test runs (#39362) 2023-07-27 14:06:55 +02:00
readme.txt Prepare trunk for WordPress 6.3 (#39518) 2023-08-02 09:00:50 -05:00
tsconfig.json
uninstall.php
woocommerce.php Prepare trunk for WordPress 6.3 (#39518) 2023-08-02 09:00:50 -05:00

README.md

WooCommerce

license 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 --filter=woocommerce build 
# 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 --filter=woocommerce/client/legacy build 
# Lint the assets.
pnpm run --filter=woocommerce/client/legacy lint 

plugins/woocommerce-admin

This directory contains the React-based admin interface.

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

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

Documentation

Reporting Security Issues

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