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
Mike Jolley
d401cbd62d
Tweaks to session handler
2013-01-16 11:05:50 +00:00
Mike Jolley
314ba3e2f6
Hooks for individual use overriding on the frontend
2013-01-16 10:42:49 +00:00
Coen Jacobs
a0b3120438
Session cleanup should be part of implementation
2013-01-16 10:53:08 +01:00
Mike Jolley
9da6eb690a
Revised session handler based with some code from Eric Manns wp_session class idea.
...
The (long term) plan will be to use that when stable and in WP core.
Until then, our wc_session_ implementation will work.
This is similar to what we had, with the exeption of not using
transients to ensure the data persists.
@coenjacobs please view this.
2013-01-15 19:51:19 +00:00
Mike Jolley
31be242a6b
Fix ordering. Closes #2229 .
2013-01-15 12:10:03 +00:00
Mike Jolley
d37eefff6d
removed easter egg
2013-01-15 11:49:40 +00:00
Mike Jolley
24ae660405
fix session expirey and clear old expired sessions
2013-01-15 11:37:20 +00:00
James Koster
ca358f2250
stars
2013-01-15 11:35:40 +00:00
Mike Jolley
2cb5b73eb7
Check we're viewing a product Closes #2227
2013-01-14 17:17:57 +00:00
Mike Jolley
0d6e510b8d
Fix reports Closes #2211 .
2013-01-14 17:11:55 +00:00
Mike Jolley
2dd5abd416
Fix pay form Closes #2225
2013-01-14 16:53:55 +00:00
Mike Jolley
815990f329
Fix category order + nesting Closes #2226 .
2013-01-14 11:56:54 +00:00
James Koster
b47f0d1601
star rating tweaks
2013-01-14 11:56:16 +00:00
Coen Jacobs
5877ee1457
Stripped comments from gitignore, no need for that
2013-01-14 12:22:01 +01:00
Mike Jolley
d002632ea6
ui datepicker. Closes #2223 .
2013-01-14 10:57:15 +00:00
Mike Jolley
11aee22509
Merge pull request #2222 from Ramoonus/patch-1
...
Added Zend Studio to .gitignore
2013-01-14 02:51:27 -08:00
Mike Jolley
192a8c5421
star ratings without images.
2013-01-14 10:51:06 +00:00
Mike Jolley
789361102e
belau
2013-01-13 13:14:58 +00:00