Commit Graph

806 Commits

Author SHA1 Message Date
Geert De Deckere 7b943ecfb8 Merge branch 'master' of git://github.com/woothemes/woocommerce
Conflicts:
	woocommerce-ajax.php
2012-01-22 10:18:00 +01:00
Mike Jolley e71d1b8034 Changed order item rows - see extended desc
Changed rows so we no longer store unit price. There were too many
rounding issues with inc. tax prices with the previous method. Now we
simply store line price - a subtotal which is before discounts, and a
total which is after discounts.
2012-01-22 02:39:21 +00:00
Mike Jolley a40e5f2bb7 Calculation prompt strings 2012-01-22 02:37:11 +00:00
Geert De Deckere 7706ecfe7b Starting class names with a capital. Closes #519. 2012-01-21 10:07:54 +01:00
Mike Jolley 57e233adb1 Switched to .com maps. Closes #515. 2012-01-21 01:18:49 +00:00
Mike Jolley 0ef27c9fb7 fix for recent orders widget 2012-01-19 21:45:57 +00:00
Mike Jolley 0ab045e16b Fixed admin ajax 2012-01-18 17:49:55 +00:00
Mike Jolley 197b629307 Chart/report fixes 2012-01-18 16:54:05 +00:00
Mike Jolley c407d60d85 Notice text tweak 2012-01-18 12:29:13 +00:00
Mike Jolley 3802145b96 Notice 2012-01-18 12:26:31 +00:00
Mike Jolley b3665c35b2 Added help tabs to main WC admin pages 2012-01-18 11:53:34 +00:00
Mike Jolley aa4b074ca3 Rounding and calc totals 2012-01-14 01:23:16 +00:00
Mike Jolley cd8b0fd492 Order calculations 2012-01-13 21:25:39 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
John-Henrique f2d75bdbbc added support the translation product list (select type) 2012-01-12 13:51:53 -03:00
John-Henrique 0d49d6e5a5 Added translation support to product list #494 2012-01-12 09:58:55 -03:00
Mike Jolley 8996b8f31a Tweaks to variations. 2012-01-12 11:09:54 +00:00
Mike Jolley a2d51aa201 Github sabotages files -.- 2012-01-12 00:54:45 +00:00
Mike Jolley 1dc5a3bc0b Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD 2012-01-12 00:43:30 +00:00
Mike Jolley 136456f805 Remonde ob_start. Moved checkout processing to init hook. Fixed email bug. 2012-01-12 00:30:21 +00:00
Mike Jolley f8b3b65ada Fixed duplicate product functionality 2012-01-11 19:37:33 +00:00
Mike Jolley 645d59f51b Tabs 2012-01-11 18:59:30 +00:00
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
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
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
Mike Jolley 3f247b2c18 Not the nicest way to do nested categories, but better than rewriting the walkers 2011-11-03 11:48:59 +00:00
Mike Jolley 9ce4db445c Added page installer - extra step after installation to prevent pages being added until user gives the go ahead 2011-11-02 18:25:04 +00:00
Mike Jolley 8785c312b8 Options to define default attribute selections in variations. Closes #46. 2011-11-01 18:19:01 +00:00
Mike Jolley 482d7e9291 Option for new order/stock recipient. Closes #124. 2011-11-01 17:11:57 +00:00
Mike Jolley 91874aec5e Ability to exclude ids for coupons 2011-11-01 16:25:54 +00:00
Mike Jolley 9eef2113f3 Reports queries. Closes #122. 2011-11-01 12:33:19 +00:00
Mike Jolley fb241f8553 Dashboard reports range + statuses fix. Closes #123. 2011-11-01 12:08:06 +00:00
Mike Jolley 3bf0fabfa2 Added quick status change buttons (processing/complete) to orders panel. Closes #49. 2011-10-31 17:39:09 +00:00
Mike Jolley 18cf9b0d5e Changes to allow settings to be hidden by remove capabiltiies 2011-10-31 13:18:25 +00:00
Mike Jolley dbcbaf5b17 Check managing stock before adding note 2011-10-30 11:18:12 +00:00
Mike Jolley 0e220ad4b2 Preview emails. Closes #113. 2011-10-30 01:00:32 +01:00
Mike Jolley 22bc477406 Option to add logout links to menus containing My Account. Closes #52. 2011-10-29 17:10:33 +01:00
Mike Jolley ed9b90b7c8 Leave meta keys alone 2011-10-29 11:55:41 +01:00
Mike Jolley e69b252c1c Category image fix 2011-10-28 09:56:19 +01:00
Mike Jolley cfce068796 _woocommerce_exclude_image save fix 2011-10-27 11:42:29 +01:00
Mike Jolley 65de79799c Product % coupons 2011-10-27 11:08:50 +01:00
Mike Jolley 7c67432291 Fix for adding images 2011-10-26 20:39:03 +01:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 3a6ae6de92 Image option for emails 2011-10-26 18:13:29 +01:00
Mike Jolley 41a428227a Added SKU column to order data 2011-10-26 15:09:01 +01:00
Mike Jolley 9638a07a1d Shop Manager fixes 2011-10-26 14:11:20 +01:00
Mike Jolley 34d509bb12 Ability to style emails from settings 2011-10-25 13:54:16 +01:00
Mike Jolley 9687ce18c8 Page title removed po 2011-10-24 15:51:58 +01:00
Mike Jolley 447efbfd60 Minor fixes, return url function, updated po 2011-10-23 12:25:22 +01:00
Mike Jolley 1d5e52c5a6 Option to hide products when sub-cats are shown, and empty cats are shown 2011-10-22 20:20:39 +01:00
Mike Jolley 47a0453020 Fixed category filter in admin. Closes #82. 2011-10-22 13:37:47 +01:00
Mike Jolley 0c2823b28a Fixed cross/up sell removal. Closes #88. 2011-10-22 13:14:31 +01:00
Mike Jolley 771d727639 Fixed option label 2011-10-16 21:22:01 +01:00
Mike Jolley 4132baed18 Updated po. Closes #69. 2011-10-16 20:59:30 +01:00
Mike Jolley c653b0412f Removed arrows from translation. Closes #72. 2011-10-16 20:47:29 +01:00
Mike Jolley edb0ab6763 css 2011-10-15 12:16:56 +01:00
Mike Jolley d61167f060 Category addition bug and pay page fix 2011-10-13 13:25:24 +01:00
Mike Jolley f8447c7a46 Drag and drop term ordering (so variation options can be sorted) Closes #57. 2011-10-12 18:32:30 +01:00
Mike Jolley 9a1aec5c90 Shop page title option 2011-10-12 12:17:06 +01:00
Mike Jolley 6b16dc0cad Admin JS 2011-10-12 11:39:30 +01:00
Mike Jolley 4991bf75e2 Load admin css where needed 2011-10-10 23:33:58 +01:00
Mike Jolley e9686368b6 Front-page fix + permalink options 2011-10-10 22:32:07 +01:00
Mike Jolley 7167f11c26 Hard crop option 2011-10-09 16:00:21 +01:00
Mike Jolley f82d6423a7 localisation 2011-10-09 15:20:58 +01:00
Mike Jolley 8c3aa633ff Fix for variations when an attribute has been removed 2011-10-09 14:32:33 +01:00
Mike Jolley 508f321324 Few improvements 2011-10-09 14:23:20 +01:00
Mike Jolley 992fe1849b Added product dimension fields 2011-10-08 12:57:04 +01:00
Mike Jolley 05a1046968 Fixes, tax class changes 2011-10-07 23:24:11 +01:00
Mike Jolley c439ec41e0 Orders > downloads fix 2011-10-07 20:37:41 +01:00
Mike Jolley 58fd7f890e Show subcategories 2011-10-07 20:27:10 +01:00
Mike Jolley 8f92274acb Moved order status change 2011-10-07 11:51:17 +01:00
Mike Jolley 46feaa2755 Fixed category ordering in widgets 2011-10-05 16:25:12 +01:00
Mike Jolley 9682d6f4c9 Reports 2011-10-05 13:44:44 +01:00
Mike Jolley 8a92bfb4c0 variable products store min and max variation price, so if they match the 'from' text is not displayed 2011-10-05 00:00:35 +01:00
Mike Jolley 6e19c9d546 Gallery insert into fix 2011-10-04 23:38:52 +01:00
Mike Jolley d05722a523 Sale prices affect from: price now. Closes #44. 2011-10-04 16:53:11 +01:00
Mike Jolley 19de729ff8 Cleaner coupon types. Closes #40. 2011-10-04 10:51:55 +01:00
Mike Jolley 96c9ebccf7 Merge pull request #43 from tollmanz/master
Fix for undefined index notice on General Settings page
2011-10-04 02:01:32 -07:00
Mike Jolley eaf82759f6 Added a space 2011-10-04 09:50:50 +01:00
Zack Tollman 79b17f3bda Fixed undefined index notice in general settings
Added the indices that the script is searching for on line 144 on
admin-settings-form.php. An alternative approach would be to remove the
elements that are not found on line 144.
2011-10-03 19:31:27 -07:00
Mike Jolley 3d325f676e Fixed product id check and improved write panel 2011-10-03 12:21:01 +01:00
Mike Jolley a9d46213ba woocommerce_coupon_options action added to write panel 2011-10-03 11:38:16 +01:00
Mike Jolley be0d96726e woocommerce_coupon_discount_types filter added 2011-10-03 11:37:16 +01:00
Mike Jolley 4a1f655444 Made image options clearer. James will update the themes to stop forcing the values. 2011-10-03 11:29:36 +01:00
Mike Jolley b5297200b9 Added support to exclude images from product page 2011-10-02 12:13:37 +01:00
Mike Jolley 724c94bcc8 unique sku check only checks products 2011-10-01 23:58:04 +01:00
Mike Jolley dc27111548 Removed hooks from wp_mail to prevent conflicts. Closes #29. 2011-10-01 23:48:26 +01:00
Mike Jolley 97b6ade253 Removing attributes fix. Closes #34. 2011-10-01 23:21:44 +01:00
Mark Jaquith 5577a35790 A little extra escaping paranoia. 2011-10-01 02:43:50 +08:00
Mike Jolley 7df4e65289 Install tweak 2011-09-30 13:05:38 +01:00
Mike Jolley cae4df478e Added turkish lira currency (paypal supports it) 2011-09-30 10:40:28 +01:00
Mike Jolley 4a1cf5dfba dbDelta 2011-09-29 14:04:09 +01:00
Mike Jolley e7a27e65f7 Settings message 2011-09-29 13:55:56 +01:00
Matty faea056b87 Fixed undefined index error in admin-attributes 2011-09-29 14:53:01 +02:00
Matty 2adb5a7aeb Fixed gettext text domain issue in admin-post-types 2011-09-29 14:44:49 +02:00
Mike Jolley 3d23bb44af JS fixes and added en_gb po. Closes #23. 2011-09-29 13:01:56 +01:00
Mike Jolley 8613ad5a92 Fixed quotes in variation data 2011-09-28 13:34:41 +01:00
Mike Jolley 6c41843aca Notice fixes 2011-09-28 10:49:23 +01:00
Mike Jolley 7e163efe68 Merge pull request #17 from jorgepedret/master
Fixed error on Add Product page
2011-09-27 12:18:58 -07:00
Mike Jolley 64c0bf6007 Fixed "All" variations 2011-09-27 20:05:02 +01:00
Jorge Pedret d9cc54820a Edited admin/writepanels/writepanels-init.php via GitHub 2011-09-27 11:51:22 -07:00
Jorge Pedret f1af40f574 Edited admin/admin-init.php via GitHub 2011-09-27 11:50:10 -07:00
Mike Jolley e5b87570bf Fixed reports 2011-09-27 13:39:24 +01:00
Matty f4e79d5ef1 Clean up display bug in order list in admin
Replaced esc_html() in admin (caused a display bug) with esc_attr() and
esc_html() around dynamic data on user name and link.
2011-09-27 10:57:50 +02:00
Matty e0511b3547 Fixed display of user edit link in order
@Mark Jaquith: Is removing esc_html() here safe, as the anchor tag
needs to be rendered - http://cl.ly/3s1S2p0M2W2a081x3y0O
2011-09-27 10:55:38 +02:00
Mike Jolley 17ebf59722 Notices 2011-09-27 09:16:37 +01:00
Mike Jolley 8b11ed7d46 Fixed installer 2011-09-26 19:05:29 +01:00
Mike Jolley 2426cbfb32 Fixed activation bug and added dummy data 2011-09-26 13:10:31 +01:00
Mike Jolley 727fdbfc35 Duplicate products only 2011-09-25 01:40:32 +01:00
Mike Jolley a1afc749bb Prevent pages being added again if renamed 2011-09-24 22:14:52 +01:00
Mark Jaquith fcdd616a31 CSRF for the duplicate product action link 2011-09-24 14:02:11 +08:00
Mark Jaquith 9fe827cebb XSS escaping for Order listing screen 2011-09-24 13:59:00 +08:00
Mark Jaquith c0eede35a4 CSRF protection for duplicate product creation 2011-09-24 13:20:07 +08:00
Mark Jaquith 43d9c41d59 More esc_attr() on text inputs 2011-09-24 13:13:56 +08:00
Mark Jaquith 66bcf34f23 esc_attr() for Write Panel text input 2011-09-24 12:51:43 +08:00
Mike Jolley f7edcef33e Redirect changed 2011-09-23 18:37:41 +01:00
Mike Jolley 9ab2193c7a Order notes section and front-end display 2011-09-23 15:22:21 +01:00
Mike Jolley ab70519f25 Variations now need a price each. Added bulk editing options too.
This makes variations less confusing and maintains the 'FROM' and
sorting for the frontend.
2011-09-23 12:04:51 +01:00
Mike Jolley c9cb278739 Tweaked sale queries, fixed admin styling 2011-09-23 09:38:09 +01:00
Mike Jolley 793dce823c syled orders admin 2011-09-22 21:29:54 +01:00
Mike Jolley 4b8913f911 Added new 'failed' order status and made thank you page show a different message if payment failed. 2011-09-22 20:50:58 +01:00
Mike Jolley bc6acfa7c1 Option to use mail template for wordpress mails 2011-09-22 14:27:08 +01:00
Mike Jolley 215e28a1e0 Dashboard widgets only viewable by admin 2011-09-22 14:00:29 +01:00
Mike Jolley 0b1b8836cc Made attributes handle less generic 2011-09-22 13:41:16 +01:00
Mike Jolley faa53c50d6 More hook changes 2011-09-21 16:43:37 +01:00
Mark Jaquith 8ff55055b9 Add CSRF projection to Attribute creation, editing, and deletion. 2011-09-21 15:20:05 +08:00
Mark Jaquith 184da2ced6 esc_textarea() run 2011-09-21 14:59:49 +08:00
Mark Jaquith 7674bbe60e esc_url() run 2011-09-21 14:51:46 +08:00
Mike Jolley a49e9b8816 Added coupon expiry dates 2011-09-20 16:05:13 +01:00
Mike Jolley d37f5eb95a Flush rewrite rules and redirect after installation 2011-09-20 14:04:40 +01:00
Mike Jolley 4cb31cd969 stock reports 2011-09-20 11:30:21 +01:00
Mike Jolley 8dae9492ae Fixed category ordering script 2011-09-19 17:53:08 +01:00
Mike Jolley 59a6c616f1 Link all variations only fills in the gaps now 2011-09-19 16:58:11 +01:00
Mike Jolley 3b0473629e Tooltips on variations 2011-09-19 16:17:03 +01:00
Mike Jolley d536897e69 drag and drop ordering for attributes 2011-09-19 15:32:53 +01:00
Mike Jolley e1104c69ae Orders page tweaks and filters 2011-09-19 15:00:32 +01:00
Mike Jolley 5f66b49fd1 Product page cleanup and filter by product type 2011-09-19 13:25:06 +01:00
Mike Jolley 02aef8c295 Ditched datepicker in favour of jQuery ui 2011-09-19 11:30:23 +01:00
Mike Jolley 86ddd008c0 Built in google ecommerce tracking code 2011-09-19 11:02:36 +01:00
Mike Jolley 1d162f6dab Moved settings init so it can be hooked into 2011-09-19 10:49:52 +01:00
Cobus afc7a904cf Fixed error in "text" field type display in admin settings form 2011-09-19 10:56:56 +02:00
Matty b47f5bc25c Optimised generation of "text" field type in admin settings forms 2011-09-19 10:48:44 +02:00
Matty 51b55c74a9 Optimised gettexts in admin settings
Added gettexts to strings where it was missing and optimised gettext
calls to remove all HTML code from the translation string (using
sprintf).
2011-09-19 10:42:28 +02:00
Mark Jaquith a45181b75f esc_attr() in the auto-generated settings field values 2011-09-19 14:14:42 +08:00
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
Mike Jolley abe07eb787 customer reports 2011-09-17 01:12:25 +01:00
Mike Jolley 87e3d83b67 Reports cleanup 2011-09-17 00:07:40 +01:00
Mike Jolley fc87f294f6 reports work 2011-09-16 18:39:37 +01:00
Mike Jolley 1f0f9213f3 1 report down, lots to go 2011-09-16 13:45:52 +01:00
Matty 8f470978fa Removed nonces, to be added again once additional testing done. 2011-09-16 13:24:12 +02:00
Matty 104166adba Fixed "undefined index" errors and made sure term meta database table is registered. 2011-09-16 13:15:49 +02:00
Mike Jolley 5d84ea814a Dashboard restyle 2011-09-16 09:51:19 +01:00
Mike Jolley 0d0bb3436c Added reports section (no content yet) and redone admin stars 2011-09-16 09:30:16 +01:00
Mike Jolley f4531a279f Moved queries into class 2011-09-16 09:10:12 +01:00
Mike Jolley 16565712a5 Updated settings page - individual page per tab for reduced lag 2011-09-15 17:37:38 +01:00
Mike Jolley 08cd989229 Settings tweak 2011-09-15 13:59:06 +01:00
Mike Jolley 6f27139231 VAT exemption support + query optimisation 2011-09-14 15:55:03 +01:00
Mike Jolley a82a5b25c9 install fix 2011-09-13 15:17:58 +01:00
Mike Jolley a44e3c9432 Category filter in admin for products 2011-09-13 15:07:17 +01:00
Mike Jolley 07063ab547 mutliselects 2011-09-11 18:33:26 +01:00
Mike Jolley aba90f0f11 Buttons fix 2011-09-11 16:55:18 +01:00
Mike Jolley f0021ef763 Heavily modified the attribute/variation system
Adjusted how attributes are stored Used 'terms' rather than storing
attribute values as text Renamed tax_ to attribute_ to make more sense
Made front-end use attribute labels rather than name/reference Make link
all attributes work Hidden 'variation' checkbox when not using a
variable product
2011-09-11 14:28:15 +01:00
Mike Jolley 84ca10e470 Cannot add variation until variation attribute selected 2011-09-10 21:26:19 +01:00
Mike Jolley 851dcff6b4 Changed naming of attribute 'attributes' and made them use 1 or 0 instead of yes/no for cleaner code 2011-09-10 21:21:44 +01:00
Mike Jolley 88760dea75 Admin changes 2011-09-09 16:09:22 +01:00
Mike Jolley 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00
Mike Jolley 69526ca9c4 Menu position fixes 2011-09-08 11:03:02 +01:00
Mike Jolley 1444af1de4 Label for checkboxes 2011-09-07 17:03:44 +01:00
Mike Jolley cf795c1aec Install fix 2011-09-06 16:51:28 +01:00
Mike Jolley 11a9e60c39 Patched install 2011-09-06 16:22:53 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 3ab6de6a51 Shipping improvement 2011-09-05 12:56:26 +01:00
Mike Jolley 6901af95e8 Tidyup; removed ui.css 2011-09-05 10:04:17 +01:00
Mike Jolley a3b6e80432 Double save bug fix for changing shop base page 2011-09-05 09:28:17 +01:00
Mike Jolley 6344d22b11 Tidy up 2011-09-04 01:02:44 +01:00
Mike Jolley 71efa91820 Removed error suppression 2011-09-03 23:52:11 +01:00
Mike Jolley 0506c2e73c Removed cron job for sale prices 2011-09-03 23:37:16 +01:00
Mike Jolley 63ec2b001f New shipping system to delete with multiple rates per gateway 2011-09-02 15:42:17 +01:00
Mike Jolley 4e6dfccc45 Lots of minor fixes 2011-09-01 10:08:33 +01:00
Mike Jolley ae0482bf9b Nonce field in admin, more query changes 2011-08-31 14:40:02 +01:00
Mike Jolley 6db92c27b8 Renamed product_attribute_ to pa_ and introduced attribute label
Since taxonomies can only be 32 chars long
2011-08-31 13:31:47 +01:00
Mike Jolley 15396d57e4 Changed order system so order data is not serialised - its stored in individual meta fields
This is so it can be used for sorting etc - serialised data is hard to
work with.
2011-08-29 17:09:42 +01:00
Mike Jolley 0dc293e26a duplicate product functionality 2011-08-28 12:38:29 +01:00
Mike Jolley 5cd9629a45 Image size options 2011-08-27 20:20:28 +01:00
Mike Jolley 51903bb0c7 column ordering 2011-08-27 11:41:44 +01:00
Mike Jolley 4d8d82b941 Tidied up widgets 2011-08-26 22:28:55 +01:00
Mike Jolley b0f4e4bbba Variation taxonomy changes 2011-08-24 20:32:33 +01:00
Mike Jolley 6913726cd5 Better tax system 2011-08-24 17:23:04 +01:00
Mike Jolley 291855f318 Admin search by ID/SKU 2011-08-22 15:42:36 +01:00
Mike Jolley 1ba08f0dc0 Improved variations 2011-08-22 15:10:22 +01:00
Mike Jolley da6d4b9da9 Stock fixes 2011-08-21 17:47:49 +01:00
Mike Jolley 23cbdbdbc4 Stock system changes + write panel improvements 2011-08-21 14:28:54 +01:00
Mike Jolley 69c65c8b32 variation fix 2011-08-20 22:03:31 +01:00
Mike Jolley 30e2b33c1d Better order admin and fixes 2011-08-20 16:41:42 +01:00
Mike Jolley 8c4e69f707 order meta, loop visibility 2011-08-19 21:11:04 +01:00
Mike Jolley e286b11ff5 Dashboard coding, new icons 2011-08-19 15:48:41 +01:00
Mike Jolley 3a4effd48a Admin improvements 2011-08-19 00:14:35 +01:00
Mike Jolley 1472315f1b Changed the way product data is stored 2011-08-18 00:42:07 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley 3a5b322c4a New coupon system 2011-08-15 17:48:24 +01:00
Mike Jolley 416f78de00 Dash 2011-08-13 17:43:47 +01:00
Mike Jolley d7b8cf624e Settings re-work 2011-08-13 17:07:10 +01:00
Mike Jolley 1f85de92ff Admin interface 2011-08-13 14:57:48 +01:00
Mike Jolley 674927d3d5 button classes, tax rounding etc 2011-08-12 11:22:07 +01:00
Mike Jolley c2d3ec4892 Orders panel 2011-08-11 23:54:26 +01:00
Mike Jolley fc7b3d2265 Tax issues and fixes 2011-08-11 23:39:02 +01:00
Mike Jolley 9d5d2cd975 upsells/cross sells 2011-08-11 11:51:33 +01:00
Mike Jolley fb2c5c5d05 User query optimise 2011-08-10 19:33:05 +01:00
Mike Jolley ebec1bb27a Changed UI and scripts 2011-08-10 18:49:27 +01:00
Mike Jolley fabb9eec68 Bulk edit order (to trash) 2011-08-10 18:23:09 +01:00
Mike Jolley 43c1ff17ad More woo goodness 2011-08-10 18:11:50 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00
Mike Jolley 8e8613b116 First Commit - from Jigoshop Source 2011-08-09 16:16:18 +01:00