A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Paul Kilmurray cb12623fa7 Compound tax calculation test
There is either an error in the calculation for compound taxes, or
there is something wrong with my understanding of how compound taxes
should work - I’m definitely not discounting the later.

Given a price of $9.99 exclusive of tax, applying a 10% tax will give
9.99 + 0.999 = 10.989. Then applying a compound tax of 2% should give
10.989 + 0.2198 = 11.2088.

The result of the WC_Tax::calc_tax on the 2% compound tax is 0.1998
which seems to be in error.

Likewise for prices exclusive of tax.

Note: rounding to 4 decimal places on all calculations
2015-02-23 14:40:10 +08:00
apigen/theme-woocommerce Fixed chmod 2015-01-23 10:59:41 -02:00
assets Use URL if no sizes exist Closes #7491 2015-02-19 14:15:28 +00:00
dummy-data dummy data. closes #7000 2014-12-23 10:51:25 +00:00
i18n POT 2015-02-20 14:19:20 -02:00
includes Merge pull request #7514 from prowp/patch-1 2015-02-20 23:25:37 -02:00
templates Fix address formatting and improve email appearance 2015-02-19 13:57:22 +00:00
tests Compound tax calculation test 2015-02-23 14:40:10 +08:00
.coveralls.yml Add coveralls.io for tracking test coverage 2014-09-07 14:53:33 -04:00
.editorconfig added .yml format in .editorconfig, closes #6364 2014-09-22 16:15:16 -03:00
.gitignore Ignore /logs 2014-10-01 21:36:45 +03:00
.jshintrc added .jshintrc file 2014-08-04 11:18:15 -03:00
.scrutinizer.yml Removed coding styles from scrutinizer 2015-02-18 15:31:10 -02:00
.travis.yml Updated the WP required version to 4.0 2015-02-13 13:48:32 -02:00
CONTRIBUTING.md Update contributing.md 2015-01-04 11:14:27 +07:00
Gruntfile.js Updated jquery-cookie lib 2015-02-02 16:20:02 +00:00
README.md Updated the api docs url 2015-01-30 13:32:23 -02:00
apigen.neon apigen theme 2015-01-16 16:06:58 +00:00
license.txt Further licence tweak 2015-02-18 13:04:21 +00:00
package.json Update npm packages 2015-02-03 23:37:53 +05:45
phpunit.xml [#3176] Add unit test boostrap 2014-09-01 02:03:52 -04:00
phpunit.xml.dist Add separate phpunit config for travis 2014-09-05 19:37:16 -04:00
readme.txt Version bumps 2015-02-20 16:19:39 +00:00
uninstall.php Query in uninstall script. 2015-02-12 16:38:07 +00:00
woocommerce.php Version bumps 2015-02-20 16:19:39 +00:00

README.md

WooCommerce Built with Grunt Build Status Coverage Status

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

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 in the appropriate channels:

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

Contributing to WooCommerce

If you have a patch, or 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.

If you have an idea for WooCommerce, see the Roadmap Trello board.