Commit Graph

4113 Commits

Author SHA1 Message Date
Mike Jolley 5a99105123 woocommerce_product_add_to_cart shortocode 2011-11-07 15:09:46 +00:00
Mike Jolley 0d74014d4a Added handles. Closes #137. 2011-11-07 14:13:04 +00:00
Mike Jolley de32a8eb8c JS quantity 2011-11-07 11:41:57 +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 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 b30c14ba64 Minor tweak to JS 2011-11-04 18:58:15 +00:00
Mike Jolley 25c18161e2 xhr variable to fix double loading. Closes #126. 2011-11-02 20:51:07 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley aa97182775 Fixed state field. Closes #128. 2011-11-01 18:27:25 +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 edca283200 AJAX add to cart for virtual/downloadable products Closes #101. 2011-10-26 16:03:06 +01:00
Mike Jolley de59598c4c Made checkout set customer location so table rates are re-evaluated 2011-10-25 16:36:16 +01:00
Mike Jolley 463965454e Styles 2011-10-24 15:51:58 +01:00
Mike Jolley ffbeedc06b Fix jquery ui div 2011-10-22 15:53:26 +01:00
Mike Jolley bfc9ad433e Fixed image (zoom) URL after variation selection 2011-10-22 13:21:05 +01:00
James Koster 599f14ced4 LESS auto compile, ignore 2011-10-17 11:10:07 +01:00
Mike Jolley 6c35dc6511 Fixed enter key on product edit page. Closes #78. 2011-10-16 21:13:01 +01:00
Ramon van Belzen adc3d531ee empty line removal 2011-10-16 13:32:25 +03:00
Ramon van Belzen 622006bce1 empty line removal 2011-10-16 13:31:50 +03: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 4991bf75e2 Load admin css where needed 2011-10-10 23:33:58 +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 3795f04ad0 Variation fix on iphone 2011-10-05 11:09:28 +01:00
Mike Jolley 68f5b97af8 Improved variation selections. Closes #45. 2011-10-04 20:25:34 +01:00
Mike Jolley f8e006069e cart totals update when adding cross-sells to cart 2011-10-02 00:29:46 +01:00
Mike Jolley 6baf0ee7df Return false on login link. Closes #30. 2011-09-30 10:30:52 +01: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 64c0bf6007 Fixed "All" variations 2011-09-27 20:05:02 +01:00
James Koster bdb426c90e Styles for order notes 2011-09-23 16:50:13 +01:00
Mike Jolley 9ab2193c7a Order notes section and front-end display 2011-09-23 15:22:21 +01:00
Mike Jolley 5566827163 Unformatted email fix 2011-09-23 12:15:36 +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 cab92fb6c0 Paypal uses settings API, shipping calc js fix 2011-09-22 15:58:20 +01:00
James Koster 59f4482a13 Changed buttons css
Uses 'background-color' instead of 'background' so as not to conflict
with themes which apply background images etc to buttons
2011-09-22 10:50:34 +01:00
Mike Jolley 3e8220a311 Removed cookie script from frontend 2011-09-21 17:17:28 +01: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 ade3f90a92 fixed calc totals on orders page 2011-09-19 18:03:16 +01:00
Mike Jolley 8dae9492ae Fixed category ordering script 2011-09-19 17:53:08 +01:00
Mike Jolley 72e2b5219b Upsell/cross sell improvements 2011-09-19 15:57:17 +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 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
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 16565712a5 Updated settings page - individual page per tab for reduced lag 2011-09-15 17:37:38 +01:00
Mike Jolley 2ad7fcce5f minify 2011-09-14 15:55:53 +01:00
Mike Jolley 6f27139231 VAT exemption support + query optimisation 2011-09-14 15:55:03 +01:00
James Koster 68edf11f21 minified css 2011-09-13 16:29:56 +01:00
James Koster 41fbe1ec37 AJAX add to cart buttons now animate 2011-09-13 15:58:06 +01:00
James Koster a0502b1d82 more % layout stuff and changed email header colour to woo blue 2011-09-13 13:42:10 +01:00
James Koster 5ffe65afc9 Made layout more flexible
By using  instead of px the default stylesheet is now much more friendly
to other themes besides TwentyTen.
2011-09-12 11:06:28 +01:00
Mike Jolley a125c94240 minified 2011-09-11 18:35:22 +01:00
Mike Jolley 07063ab547 mutliselects 2011-09-11 18:33:26 +01:00
Mike Jolley 8375887455 Shipping method selection on cart 2011-09-11 17:42:50 +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 594c06cb43 admin 2011-09-09 15:23:54 +01:00
Mike Jolley 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00
Mike Jolley ccf6a04274 Multi select width 2011-09-08 15:12:29 +01:00
Mike Jolley 68ff47cc7d JS fix 2011-09-08 11:13:12 +01:00
Mike Jolley ab5a86cba9 jQuery -> $ 2011-09-08 10:52:18 +01:00
Mike Jolley b3d7b8e413 Fixed tabs 2011-09-05 16:16:59 +01:00
Mike Jolley 857778c3c0 ui delete 2011-09-05 10:04:42 +01:00
Mike Jolley 6901af95e8 Tidyup; removed ui.css 2011-09-05 10:04:17 +01:00
Mike Jolley 44d830d374 Compressed scripts and css 2011-09-04 12:03:57 +01:00
Mike Jolley 63ec2b001f New shipping system to delete with multiple rates per gateway 2011-09-02 15:42:17 +01:00
James Koster 9004e2ef8b I don't remember doing this 2011-09-01 16:22:17 +01:00
Mike Jolley b8636296ff Ajax cart fix 2011-08-30 12:43:16 +01:00
Mike Jolley ccb53b7f1b Free labels for free products, unset price products cannot be added to cart 2011-08-27 21:07:16 +01:00
Mike Jolley 5cd9629a45 Image size options 2011-08-27 20:20:28 +01:00
Mike Jolley 726d46c26e css 2011-08-27 14:37:46 +01:00
Mike Jolley 2cf6927279 Removed !important 2011-08-27 12:59:12 +01:00
Mike Jolley b67a015c0f Fix currency pos in script 2011-08-27 12:57:06 +01:00
Mike Jolley 142635fdbb Renamed params variable 2011-08-24 20:35:02 +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 1ba08f0dc0 Improved variations 2011-08-22 15:10:22 +01:00
Mike Jolley 9b6b707112 Quantity amount fix 2011-08-22 13:02:45 +01:00
Mike Jolley 40897953a3 Find product in cart fix 2011-08-22 12:57:50 +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 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 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 ebec1bb27a Changed UI and scripts 2011-08-10 18:49:27 +01:00
Mike Jolley 15a659b4ea Icons 2011-08-10 18:19:06 +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