Commit Graph

3876 Commits

Author SHA1 Message Date
James Koster 802bf78756 attributes (and some more products) added to dummy csv. Fixes #2266 2013-01-23 13:47:02 +00:00
Mike Jolley b19985060c Only save session if needed @coenjacobs 2013-01-23 12:27:19 +00:00
Mike Jolley c3bcc0561c Merge pull request #2264 from krbvroc1/issue_1950
Issue 1950
2013-01-23 03:46:33 -08:00
Mike Jolley eb544b10a7 Same hook for reg. #2270 2013-01-23 11:41:54 +00:00
Coen Jacobs a9154c07a4 Merge pull request #2270 from leewillis77/master
Populate $current_user when users create an account during checkout
2013-01-23 03:39:29 -08:00
Mike Jolley 97817341af Merge pull request #2273 from thenbrent/woocommerce_new_order_item
Fix woocommerce_add_order_item() return value & improve 'woocommerce_new_order_item' params.
2013-01-23 02:55:49 -08:00
Brent Shepherd eda7961bfa Pass more arguments to woocommerce_new_order_item 2013-01-23 16:23:54 +10:00
Brent Shepherd e7a0324b7c Fix item ID returned woocommerce_add_order_item()
If a plugin hooks to 'woocommerce_new_order_item' and run some sort of $wpdb insert
query or uses a function which runs an insert query, like woocommerce_add_order_item_meta(),
then the item ID returned by woocommerce_add_order_item() will actually be the ID of a
different DB entry (becasue woocommerce_add_order_item() returns $wpdb->insert_id). This
commit fixes that.
2013-01-23 16:20:44 +10:00
Lee Willis 57af52f43d Populate $current_user when users create an account during checkout 2013-01-22 21:30:14 +00:00
Mike Jolley 1cb13fe740 more json fixes #2268 2013-01-22 16:48:28 +00:00
Mike Jolley a3e5748369 Add to cart json #2268 2013-01-22 16:33:33 +00:00
Mike Jolley a0b0ecc9a0 Merge pull request #2268 from efarem/master
Fix JSON customer details call
2013-01-22 08:17:50 -08:00
Frank Martin 7154b96ae1 Random tab 2013-01-22 16:12:19 +00:00
James Koster b13fa059e4 wp yellow 2013-01-22 16:07:21 +00:00
Frank Martin 56d98eed79 Remove items and item meta on permanent delete 2013-01-22 16:06:48 +00:00
James Koster e48f56ccb6 status colors again 2013-01-22 15:48:01 +00:00
James Koster 3f63969d42 better colors 2013-01-22 15:31:42 +00:00
Frank Martin 81ed3f4ec9 Fix ajax customer details in admin 2013-01-22 14:35:10 +00:00
Mike Jolley dd2ed86949 Merge pull request #2267 from efarem/master
Add filter to returned customer data
2013-01-22 06:30:49 -08:00
Mike Jolley 9e72c6a879 Pevent error if no fragments are returned 2013-01-22 14:30:21 +00:00
James Koster 7107e17dda better non-retina status icons 2013-01-22 13:21:38 +00:00
Frank Martin f1a3957f4c Remove random var_dump(), add filter for ajax customer details load 2013-01-22 13:06:51 +00:00
James Koster 058060be49 message buttons 2013-01-22 12:58:26 +00:00
James Koster 3ccf806420 status colors 2013-01-22 12:56:30 +00:00
James Koster 8d26759abf order statuses 2013-01-22 12:51:06 +00:00
Ken Bass 20bfaea36c Issue 1950 2013-01-21 10:12:15 -05:00
Mike Jolley c41d96dba1 Fix saving as array #2259 2013-01-21 13:10:48 +00:00
Mike Jolley 7fceb30c07 Fix multiselect name Closes #2259 2013-01-21 10:48:26 +00:00
Mike Jolley 3003e9bae9 Closes #2261. 2013-01-21 10:45:41 +00:00
Mike Jolley 07ff82ae0a rejig the hooks Closes #2263. 2013-01-21 10:41:37 +00:00
Mike Jolley ed717362c7 Merge pull request #2262 from thenbrent/shop_order_meta
Don't convert zero values to empty string in woocommerce_process_shop_order_meta()
2013-01-21 02:13:25 -08: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
Mike Jolley feacc239ce mutlselect case #2259 2013-01-20 15:38:55 +00:00
Mike Jolley 34966373ad When editing checkout fields, only refresh totals if required address fields are filled. 2013-01-20 15:36:25 +00:00
Mike Jolley e731d4f3e7 cleanup save function 2013-01-20 13:44:05 +00:00
Mike Jolley 9fb2f9e6d2 dont trigger tab actions for shipping/billing 2013-01-20 13:38:45 +00:00
Mike Jolley 128b333578 Fix checkout field visibility after switching country 2013-01-20 13:10:36 +00:00
Mike Jolley 88d3057f93 S Korea has no states. Closes #2257. 2013-01-20 12:50:39 +00:00
Mike Jolley 250605d131 prevent undefined state placeholder 2013-01-20 12:47:03 +00: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
James Koster 8a3940fc01 orders icons / action buttons 2013-01-18 12:23:57 +00:00
Mike Jolley 2a462edc33 Support desc_tip in settings api Closes #2251. 2013-01-18 12:10:25 +00:00
James Koster ec0408286b sort icon 2013-01-18 11:48:17 +00:00
Mike Jolley bb162885dc Merge pull request #2255 from GeertDD/fatal_empty
Fix fatal error, `empty()` only supports variables (prior to PHP 5.5)
2013-01-17 11:00:23 -08:00
Geert De Deckere aebb79e160 Fix fatal error, `empty()` only supports variables (prior to PHP 5.5) 2013-01-17 18:02:14 +01:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Mike Jolley fc0179e914 Use meta to prevent double tracking Closes #2248 2013-01-17 10:25:57 +00:00
Coen Jacobs 380268216e Merge pull request #2244 from entr/patch-1
Empty $integrations array prevents defining $links
2013-01-17 00:46:42 -08:00
Coen Jacobs b62e3eca17 Prefer empty function over ! count for this #2246 2013-01-17 09:44:33 +01:00