Commit Graph

349 Commits

Author SHA1 Message Date
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