Commit Graph

412 Commits

Author SHA1 Message Date
Mike Jolley ca46e4ec29 Fix attribute encoding issues. Closes #2644. 2013-03-10 16:55:53 +00:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Mike Jolley 26e730acb2 Tweak label. Closes #2621. 2013-03-07 11:16:17 +00:00
Mike Jolley 1315111e0f Clear cache when saving order items 2013-03-06 14:25:09 +00:00
Mike Jolley a9dc6510f4 Tweak from prices 2013-03-06 13:25:37 +00:00
Mike Jolley 089178e0e8 escape when output, not when saved. #2587 2013-03-05 21:20:00 +00:00
Mike Jolley 4918d7a27d Billing email must be set to grant permission. #2555 2013-03-01 20:58:25 +00:00
Mike Jolley 7abaa58504 Merge pull request #2551 from pmgarman/master
Allow custom actions to easily be added to orders.
2013-03-01 08:13:16 -08:00
Mike Jolley 15f4eaa81a Updated all docs links 2013-03-01 16:10:03 +00:00
Patrick Garman d68141d02f Not sure how that got changed... 2013-02-28 15:45:02 -06:00
Patrick Garman dba43faa4c Allow custom actions to be added 2013-02-28 15:42:19 -06:00
Brent Shepherd 2eb8b26aad Use sanitized $product_type->name values
product_type term slugs are inconsistent so can not be used as unique
identifiers, but product_type term names may have white space and other
characters unsafe for option values, class names & or hooks, therefore,
product_type term names should be sanitized.
2013-02-28 15:39:02 +10:00
Mike Jolley 80b4ef14c9 Slugs are unreliable, and support show_if hide_if for all product types 2013-02-26 15:14:49 +00:00
Mike Jolley 48a4ce1384 New interface didn't pass correct value to old hook. Closes #2520. 2013-02-25 10:12:45 +00:00
Mike Jolley 947a0aa483 kses Closes #2503. 2013-02-21 19:55:58 +00:00
Brent Shepherd 6c384a0d34 Trigger change event when bulk editing variation 2013-02-21 13:51:54 +10:00
Brent Shepherd 1f8314c3a2 Add woocommerce_variable_product_bulk_edit_actions
For extensions to add new bulk edit actions on the "Edit Product"
screen for variable products.
2013-02-21 13:21:33 +10:00
Mike Jolley a98de826f0 Tidied up order display #2452 Added new line count function 2013-02-15 09:54:06 +00:00
Mike Jolley d72d339862 Force product headings first Closes #2415. 2013-02-11 14:55:22 +00:00
Mike Jolley d284e33412 Tweak ze labels #2399 2013-02-08 19:32:12 +00:00
Mike Jolley 2272e62514 Fix drag and drop after load() Closes #2400 2013-02-08 18:42:13 +00:00
Mike Jolley 9402a572d7 Show 'out of stock' marked products in reports, and remove sort by stock - stock values vary so much this is unreliable and impossible to sort correctly. Closes #2380. 2013-02-08 17:35:26 +00:00
James Koster 1ab862d47b iconise apply button. closes #2375 2013-02-08 14:24:07 +00:00
Mike Jolley fb67343611 Tweak content. Closes #2311 2013-01-29 13:58:57 +00:00
Alex Bishop 793a143432 #2311 Fix for 'Exclude sale items from coupon'
included a checkbox on the coupon writepanel for the option

Had issues originally, worked out the in_array() needed to be a strict
type as woocommerce_get_product_ids_on_sale() has a '0' string in it.

Tested using 3.5.1 + git clone of WooCommerce
2013-01-29 23:47:52 +10:30
Alex Bishop f78d3a0e13 Revert "Added 'Exclude Sale Products' option to coupons"
This reverts commit b763c7449a.
2013-01-29 23:41:58 +10:30
Alex Bishop 13de8d9203 Revert "Reset, please ignore"
This reverts commit 3e59e64da3.
2013-01-29 23:41:57 +10:30
Alex Bishop 3e59e64da3 Reset, please ignore
Long Story.
2013-01-29 23:41:00 +10:30
Alex Bishop b763c7449a Added 'Exclude Sale Products' option to coupons
Added exclude sale products functionality based of the 'exclude product
ids' functionality in wc-coupon/wc-cart.

Compares product ID's in cart vs ID's in the array
'woocommerce_get_product_ids_on_sale'
2013-01-29 13:54:54 +10:30
Mike Jolley c51613910b Fix bulk edit. Closes #2283. 2013-01-28 11:18:14 +00:00
Mike Jolley 4f0d7f55c6 Cleaned up session classes 2013-01-27 18:55:29 +00:00
Mike Jolley 1cb13fe740 more json fixes #2268 2013-01-22 16:48:28 +00:00
Frank Martin 7154b96ae1 Random tab 2013-01-22 16:12:19 +00:00
Frank Martin 56d98eed79 Remove items and item meta on permanent delete 2013-01-22 16:06:48 +00:00
Brent Shepherd cf240d96a3 Don't convert zero values to empty string
PHP's empty() function returns true for 0, 0.00, "0.00" and other 0 variants.
That means woocommerce_process_shop_order_meta() will convert item meta with
a 0.00 or similar value to an empty string, which can break things that expect
a float or number. This commit fixes that.
2013-01-21 16:02:52 +10:00
Brent Shepherd 547ea85451 More descriptive variable name 2013-01-21 15:53:41 +10:00
James Koster ef23efdcfb Order status icons
completed = check
pending = dash
cancelled = cross
failed = altert
on-hold = clock
refunded = arrows
processing = dots
2013-01-18 14:23:43 +00:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Gerhard 5f42ae6145 Find term based on id instead of slug, if you use numbers as term names it conflicts with the ids since has_term searches on id, slug and name when a string is passed but only on ids when integers are passed. 2013-01-17 08:53:27 +02:00
Mike Jolley 7eb82f1070 Prompt for variation price since its required. 2013-01-16 12:16:31 +00:00
Mike Jolley 5c878f62b3 Variations should not inherit prices, and variations with no price set should be hidden. Closes #2232.
Also improves price display for empty/free variations.
2013-01-16 12:10:51 +00:00
Mike Jolley 86b7508a51 Hide more tax. #2205. 2013-01-11 11:29:13 +00:00
Mike Jolley abd3f521ec Hide tax options when disabled. Closes #2205. 2013-01-10 16:37:27 +00:00
Mike Jolley 7f1369e01a Merge pull request #2203 from krbvroc1/writepanel-fixes
Fix PHP Warnings
2013-01-10 06:39:57 -08:00
Ken Bass 6ca9d5d552 Fix PHP Warning 2013-01-10 09:35:33 -05:00
Mike Jolley d3e5877953 Check meta exists Closes #2183. 2013-01-10 14:19:27 +00:00
Mike Jolley 8f7dd65656 Fix quick edit Closes #2130 2013-01-10 12:11:04 +00:00
Coen Jacobs 9fade8d6e4 Coupon labelling help, closes #2192 2013-01-10 11:26:28 +01:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Mike Jolley 6e01481220 Fix restore nonce. Closes #2138. 2013-01-07 13:36:38 +00:00