Commit Graph

483 Commits

Author SHA1 Message Date
Mike Jolley 55222422c6 Option to hide tax on cart page. Closes #469. 2012-01-09 18:00:52 +00:00
Mike Jolley 86afeaf594 Show order backend fields. Closes #460. 2012-01-09 15:42:37 +00:00
Mike Jolley cf1e36c347 Roles + caps for various post types and pages. Closes #457. 2012-01-09 13:14:48 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley 13cd6952c7 Gallery meta fix. Closes #296. 2012-01-06 16:10:12 +00:00
Mike Jolley df1170a716 Delete all variations. Closes #243. 2012-01-06 15:57:24 +00:00
Mike Jolley 86f6d68bbe Save customer meta. Closes #458. 2012-01-06 14:43:03 +00:00
Mike Jolley aa89763adb Default shipping. Closes #461. 2012-01-06 14:28:08 +00:00
Mike Jolley 28dbaa63e7 Dashboard localisation Closes #443. 2012-01-05 16:20:13 +00:00
Mike Jolley 49a159a81f Added missing option back. Closes #448. 2012-01-05 15:49:28 +00:00
Mike Jolley 250d2f5cd6 Cleaned up some localisation's. Closes #438.
Let me know if there are any more.
2012-01-05 12:29:52 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley 840e41c3e4 Missing localisation. Closes #445. 2012-01-05 10:45:01 +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 d9df9e7f73 woocommerce_product_visibility_options filter 2012-01-03 12:31:25 +00:00
Mike Jolley 701938961c Stock quantity 2012-01-03 10:35:59 +00:00
Mike Jolley c2e68c4538 Attribute esc_html 2012-01-03 10:22:17 +00:00
Mike Jolley cd9aaa7f6f Local tax rate interface 2012-01-03 10:01:19 +00:00
Mike Jolley 8733821091 Email totals, interface for local tax rates 2012-01-02 17:45:26 +00:00
Mike Jolley cc7e560a14 Bug fixes 2012-01-02 12:48:56 +00:00
Mike Jolley ec7135ebb4 Taxes rounding + shipping, started email totals 2012-01-02 00:49:00 +00:00
Mike Jolley bd4eaa9eb1 Tax rows and add order line item ajax 2011-12-31 19:03:41 +00:00
Mike Jolley 1de85e5d19 More taxes + totals work. Line item tweaks.
Next step; shipping.
2011-12-30 14:00:41 +00:00
Mike Jolley 90a257b4fa Tax rows and compound taxes on cart page 2011-12-28 23:59:33 +00:00
Mike Jolley a125a186de Save tax class + status 2011-12-28 13:04:37 +00:00
Mike Jolley 86233f09ba Changed order item rows (stored)
Instead of storing price ex. vat, we use the catalog settings. This
eliminates rounding errors and needing to store totals to high
precision.

Also, now storing tax class/status, line cost, and line tax. This will
allow us to support compound and stacked taxes (which are too complex
to do by storing just tax rate alone).

Old orders data will be missing for line item costs, but order totals
will be unaffected. This is unavoidable.
2011-12-28 13:02:13 +00:00
Mike Jolley 582e909f89 Keys 2011-12-24 17:16:10 +00:00
Mike Jolley 94c110a936 More keys 2011-12-24 17:14:44 +00:00
Mike Jolley 45d78748a1 Few more missed keys 2011-12-24 17:09:43 +00:00
Mike Jolley fb57cc7e9d More key renames 2011-12-24 17:05:51 +00:00
Mike Jolley 364c0bd54c Renamed all product data meta keys
This is so they are hidden (_). Should have done this long ago. Few
extensions will need updating when 1.4 goes out to reflect these
changes, mainly importers.
2011-12-24 16:57:36 +00:00
Mike Jolley e8e908b2b6 Write panel tweaks 2011-12-24 15:32:18 +00:00
Mike Jolley e15d2d3c35 User meta - does not save yet.
Merry xmas
2011-12-23 21:41:07 +00:00
Mike Jolley 5e85889ad3 Downloadable variation + no URL = disabled 2011-12-23 21:02:46 +00:00
Mike Jolley 129cf884fc Order # in backorder notification. 2011-12-23 19:58:41 +00:00
Mike Jolley 365764996c Images Closes #419. 2011-12-23 19:27:12 +00:00
Mike Jolley e016a1253f Query tweaks. Using 3.3 function is_main_query 2011-12-22 19:55:21 +00:00
Mike Jolley 4bf04703a2 users panel columns + read me tweak 2011-12-21 23:44:08 +00:00
Mike Jolley 74bb271e96 Filter checkout fields..
.. you can pretty much turn off all fields now - although, you'll need
to turn off tax + shipping calcs too since they rely on addresses to
function.
2011-12-21 21:56:01 +00:00
Mike Jolley cc91cf5618 Conditional options 2011-12-21 21:12:48 +00:00
Mike Jolley 7de0ab6dd8 Shipping save fix 2011-12-19 19:25:25 +00:00
Mike Jolley e7aeeec7d4 Integration tab. 2011-12-19 18:05:42 +00:00
Mike Jolley c4625ad91e Coupon on checkout. Closes #379. 2011-12-19 17:11:19 +00:00
Mike Jolley 665d8bf512 Shipping method ordering. Closes #347. 2011-12-19 14:05:32 +00:00
Mike Jolley 98d0919bda Useless strings. Closes #389. 2011-12-19 11:36:29 +00:00
Brent Shepherd fa4a6b9cf7 Fixing "Call to undefined function woocommerce_create_pages()" fatal error when attempting to automatically add pages. This bug appears to have spawned from the removal of the `include_once( admin-install.php );` call in in the file formerly known as `admin-init.php`. See commit SHA: 34032965a8 for details. 2011-12-19 13:17:02 +10:00
Mike Jolley bc5b7c889f Delete/create htaccess for woocommerce_uploads depending on download setting 2011-12-19 00:32:34 +00:00
Mike Jolley d7688cdbee Configure button 2011-12-19 00:07:28 +00:00
Mike Jolley 3d06d9051c Charts filters Closes #380. 2011-12-18 13:47:39 +00:00
Mike Jolley 62b84f4666 Added order number to order details write panel 2011-12-18 13:43:40 +00:00
Mike Jolley 18cc9a9442 Admin formatted address 2011-12-18 13:41:42 +00:00
Mike Jolley 3ed47d9371 Order date 2011-12-17 19:30:59 +00:00
Mike Jolley fe3242558a Working on locales, also added 'chosen' as an option for the checkout 2011-12-15 20:34:14 +00:00
lukecarbis 39f67c3638 Added $value to hook. 2011-12-14 14:50:33 +10:00
lukecarbis 6eef856835 Added a hook for custom settings field types. 2011-12-14 14:26:19 +10:00
Mike Jolley 48f11d8c0d Filters for customer email attachments 2011-12-12 17:59:39 +00:00
Mike Jolley 34032965a8 Admin 2011-12-12 16:34:56 +00:00
Mike Jolley 22afa53087 Attribute UI tweak 2011-12-11 15:32:37 +00:00
Mike Jolley b7688bc3ce Fixed term ordering 2011-12-11 13:11:00 +00:00
Mike Jolley d4452dcb18 Template files 2011-12-11 01:08:33 +00:00
Mike Jolley 733b51401c Moved email functions to classes, and made posts only save once (faster) 2011-12-10 17:28:32 +00:00
Mike Jolley f778c4f3ec Started new structure, moved short codes into template files, moved main class into main file 2011-12-09 17:01:56 +00:00
Mike Jolley 0c541e4d23 Show children products states when viewing parent 2011-12-09 16:45:22 +00:00
Mike Jolley 83d6531bbb Moved function only used in admin 2011-12-08 19:55:49 +00:00
Mike Jolley 1790bd09d5 Fix for manual order addition and other tweaks. Closes #345. 2011-12-08 19:45:24 +00:00
Mike Jolley aa5be23dc9 AJAX optimisation 2011-12-08 15:13:15 +00:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley 0c53f02452 Have to load payment methods so IPN hooks work etc 2011-12-08 12:57:49 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Mike Jolley cf52e99bd5 File download method opton 2011-12-07 21:26:53 +00:00
Mike Jolley efdd57a381 Fix for per_page option (workaround for WP bug) 2011-12-07 15:34:31 +00:00
Mike Jolley dd1ba42bdd Un-needed 2011-12-07 13:37:52 +00:00
Mike Jolley cbab3fa3fc Removed debug 2011-12-07 13:18:01 +00:00
Mike Jolley 0679151cfe Fixes 2011-12-07 13:17:26 +00:00
Mike Jolley 10d2431dc6 Missing localisation's. Closes #335. 2011-12-06 17:04:50 +00:00
Mike Jolley 5f5eb20335 Sort gateways and set a default 2011-12-06 16:45:08 +00:00
Mike Jolley dbfddcd67c Remove shop order messages in favour of new code 2011-12-06 10:17:50 +00:00
Brent Shepherd 107218bff4 Adding "woocommerce_custom_update_messages" function to change "Post updated" messages for CPTs to be more appropriate - eg. "Product updated". Fixing a bunch of "PHP Notice: Undefined index" warnings on admin settings form with "$value["name"]" is not set. 2011-12-06 17:06:22 +10:00
Mike Jolley fab50777b1 prep new section 2011-12-05 19:17:58 +00:00
Mike Jolley bce591b75f Fix for shipping/payment method to include titles 2011-12-05 18:16:13 +00:00
Mike Jolley 123a887af1 CZK currency Closes #331. 2011-12-05 17:18:07 +00:00
Mike Jolley 84985e6d49 Broke up functions for easier editing 2011-12-05 17:08:24 +00:00
Mike Jolley 57840a28b6 Broke up admin post type functions for easier editing 2011-12-05 17:08:06 +00:00
Mike Jolley 1538e77bb7 Notice. Closes # 310. 2011-12-05 14:45:13 +00:00
Mike Jolley 2a24df0936 Slug options. Closes #288. 2011-12-05 14:02:33 +00:00
Mike Jolley a6ca13333a Customer note 2011-12-05 13:53:54 +00:00
Mike Jolley 8222fd4925 save product tweak 2011-12-05 13:38:21 +00:00
Mike Jolley d37608e7f4 Bar chart changes 2011-12-05 12:10:49 +00:00
Mike Jolley cc40c87349 pass protect orders - can help hide comments from custom comment queries 2011-12-05 10:56:54 +00:00
Mike Jolley 9300f1bc9e Menu ordering tweaks. Closes #322. 2011-12-04 02:08:05 +00:00
Mike Jolley 57f700838a Support sale price 0 2011-12-03 17:44:43 +00:00
Mike Jolley 21bce66f83 Merge pull request #312 from curtismchale/master
Fixes debug output on the add new links page.
2011-12-02 12:49:58 -08:00
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