Commit Graph

117 Commits

Author SHA1 Message Date
Mike Jolley e0a67b3387 rounding fixes for #2020 2012-12-20 15:10:27 +00:00
Mike Jolley d877086ffe get price, not ex price 2012-12-20 12:44:11 +00:00
Coen Jacobs 944ea5df3d Use returned coupon error message in cart. Closes #1994 2012-12-19 15:57:46 +01:00
Coen Jacobs 314af74f3d Have all WC_Coupon calls use is_valid() method to check #1994 2012-12-19 15:52:16 +01:00
Steven Mathias 9387ca6acf Updated to include coupon on woocommerce_item_is_discounted filter. Filters should always include all information used to arrive at the default filtered value. 2012-12-18 11:35:56 -07:00
Coen Jacobs 60152139a7 Removed double spaces in WC_Cart class methods 2012-12-15 13:01:42 +01: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 afa53b4e26 Correct scope, remove use of var.
- class-wc-cart.php
2012-12-14 23:26:07 +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 3af034755b Put holds on stock until orders are cancelled. Closes #1977. 2012-12-12 21:14:19 +00:00
Mike Jolley a697ffbeb6 Coupon rework, reports, and styles. Closes #1862. 2012-12-11 17:02:48 +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
Mike Jolley 60626d25f9 The display options for taxes 2012-12-03 16:37:08 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley d54bdb6609 Auto apply. #1641. 2012-11-15 15:12:42 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley f4a931f7cc Tweak panel layout and simplify get_items 2012-11-12 16:08:05 +00:00
Mike Jolley 6ecef0139c Calc totals for fees. 2012-11-12 14:34:10 +00:00
Mike Jolley 8e74d043c1 template 2012-11-09 21:17:48 +00:00
Mike Jolley 2c26f06e55 Fees api started, and playing with line items 2012-11-09 21:15:15 +00:00
Mike Jolley 764b34a938 Case insensitive coupons. Closes #1633. 2012-11-08 16:57:59 +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 92d61e5627 Fix grouped product issues. Closes #1693. 2012-11-08 11:15:52 +00:00
Coen Jacobs 9769b8851f [3.2.4] Sanitization #1575 2012-10-18 12:33:52 +02:00
Max Rice 7d445a9822 update woocommerce_product_discount_after_tax_* hook 2012-10-17 11:50:36 -03:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Mike Jolley 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Coen Jacobs d3618ff86a Prevent undefined $return variable. Closes #1588 2012-10-12 11:06:32 +02:00
Mike Jolley c588c761e0 Local Pickup option needs associated state sales tax. Closes #1491. 2012-10-01 10:45:07 +01:00
Brent Shepherd f2150e7c7c Filter WC_Cart->needs_payment() value 2012-09-24 12:54:41 +10:00
Mike Jolley 5fcfe948d7 Handle add to cart differently, Closes #1517 and tweak messages Closes #1498. 2012-09-21 21:11:57 +01:00
Coen Jacobs cf938137fa Cart: Sessions to transients 2012-09-07 19:48:30 +02:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04: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 ca5fca4455 Wipe line tax when an order is tax exempt 2012-08-24 18:14:49 +01:00
Mike Jolley 03f64acf58 DP for #1383 2012-08-21 19:01:56 +01:00
Mike Jolley 647df60328 Republic of Ireland 2012-08-17 15:44:35 +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 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley 5eee013dd6 hook space 2012-08-06 13:24:59 +01:00
Mike Jolley 62a5039d76 Merge pull request #1339 from maxrice/master
added hooks to support analytics plugins
2012-08-06 05:24:13 -07:00
Manos Psychogyiopoulos 8dff33efa5 Added get_cart_contents_count() cart function. 2012-08-06 15:13:32 +03:00