A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Rodrigo Primo fa0e5569f8 Add 'parent' to the list of valid tax classes for product variations
Commit d9f9e74bd added a check to `WC_Product::set_tax_class()` to only accept valid tax classes, but this created a bug for product variations as this type of product has an extra tax class called 'parent'.

This commit fixes this problem by adding a new method to `WC_Product` that returns a list of valid tax classes. `WC_Product_Variation` then override this method, returning another list including the tax class 'parent'.

Fixes #17024
2017-10-09 16:20:03 -03:00
.github Grammar fix 2017-09-28 14:27:11 -03:00
.wordpress-org Add .org assets 2017-04-03 11:53:08 +01:00
apigen Merge branch 'pr/13503' 2017-04-27 12:46:05 +01:00
assets Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
dummy-data Create single products before grouped product 2017-06-01 16:01:00 -03:00
i18n Update TZ.php 2017-10-06 13:13:56 +03:00
includes Add 'parent' to the list of valid tax classes for product variations 2017-10-09 16:20:03 -03:00
templates Fixed coding standards 2017-10-02 14:13:15 -03:00
tests Merge pull request #17075 from woocommerce/fix/phpunit-excluded-files 2017-10-09 19:46:34 +01:00
.babelrc Initial easy test setup 2017-02-28 12:00:12 -08:00
.codeclimate.yml Updated tests exclusion list 2017-10-05 14:05:38 -03:00
.codecov.yml Config 2017-09-27 13:12:10 +01:00
.editorconfig HTTPS for everybody 2016-05-26 22:48:49 -03:00
.gitattributes Removed dev.ruleset.xml from .gitattributes 2017-09-27 13:16:55 -03:00
.gitignore Removed none file 2017-07-05 18:47:25 -03:00
.jshintrc Tweaks JSHint for cart and cart fragments 2015-06-10 23:11:21 +05:45
.scrutinizer.yml Updated tests exclusion list 2017-10-05 14:05:38 -03:00
.stylelintrc JSON standard does not allow trailing comma i think. 2017-09-22 14:38:05 +05:30
.travis.yml Restored tests/bin/phpunit.sh 2017-10-05 13:14:56 -03:00
CHANGELOG.txt Fixed typos. 2017-07-10 12:56:28 +07:00
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
Gruntfile.js Use only one ruleset file 2017-09-27 13:07:41 -03:00
README.md Update README.md 2017-09-26 15:43:47 +01:00
apigen.neon Update apidocs 2017-04-03 19:36:55 +01:00
composer.json Use only one ruleset file 2017-09-27 13:07:41 -03:00
composer.lock Use only one ruleset file 2017-09-27 13:07:41 -03:00
license.txt Further licence tweak 2015-02-18 13:04:21 +00:00
package.json Update chromedriver version and add singles tests 2017-10-06 13:10:50 -07:00
phpcs.ruleset.xml Merge pull request #17108 from woocommerce/update/phpcs-i18n 2017-10-09 19:45:47 +01:00
phpunit.xml Exclude includes/wc-widget-functions.php 2017-10-05 14:10:17 -03:00
readme.txt Readme 2017-09-27 16:29:01 +01:00
uninstall.php Fixed author of uninstall.php 2017-03-24 13:51:27 -03:00
woocommerce.php New master version 2017-09-27 14:15:13 -07:00

README.md

WooCommerce Built with Grunt 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