Commit Graph

338 Commits

Author SHA1 Message Date
Mike Jolley 16853cb6f6 Per order shipping with classes 2011-12-02 20:48:07 +00:00
Curtis McHale 465471cc23 Fixing debug message on the link add screen (like the built in link functions for WordPress) by checking if $post is indeed an object before proceeding with the function. 2011-12-02 11:09:21 -08:00
Mike Jolley 17ccf1f92d Added shipping class taxonomy and prepared flat rates admin to define rates per class 2011-12-02 18:54:52 +00:00
Mike Jolley 27a24bf8c3 current_time('timestamp') for start dates. Closes #305. 2011-12-02 13:02:06 +00:00
Mike Jolley 966676b77e Renamed pages. Closes #307. 2011-12-02 12:02:29 +00:00
Mike Jolley 172a34a9b9 Broke up scripts and made jquery ui optional 2011-12-02 11:43:15 +00:00
Mike Jolley 9eb7b4dd13 Tidied up script loaders 2011-12-02 11:11:33 +00:00
Joe Black d2e525519f Added option to insert javascript in footer using wordpress standard wp_register option (requires dependencies in theme also be registered) 2011-12-01 23:24:52 -08:00
Mike Jolley 326bdd400f Trim zeros off prices (optional) Closes #297. 2011-12-01 11:34:26 +00:00
Mike Jolley a37c7d5dc8 Fixes + po 2011-12-01 11:07:13 +00:00
Mike Jolley fe2646a5fd default option 2011-11-30 16:07:05 +00:00
Mike Jolley 6dc4d2add8 Final tax logic fixes
Storing base cost/discounted cost instead of row_discount to keep calks
simple and maintain backwards compatibility.
2011-11-30 00:30:39 +00:00
Mike Jolley 5ef6a824fe Text update 2011-11-28 23:42:50 +00:00
Mike Jolley 21f9723479 Ship to billing default option 2011-11-28 16:20:39 +00:00
Mike Jolley c4407d1b6f FREESHIPPING 2011-11-28 16:10:31 +00:00
Mike Jolley a88af94585 Coupon change 2011-11-28 13:35:31 +00:00
Mike Jolley 895a24696f Added dimensions to individual variationsAdded dimensions to individual variations. Closes #272. 2011-11-28 13:13:49 +00:00
Mike Jolley 9f359335db Textarea for attributes. Closes #275. 2011-11-28 10:29:23 +00:00
Mike Jolley 1e72d55644 Row discount when adding order item 2011-11-27 14:45:03 +00:00
Mike Jolley c42f624243 Message in variations tab when no attributes are set up. 2011-11-27 14:36:41 +00:00
Mike Jolley 602eef7314 Option to clear cart on logout. Closes #253. 2011-11-26 20:33:15 +00:00
Mike Jolley 2abd9a1644 Type + tooltips 2011-11-26 16:41:48 +00:00
Mike Jolley 14a169151d Ability to load shipping/billing from selected customer 2011-11-26 12:32:44 +00:00
Mike Jolley d735f13f70 Calculate totals (JS) rounding 2011-11-25 23:42:46 +00:00
Mike Jolley b681ec5788 Changed discount to row_discount 2011-11-25 22:36:02 +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 5fd566b47c Improved look and feel of the orders section 2011-11-25 18:44:44 +00:00
Mike Jolley 8c7837acdd Remember last subtab 2011-11-24 15:52:32 +00:00
Mike Jolley 378d84033c Added a few currencies
and made paypal disable itself if currency is not supported
2011-11-24 15:22:28 +00:00
John Cotton d60bd41b65 Corrected the top earners array too. 2011-11-24 01:00:21 +00:00
John Cotton c980c67f7d The order of slicing then reversing of both the top sellers and top earners arrays meant that the bottom 25 products were displayed, not the top 25.
The first asort puts the values in ascending order so slicing first takes the bottom values upwards.

By reversing first then slicing we get the top 25 downwards.
2011-11-24 00:55:29 +00:00
Mike Jolley a7600ba875 Faster loading 2011-11-23 17:42:49 +00:00
Mike Jolley b25436753d All inputs now use 'chosen' instead of the multiselect widget 2011-11-23 17:28:58 +00:00
Mike Jolley e0552ff3f7 Improved tax form - should improve usability 2011-11-23 14:39:28 +00:00
Mike Jolley 99fdf94a48 More chosen selects 2011-11-23 12:02:36 +00:00
Mike Jolley 4d6a9750fb Admin bits 2011-11-23 10:08:48 +00:00
Mike Jolley c3faee08b5 Started adding support for 'chosen' - a select element enhancer 2011-11-23 00:44:11 +00:00
Mike Jolley 6b7571661a Support for ordering attributes with the same ID (but different taxonomies) 2011-11-22 16:55:59 +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 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 8b4e811346 Encoding issues in attributes/variations 2011-11-18 17:27:45 +00:00
Mike Jolley 74fd322230 Feature to prevent admin access to customers (optional). Closes #228. 2011-11-18 14:31:53 +00:00
Mike Jolley a448406787 Wrapped localisation around status names. Closes #227. 2011-11-18 14:02:16 +00:00
Mike Jolley 739932f0b4 Merge pull request #225 from lukecarbis/patch-2
Settings page title.
2011-11-18 04:48:12 -08:00
Mike Jolley 0e69efaaff Improved logging, minor image fix 2011-11-18 12:32:59 +00:00
lukecarbis 4289db1310 Changed language for settings page title. 2011-11-18 11:27:43 +10:00
Mike Jolley 5680c7c756 Grouped product fixes. Closes #223. 2011-11-18 01:19:24 +00:00
Mike Jolley d16638f738 Better transient clear on install 2011-11-18 01:03:39 +00:00
Mike Jolley 81b984d5b4 Sales logic fix, clear cache on upgrade 2011-11-18 00:38:46 +00:00
Mike Jolley 75db7b253e Variations limit fix / Transients cleared on install 2011-11-17 19:38:32 +00:00
Mike Jolley 35903e1fe0 Fix for sale price logic 2011-11-17 19:01:35 +00:00
Mike Jolley e40dd67efb Upload directory mistake. Renamed to woocommerce_uploads Closes #213. 2011-11-17 09:53:17 +00:00
Mike Jolley ea216049c1 Fixed upload directory. Closes #210. 2011-11-17 00:49:20 +00:00
Mike Jolley c7f952bf15 Downloadable product table tweaks - added order ID as primary key 2011-11-17 00:30:46 +00:00
Mike Jolley 300a64f6bc Added basic links to order pages from reports. Closes #150.
Doesn't do date ranges - does a custom search by product name.
2011-11-16 21:18:59 +00:00
Mike Jolley a5fd18fd6b _woocommerce_exclude_image should only be added once 2011-11-16 17:07:25 +00:00
Mike Jolley 1295fecefa Added more meta fields to search, searches users too. Closes #149. 2011-11-16 16:22:38 +00:00
Mike Jolley 5ec62c6852 Change downloads system to store order ID, and check status for access. Closes #204. 2011-11-16 12:15:41 +00:00
Mike Jolley 9015d5a9a8 Optional order notes. Closes #199. 2011-11-16 10:18:46 +00:00
Mike Jolley 37e13101a8 Regen thumbs notice 2011-11-16 09:53:29 +00:00
Mike Jolley a7b1a22461 Install log directory 2011-11-16 09:50:48 +00:00
Mike Jolley 80cfc09956 Added hook 2011-11-15 13:32:07 +00:00
Mike Jolley 1deeadbc7b Option to show size/weight on attributes tab. Closes #180. 2011-11-14 17:18:13 +00:00
Mike Jolley 51e921c7f6 Fixed menu icons. Closes #181. 2011-11-14 16:57:53 +00:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley 68d8a465b6 Fix undefined vars 2011-11-14 13:57:12 +00:00
Mike Jolley 2ee0992897 Category widget now supports hierarchy/counts 2011-11-14 11:12:01 +00:00
Mike Jolley 64b3c93ca1 Added admin woocommerce_settings_tabs_array filter. Closes #190. 2011-11-13 13:13:49 +00:00
Mike Jolley 7ced713e61 Tax rate formatting. Closes #192. 2011-11-13 13:07:38 +00:00
Mike Jolley b04a784511 More optimisations for products class 2011-11-13 12:07:29 +00:00
Mike Jolley acc31f4147 Transient optimisations 2011-11-13 02:15:00 +00:00
Mike Jolley e678fb50f6 Pay email changes 2011-11-11 14:30:32 +00:00
Mike Jolley 7cd7f4c201 Time tweak. Closes #182. 2011-11-11 13:09:06 +00:00
Mike Jolley bdfa552303 Final fixes 2011-11-10 13:04:05 +00:00
Mike Jolley 8b125d1ff6 Variations -downloadable and virtual options 2011-11-09 23:06:17 +00:00
Mike Jolley 4e2c1e1580 Improved variations add/remove image button 2011-11-09 19:20:32 +00:00
Mike Jolley e55fbb89de Directory changed for uploading file downloads - uploads/woocommerce_files 2011-11-09 15:15:30 +00:00
Mike Jolley 590d41724a evil full stop 2011-11-09 12:28:42 +00:00
Mike Jolley 0b414d72b6 Support informal and formal variations of localisations 2011-11-09 12:26:22 +00:00
Mike Jolley a52c6b1437 Affilaite/external product type. Closes #166. 2011-11-08 16:15:36 +00:00
Mike Jolley 89a289b0c4 mod_xsendfile 2011-11-07 21:52:04 +00:00
Mike Jolley eaf1d942db Option to un-force ssl. Closes #147. 2011-11-07 18:37:37 +00:00
Mike Jolley 8673e2ccf1 Improved order search. Closes #149. 2011-11-07 18:14:51 +00:00
Mike Jolley 0d74014d4a Added handles. Closes #137. 2011-11-07 14:13:04 +00:00
Mike Jolley b37439592f Removed slashes. Closes #141. 2011-11-07 13:34:17 +00:00
Mike Jolley 101fcd9b3f Order meta saves + displays 2011-11-06 15:45:22 +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 3f7ffac95f No longer needed 2011-11-05 19:03:26 +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 85e93a391e Option for ajax add to cart Closes #79. 2011-11-04 20:57:54 +00:00
Mike Jolley 7a78c5c98a Products on sale widget + transient. Closes #66. 2011-11-04 20:46:06 +00:00
Mike Jolley 2ce7485f36 Shortcode inserter + shortcode for products by category. Closes #139. 2011-11-04 20:15:55 +00:00
Mike Jolley 42e5afc28d Settings rejig 2011-11-04 18:15:32 +00:00
Mike Jolley 297ffd7af0 Paypal fix, and Signup/login can be turned off for checkout. Closes #125. 2011-11-04 17:48:04 +00:00
paulhastings0 c1d03b130f Added missing classes for the 3 last <li> tags in ul.product_data_tabs . It didn't make sense that the first 3 <li> tags had classes but the last 3 <li> tags did not.
Furthermore, our site needed to style these 3 tabs differently from the others, but there was no class that we could select for CSS [we were still able to do it via ul.product_data_tabs li:nth-child(3) ].
2011-11-03 20:46:20 -05:00
Mike Jolley c7c4873ea7 Minor changes to settings 2011-11-03 20:59:21 +00:00