A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Mike Jolley 921cc754b9 Improved usefulness of set_quantity
Due to the way set_quantity works there are multiple paths that can be taken and multiple hooks to monitor for updates. woocommerce_before_cart_item_quantity_zero for example was only fired when qty hits zero, however, there are other hooks to monitor which do the same thing (remove from cart) e.g. woocommerce_cart_item_removed.

This uses the `remove_cart_item` method so that hook is always fired, and zero hook is no longer needed.

Added woocommerce_after_cart_item_quantity_update action to capture the other cases (when  qty is updated).
2019-03-22 13:04:47 +00:00
.github Update -----security-issue.md 2019-03-04 09:16:28 +01:00
.wordpress-org Update WP.org screenshot of settings screen 2017-10-13 14:51:52 +07:00
apigen Hook doc update 2018-05-02 14:28:53 +01:00
assets Run grunt tasks 2019-03-20 20:08:52 +00:00
i18n Run grunt tasks 2019-03-20 20:08:52 +00:00
includes Improved usefulness of set_quantity 2019-03-22 13:04:47 +00:00
sample-data Update shopmanager display name 2019-01-16 16:01:39 +02:00
templates Update translators comment to match changes. 2019-03-14 09:39:19 +02:00
tests Use vendor bin folder for calling phpunit 2019-03-19 15:41:43 +02:00
.babelrc Initial easy test setup 2017-02-28 12:00:12 -08:00
.codeclimate.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.codecov.yml Attempt to reduce noise in PRs generated by codecov 2018-08-23 17:40:35 -03:00
.editorconfig HTTPS for everybody 2016-05-26 22:48:49 -03:00
.eslintignore Ignore vendor files 2018-11-06 15:31:12 -05:00
.eslintrc Update Gruntfile to make use of node-sass when calling grunt-sass. 2019-01-30 10:12:08 +02:00
.gitattributes Exclude CODE_OF_CONDUCT.md and package-lock.json from the release .zip files 2018-01-29 10:18:57 -02:00
.gitignore Better explain why the screenshots/ directory is excluded from git 2018-06-07 11:32:54 -03:00
.jshintrc Grunt dev 2019-03-15 12:21:51 +00:00
.scrutinizer.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.stylelintrc Updated .stylelintrc config 2018-11-19 19:08:08 -02:00
.travis.yml Restore cache 2019-03-19 15:46:24 +02:00
CHANGELOG.txt 3.5.7 changelog 2019-03-20 10:10:11 -03:00
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
Gruntfile.js Grunt dev 2019-03-15 12:21:51 +00:00
README.md Update README.md 2018-01-04 13:41:25 +00:00
apigen.neon Fix api docs generation 2018-02-02 13:47:55 -02:00
composer.json Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
composer.lock Grunt dev 2019-03-15 12:21:51 +00:00
license.txt Further licence tweak 2015-02-18 13:04:21 +00:00
package-lock.json Merge pull request #23068 from woocommerce/renovate/grunt-contrib-jshint-2.x 2019-03-21 14:15:53 +00:00
package.json Merge pull request #23068 from woocommerce/renovate/grunt-contrib-jshint-2.x 2019-03-21 14:15:53 +00:00
phpcs.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
phpunit.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
readme.txt Bump stable tag 2019-03-20 10:13:00 -03:00
renovate.json Add renovate.json 2018-11-06 21:00:00 +00:00
uninstall.php Merge branch 'master' into update/erasure-requests 2018-05-02 14:06:47 +01:00
woocommerce.php Update version 3.6.0-beta.1 2019-03-14 19:23:56 -07:00

README.md

WooCommerce

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

Welcome to the WooCommerce repository on GitHub. Here you can browse the source, look at open issues 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.

Documentation

Reporting Security Issues

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

Support

This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:

Support requests in issues on this repository will be closed on sight.

Contributing to WooCommerce

If you have a patch or have stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.

Contributing new features to the WooCommerce REST API

If you'd like to add a feature to the next version of the REST API, contribute here: https://github.com/woocommerce/wc-api-dev