woocommerce/plugins/woocommerce
Roy Ho 5acef655b8
Add gap between quantity field and add to cart button when stacked (#45758)
* Add gap between quantity field and add to cart button when stacked

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Add specificity to quantity

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-20 15:41:10 -07:00
..
.wordpress-org
assets Removes the star icon font (#31670) 2024-03-20 11:28:27 +01:00
bin Bump woocommerce-sniffs to 1.0.0 for WPCS 3.0 support (#45533) 2024-03-13 13:22:16 -03:00
changelog Add gap between quantity field and add to cart button when stacked (#45758) 2024-03-20 15:41:10 -07:00
client Update product editor experiment name and enable pre-publish panel by default (#45745) 2024-03-20 17:14:54 -03:00
i18n Update states.php -> Add Morocco regions (#41769) 2024-02-14 16:17:09 -08:00
includes Add index to zone_id column for woocommerce_shipping_zone_locations (#45598) 2024-03-20 15:14:23 -07:00
lib Re-add "mobiledetect/mobiledetectlib" library 2023-11-27 18:59:10 +01:00
packages remove superfluous "here" 2023-11-10 15:49:08 +01:00
patterns Improve hero product chessboard pattern spacing (#45756) 2024-03-20 18:56:54 +00:00
sample-data Fix a typo in the SKU of sample products (#45208) 2024-03-02 15:55:01 +13:00
src Improve local pickup flow (#45614) 2024-03-20 14:54:12 +00:00
templates Add product archive header template and re-hook (#33681) 2024-03-08 15:33:40 -06:00
tests Update product editor experiment name and enable pre-publish panel by default (#45745) 2024-03-20 17:14:54 -03:00
.distignore Try reducing blocks build size (#43344) 2024-01-08 11:33:49 -06:00
.eslintignore
.eslintrc.js Update eslint parser to @babel/eslint-parser (#43859) 2024-01-24 13:06:51 +02:00
.gitattributes Enforce LF Line Endings (#37843) 2023-04-19 08:26:19 -07:00
.gitignore Fixed Blocks INI File Path 2023-12-09 21:33:34 -08:00
.phpunit-watcher.yml Add php unit watcher and update unit test docs (#44681) 2024-02-19 16:40:29 +08:00
.wp-env.json [e2e tests] Add tests for product images (#43775) 2024-01-23 13:31:22 -08:00
NEXT_CHANGELOG.md
README.md Merge branch 'trunk' into refactor/task-infrastructure 2023-12-09 21:51:43 -08:00
composer.json Update Action Scheduler to 3.7.3 (#45739) 2024-03-20 13:27:02 +00:00
composer.lock Update Action Scheduler to 3.7.3 (#45739) 2024-03-20 13:27:02 +00:00
license.txt
package.json Add WCA config json to changes config for CI (#45524) 2024-03-13 10:29:34 -05:00
phpcs.xml Disable `DisallowShortArraySyntax` and `InternalInjectionMethod` sniffs for blocks files. (#42863) 2023-12-15 12:39:31 +01:00
phpunit.xml Autoload test helpers and exclude from test suites. (#39586) 2023-08-09 15:48:04 -03:00
readme.txt Update stable tag to 8.7.0 (#45719) 2024-03-19 17:32:03 +00:00
tsconfig.json
uninstall.php
woocommerce.php Prepare for WP 6.5 by updated tested / required versions. (#45633) 2024-03-19 11:47:51 -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 --filter=@woocommerce/plugin-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 Classic CSS and jQuery code for WooCommerce.

# Build the assets.
pnpm --filter=@woocommerce/classic-assets build 
# Lint the assets.
pnpm --filter=@woocommerce/classic-assets lint 

plugins/woocommerce-admin

This directory contains the React-based admin interface.

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

plugins/woocommerce-blocks

This directory contains the client for WooCommerce + Gutenberg.

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

Documentation

Reporting Security Issues

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