Commit Graph

306 Commits

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