Commit Graph

77 Commits

Author SHA1 Message Date
lukecarbis e1e2e2b618 Added a selected_attributes variable, which uses the default attributes but also has a filter applied. 2011-11-15 16:18:31 +10:00
lukecarbis 33a7444421 Added a filter to default attributes so that the selected variation can be changed on page load. 2011-11-15 16:13:09 +10:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley e589f3bd31 Price html check 2011-11-14 11:18:47 +00:00
Mike Jolley adf4e1af68 Removed subcats when paged 2011-11-13 19:01:14 +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 8b125d1ff6 Variations -downloadable and virtual options 2011-11-09 23:06:17 +00:00
Mike Jolley a52c6b1437 Affilaite/external product type. Closes #166. 2011-11-08 16:15:36 +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 69379da191 calculated_shipping class 2011-11-05 20:24:37 +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 297ffd7af0 Paypal fix, and Signup/login can be turned off for checkout. Closes #125. 2011-11-04 17:48: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 56a4bb601d Changes to shipping calculator 2011-10-31 16:27:41 +00:00
Mike Jolley b2ccf3b700 Conditional tax/vat 2011-10-31 10:54:49 +00:00
Mike Jolley 5575b92a50 Added order details to thanks page. Closes #121.
Added hooks for thanks page + view order page so that order tables can
use the same code. This also means you can unhook the order table if
you don't wan't it on the thanks page.
2011-10-31 00:47:41 +00:00
Mike Jolley fc9c7b7be4 Hide subcategories when filtering 2011-10-27 12:17:08 +01: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 2d89a8d23f Loop changes ro remove output buffering + filter for thumbnail columns 2011-10-26 17:19:17 +01:00
Mike Jolley a144916682 Fix for user details 2011-10-26 11:03:24 +01:00
Mike Jolley a66c84497c Better checks for shipping 2011-10-26 10:40:26 +01:00
Mike Jolley 447efbfd60 Minor fixes, return url function, updated po 2011-10-23 12:25:22 +01:00
Mike Jolley fff67ead85 Fixed localisation 2011-10-22 20:45:20 +01:00
Mike Jolley 2002fc1833 pad_counts 2011-10-22 20:38:39 +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 b0e4757337 Renamed $columns global for compatibility 2011-10-22 16:22:51 +01:00
James Koster f2d9aa8d9d Put sub-cat product count inside a <mark> 2011-10-14 13:39:03 +01:00
James Koster 6b407ad0b6 Added sub-category class to sub categories in products loop 2011-10-14 13:20:46 +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 ecf2e55131 Removed error message when clicking buttons to view variations/grouped. Closes #56. 2011-10-12 11:52:49 +01:00
Mike Jolley 9a50482bd6 Lost password link 2011-10-12 11:18:41 +01:00
Mike Jolley 5462968866 Hard Cropping 2011-10-10 10:47:20 +01:00
Mike Jolley f82d6423a7 localisation 2011-10-09 15:20:58 +01:00
Mike Jolley 1ae669f73d Shop page title 2011-10-09 14:49:56 +01:00
Mike Jolley 7b01aa389e Fixed mime type on product images 2011-10-08 19:59:20 +01:00
Mike Jolley d84ffb141d Subcategory display fix 2011-10-08 12:14:02 +01:00
Mike Jolley 58fd7f890e Show subcategories 2011-10-07 20:27:10 +01:00
Mike Jolley 280803e088 Fixed notices and the order field. Closes #42. 2011-10-04 10:32:42 +01:00
Mike Jolley b5297200b9 Added support to exclude images from product page 2011-10-02 12:13:37 +01:00
James Koster 583336109f Added title attribute to single product image anchor 2011-09-28 21:10: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 3e8220a311 Removed cookie script from frontend 2011-09-21 17:17:28 +01:00
Mike Jolley 438b31f9a6 add to cart hook tweak 2011-09-21 16:26:23 +01:00
Mark Jaquith 7674bbe60e esc_url() run 2011-09-21 14:51:46 +08:00
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
Mike Jolley 5be16b0cd7 Out of stock shows no add to cart button now 2011-09-15 11:00:39 +01:00