Commit Graph

44 Commits

Author SHA1 Message Date
Mike Jolley adf4e1af68 Removed subcats when paged 2011-11-13 19:01:14 +00:00
Mike Jolley cd1d7f3fd9 related posts improvements 2011-11-13 12:17:52 +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 5d0aaae5fe Use parents image if not set. Closes #169. 2011-11-09 15:39:14 +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 bcbc63c123 Empty price hook 2011-11-05 19:12:51 +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 7a78c5c98a Products on sale widget + transient. Closes #66. 2011-11-04 20:46:06 +00:00
Mike Jolley 223f9ccad3 Made use of transients to store average ratings and improve performance. Closes #105. 2011-10-31 14:49:30 +00:00
Mike Jolley 20f909a66e Incorrectly used instead $product_custom_fields of $parent_custom_fields 2011-10-31 14:09:18 +00:00
Mike Jolley 4daed6bd7e Pipes to commas. Closes #111. 2011-10-31 00:08:41 +00:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 29a77b0fe7 Made product loops a little more efficient 2011-10-26 19:45:38 +01:00
Mike Jolley 94ce8a9045 Made custom attributes display 'nicely' in cart widgets, instead of santized. Closes #68. 2011-10-16 21:56:18 +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 992fe1849b Added product dimension fields 2011-10-08 12:57:04 +01:00
Mike Jolley ba9b035c65 Fixes to tax system to work with VAT exemption 2011-10-08 11:39:26 +01:00
Mike Jolley 05a1046968 Fixes, tax class changes 2011-10-07 23:24:11 +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 c9cb278739 Tweaked sale queries, fixed admin styling 2011-09-23 09:38:09 +01:00
Mike Jolley fea14650a2 Filters renamed 2011-09-21 17:58:05 +01:00
Mike Jolley bbb02b616b Few hook changes 2011-09-21 16:13:53 +01:00
Mike Jolley 627340ea6a Tweaks to query 2011-09-20 17:43:09 +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 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 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 0506c2e73c Removed cron job for sale prices 2011-09-03 23:37:16 +01:00
Mike Jolley fbfab77f22 More query optimisations 2011-09-01 09:33:22 +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 d3377cdfc6 Prevent out of stock in cart 2011-08-30 12:24:28 +01:00
Mike Jolley c8d0273407 location added to star rating, so we can have different sizes in sidebar for instance 2011-08-28 13:07:33 +01:00
Mike Jolley 0c11a93c7c top rated widget stars 2011-08-28 13:04:05 +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 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 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 fc7b3d2265 Tax issues and fixes 2011-08-11 23:39:02 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00