Commit Graph

49 Commits

Author SHA1 Message Date
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
Mike Jolley b2ccf3b700 Conditional tax/vat 2011-10-31 10:54:49 +00:00
Mike Jolley 272b13f472 100% discount when price excludes tax logic fix 2011-10-28 16:04:39 +01:00
Mike Jolley 65de79799c Product % coupons 2011-10-27 11:08:50 +01:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley a91f87b8ae Coupons for variations fix 2011-10-24 10:46:51 +01:00
Mike Jolley 5860ce175f Tax (excluding tax prices) fix 2011-10-21 20:54:44 +01:00
Mike Jolley 3d99315ab8 Moved discount total before shipping calc is performed 2011-10-16 12:34:33 +01:00
Mike Jolley ba9b035c65 Fixes to tax system to work with VAT exemption 2011-10-08 11:39:26 +01:00
Mike Jolley 05a1046968 Fixes, tax class changes 2011-10-07 23:24:11 +01:00
Mike Jolley ffd74d0898 Added woocommerce_calculate_totals hook to calculate totals function 2011-10-03 12:27:58 +01:00
Mike Jolley 3d325f676e Fixed product id check and improved write panel 2011-10-03 12:21:01 +01:00
Mike Jolley 6f27139231 VAT exemption support + query optimisation 2011-09-14 15:55:03 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley d3377cdfc6 Prevent out of stock in cart 2011-08-30 12:24:28 +01:00
Mike Jolley ccb53b7f1b Free labels for free products, unset price products cannot be added to cart 2011-08-27 21:07:16 +01:00
Mike Jolley b4485df1e2 Cart shortcode improvements 2011-08-22 13:26:17 +01:00
Mike Jolley 9b6b707112 Quantity amount fix 2011-08-22 13:02:45 +01:00
Mike Jolley 40897953a3 Find product in cart fix 2011-08-22 12:57:50 +01:00
Mike Jolley 1472315f1b Changed the way product data is stored 2011-08-18 00:42:07 +01:00
Mike Jolley 3a5b322c4a New coupon system 2011-08-15 17:48:24 +01:00
Mike Jolley fc7b3d2265 Tax issues and fixes 2011-08-11 23:39:02 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00