Commit Graph

46 Commits

Author SHA1 Message Date
Mike Jolley 0609080802 find_rates() fixes. GROUP BY after ORDER BY, and use sub queries so we can match both cities and postcodes (not OR) 2013-03-27 14:32:36 +00:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Mike Jolley f5f01c497e Changes for API Docs 2013-02-20 17:14:51 +00:00
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Brent Shepherd 24081effd6 Deprecate old params for WC_Tax->find_rates()
Instead of quietly ignoring params passed in the WC 1.x order for
WC_Tax->find_rates(), check for their existance, throw a deprecated
notice & massage them into the WC 2.0 structure.
2013-02-12 17:00:10 +10:00
Coen Jacobs 9a92fb48a1 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	classes/class-wc-query.php
	classes/class-wc-tax.php
2012-12-15 13:00:34 +01:00
Coen Jacobs 7b5e74626a Remove pass by reference for objects
Done all files except for external libaries: shareyourcart, cssmin,
lessc

@mikejolley Should we update those libraries as well?
2012-12-15 12:53:32 +01:00
Warren Holmes f2ce67fc47 Correct scope, remove ise of var.
- class-wc-tax.php
2012-12-15 00:03:00 +02:00
Mike Jolley aa3afb7a85 Tax display tweaks. Default customer address option. 2012-12-13 16:38:47 +00:00
Mike Jolley 0f0512c8fd rounding filters. Closes #1964. 2012-12-13 01:23:35 +00:00
Mike Jolley f95e0c6dfc should resolve loop warnings. Closes #1962. 2012-12-10 16:43:22 +00:00
Mike Jolley e3698f99ed Rounding fixes, and link tax rows to tax rates by ID.
Also closes #1869 as it allows us to use 'codes' for tax rates instead
of their label. E.g. code US-AL-Tax-1. This lets users filter taxes in
reports easier.
2012-12-06 19:49:04 +00:00
Matt 8856444a8f Undefined index, closes #1913 2012-12-04 21:08:37 -05:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 44eafdab4d New find_rates 2012-12-03 12:42:44 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Matt e51651980a 'woocommerce_matched_rates' filter on get_rates() 2012-11-26 17:01:15 -05:00
Mike Jolley a232f21575 Shipping tax class options. Closes #1625. 2012-11-15 14:01:16 +00:00
Coen Jacobs 3baaf6029a Removed all deprecated classes and functions except for 1.6.x template files and functions 2012-11-08 16:27:47 +01:00
Mike Jolley 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Mike Jolley c588c761e0 Local Pickup option needs associated state sales tax. Closes #1491. 2012-10-01 10:45:07 +01:00
Mike Jolley 3e8a3f8b60 Rate label hook. Closes #1534. 2012-09-30 19:43:11 +01:00
Mike Jolley cb2b935788 Tax expansion to allow city taxes, #94 2012-09-23 17:16:39 +01:00
Mike Jolley 251a93855c Shipping vs billing for tax. Closes #1457. 2012-09-12 11:16:53 +01:00
Coen Jacobs 82b37effc3 Check for proper decimals setting before round()
@mikejolley can you check if this is not conflicting our recent
tax/rounding changes in any way? Defaulting to 0 now, ran into an edge
case where the value was not set, causing an error with the rounding
function.
2012-08-28 10:07:43 +02:00
Mike Jolley 03f64acf58 DP for #1383 2012-08-21 19:01:56 +01:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 91430543bd More docs 2012-08-14 23:43:54 +01:00
Mike Jolley e3cd74f1cc Class docs 2012-08-14 23:43:54 +01:00
Mike Jolley d5b9036e9a calc_tax hooks. Closes #1352. 2012-08-08 11:42:47 +01:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Mike Jolley 5cb6354945 tax fix 2012-06-21 13:06:48 +01:00
Mike Jolley d83f5f7c61 woocommerce_get_tax_rates Closes #1163. 2012-06-20 15:24:56 +01:00
Mike Jolley 23a9f6595b Widget fixes and tax glitch. Closes #1176. 2012-06-20 15:14:09 +01:00
Mike Jolley 405a1eb147 out of state rounding tweaks 2012-06-05 12:21:52 +01:00
Mike Jolley 6c3bf05433 Tweak - After getting a shipping quote, use the shipping address for taxes on the cart page 2012-05-09 18:29:29 +01:00
Mike Jolley a4ec7d04d3 Prevent arrays which fail the empty() check 2012-04-25 10:27:46 +01:00
Mike Jolley 4f905a0e67 Local rates were being ignored if no main rates were set 2012-04-16 18:55:35 +01:00
curtismchale 77893517e1 clean and quiet debug notices
There are a bunch of debug notices when the user has not set anything
for their tax class (in the admin). This make all of them clean and
quiet in the header of the site and on the checkout page.
2012-03-19 11:29:38 -07:00
Mike Jolley 01e7a2d539 Product id rules for coupons apply to a products parent (useful for grouped products) 2012-03-12 13:11:08 +00:00
Mike Jolley 3b1ff0f895 empty 2012-03-12 12:00:24 +00:00
Mike Jolley 576ec9e42d Front page look fixes 2012-02-10 22:15:29 +00:00
Mike Jolley a03e3a977f Check rates are populated 2012-02-05 13:49:21 +00:00
Mike Jolley f6c71c23f4 Small fixes for 1.4 2012-02-01 21:49:08 +00:00
Mike Jolley bc240f9ebc Removed unused contructor 2012-02-01 16:33:03 +00:00
Mike Jolley 0836ce04db Better class names (final) 2012-01-27 16:38:39 +00:00