Commit Graph

3864 Commits

Author SHA1 Message Date
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
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
Coen Jacobs 93e55e19e0 Merge pull request #2246 from entr/patch-2
Issue #2245 / Disable Integrations Tab if empty
2013-01-17 00:43:18 -08:00
Coen Jacobs cac5abb118 Merge pull request #2252 from kloon/master
Show selected attributes based on id and not slug in product edit pages.
2013-01-17 00:37:46 -08: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 c43fa99ca0 Merge pull request #2247 from GeertDD/DRY_sale
Created the `woocommerce_get_product_ids_on_sale()` function
2013-01-16 17:14:48 -08:00
Mike Jolley 51eebe13c2 Merge pull request #2242 from GeertDD/json
Use correct Content-Type header for JSON output
2013-01-16 17:12:36 -08:00
Geert De Deckere e806d4c193 Created the `woocommerce_get_product_ids_on_sale()` function 2013-01-16 20:04:01 +01:00
entr e33fb78cf6 Issue #2245 / Disable Integrations Tab if empty 2013-01-16 18:20:25 +02:00
entr 039dfbd94b Empty $integrations array prevents defining $links
Empty $integrations array prevents defining $links which causes a notice for undefined var and warning in `implode()`
2013-01-16 17:46:40 +02:00
Geert De Deckere 5da944af3c Use correct Content-Type header for JSON output 2013-01-16 16:00:11 +01:00
Mike Jolley 44013d4480 fix undefined when switching country from select to input 2013-01-16 12:46:19 +00: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