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
7a78c5c98a
Products on sale widget + transient. Closes #66 .
2011-11-04 20:46:06 +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
8785c312b8
Options to define default attribute selections in variations. Closes #46 .
2011-11-01 18:19:01 +00:00
Mike Jolley
91874aec5e
Ability to exclude ids for coupons
2011-11-01 16:25:54 +00:00
Mike Jolley
ed9b90b7c8
Leave meta keys alone
2011-10-29 11:55:41 +01:00
Mike Jolley
65de79799c
Product % coupons
2011-10-27 11:08:50 +01:00
Mike Jolley
d40fd373f8
Removed all trailing white space. Closes #71 .
2011-10-26 20:10:36 +01:00
Mike Jolley
41a428227a
Added SKU column to order data
2011-10-26 15:09:01 +01:00
Mike Jolley
0c2823b28a
Fixed cross/up sell removal. Closes #88 .
2011-10-22 13:14:31 +01:00
Mike Jolley
d61167f060
Category addition bug and pay page fix
2011-10-13 13:25:24 +01:00
Mike Jolley
6b16dc0cad
Admin JS
2011-10-12 11:39:30 +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
992fe1849b
Added product dimension fields
2011-10-08 12:57:04 +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
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
eaf82759f6
Added a space
2011-10-04 09:50:50 +01: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
724c94bcc8
unique sku check only checks products
2011-10-01 23:58:04 +01:00
Mike Jolley
97b6ade253
Removing attributes fix. Closes #34 .
2011-10-01 23:21:44 +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
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
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
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
faa53c50d6
More hook changes
2011-09-21 16:43:37 +01: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
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