Commit Graph

72 Commits

Author SHA1 Message Date
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
Mike Jolley 4287a0628f Option to show children only in widget. Closes #472. 2012-01-10 14:55:08 +00:00
Mike Jolley dc4145dc57 Fix for previous commit 2012-01-09 18:08:56 +00:00
Mike Jolley 55222422c6 Option to hide tax on cart page. Closes #469. 2012-01-09 18:00:52 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley a3f633e3a3 Fixes, subtotals, some backwards compat 2012-01-04 23:01:47 +00:00
Mike Jolley fb5bb626e8 Shipping tax calc + rows, fixed up write panel 2012-01-04 16:24:26 +00:00
Mike Jolley 28922bb4ef Shipping method tweaks/api to add multiple rates easily. 2012-01-03 19:07:32 +00:00
Mike Jolley ca0e9744ab Local tax rates - zips and zip ranges 2012-01-03 17:23:42 +00:00
Mike Jolley d0dd26888b Inclusive tax calculations 2012-01-02 15:25:07 +00:00
Mike Jolley ec7135ebb4 Taxes rounding + shipping, started email totals 2012-01-02 00:49:00 +00:00
Mike Jolley 115e3bee18 Checkout and cart totals 2011-12-30 21:11:18 +00:00
Mike Jolley c4231910b5 Order totals + shipping tax (draft) 2011-12-30 19:36:44 +00:00
Mike Jolley a28d758a90 Calculations for tax rates 2011-12-29 01:18:59 +00:00
Mike Jolley 90a257b4fa Tax rows and compound taxes on cart page 2011-12-28 23:59:33 +00:00
Mike Jolley 11e81cea70 get_cart_tax filter 2011-12-23 18:15:46 +00:00
Mike Jolley 50774151a4 Round order total. Closes #342. 2011-12-23 16:30:46 +00:00
lucasstark 7612a3803f Added woocommerce_after_cart_item_quantity_update action to the set quantity method. Also modified the add_to_cart method to call the set_quantity function so the same hook is called. 2011-12-14 19:06:01 -05:00
lucasstark e39de48c84 Added woocommerce_before_calculate_totals action to the calculate_totals() function. 2011-12-14 14:02:41 -05:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Mike Jolley 80480818bd % discount fix 2011-12-05 15:41:13 +00:00
Mike Jolley 53f2a07119 Totals cleanup 2011-11-28 23:33:08 +00:00
Mike Jolley 49f545ef60 Cart/order tables 2011-11-27 00:03:46 +00:00
Mike Jolley d33c81f34a updated email templates with new fields 2011-11-26 23:33:57 +00:00
Mike Jolley f7b4bebacc Final tax rounding issues 2011-11-26 16:15:25 +00:00
Mike Jolley d954419417 Tax calculations for adjusted rates 2011-11-25 22:13:01 +00:00
Mike Jolley a55adaca3e Store discount for products (pre-tax) 2011-11-25 19:31:06 +00:00
Mike Jolley e6183d3001 removed small 2011-11-23 23:40:48 +00:00
Mike Jolley a60bb20d57 Cart discount logic 2011-11-23 23:19:23 +00:00
Mike Jolley 3ddbf05604 Cart totals fix 2011-11-22 17:00:47 +00:00
Mike Jolley b80142f297 tax 2011-11-22 14:22:35 +00:00
Mike Jolley 61136d0a9e More cart and coupon logic fixes. + renamed cart totals 2011-11-22 13:18:33 +00:00
Mike Jolley 943c119d3b % coupons and allowed each to be removed via a link 2011-11-21 17:11:44 +00:00
Mike Jolley cf248ff114 Filters for coupons 2011-11-21 16:44:33 +00:00
Mike Jolley 53ccc12361 Country outside base/different rate tax tweaks 2011-11-21 16:26:06 +00:00
Mike Jolley e43ff6dfb4 More tax system updates
This correctly handles tax for countries/inc or ex tax inclusive
prices/rounding.

Coupons still require more testing, and we need a better way to store
discount amounts. PayPal also needs tweaking to pass the correct totals
when using inc. prices.
2011-11-21 11:33:46 +00:00
Mike Jolley adb6c5f73d Coupon fix 2011-11-20 00:55:23 +00:00
Mike Jolley fe5651fff5 Tax rewrite to deal with coupons before tax calculations
Needs a lot of testing - esp to detect rounding errors.
2011-11-19 20:59:16 +00:00
Mike Jolley ac3ddba858 Country defaults to store base. State field defaults to 'please select state' - not alabama for US. Closes #200. 2011-11-16 15:25:45 +00:00
Mike Jolley b91b7fd4b5 Coupon logic fix 2011-11-15 22:20:59 +00:00
Mike Jolley 67779afd3f Formal and informal German translations - thanks to stefahn, jessor, Ramoonus , owcv and deckerweb
* Hook for checking cart contents during cart/checkout - used for plugins too
2011-11-09 17:26:45 +00:00
Mike Jolley 24fc037f86 Prevent external product in cart 2011-11-09 12:17:05 +00:00
Mike Jolley 869f413e9b New cart code adapted from Lucas Starks pull request.
Cart items are indexed by an md5 hash rather than numeric keys so we
can add custom data to cart items.

Plugins can hook in and add meta data, load it, and display it. The
adjust_price() function lets you adjust a products price too since its
loaded and stored in the cart on page load.

All works like a dream, all thats left is to show the values on the
cart page, and store them in the order item meta. Order item meta does
need a slight change though, to allow data with the same keys. Working
on that next.
2011-11-06 13:45:18 +00:00
Mike Jolley b1e179aa0f Large change to product types
Removed downloadable and virtual product types in favour of a
downloadable/virtual checkbox option meaning variations can also now be
virtual (no shipping) or downloadable. This should make it more
flexible.

Not many changes were needed to template since simple, downloadable,
and virtual were all pretty similar anyway.

Added a filter for admin for the new sub-types.

In the future variations should have boxes too for downloadable/virtual
so you can mis it up with physical/downloadable goods in the same
product :)
2011-11-05 19:03:03 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley 91874aec5e Ability to exclude ids for coupons 2011-11-01 16:25:54 +00:00
Mike Jolley 42732b7a01 Fully empty cart 2011-11-01 13:11:07 +00:00
Mike Jolley b5850a7087 Adding cart item resets shipping - so free shipping etc is selected when going over a threshold. Closes #116. 2011-10-31 15:00:06 +00:00