Mike Jolley
ba0b4196fa
Posted 'text' terms are not slugs. Only striptags/slashes - don't change to slugs. Closes #2955 .
2013-04-15 13:15:42 +01:00
Ben Gummer
ddd92141bf
patch shop_order.php for issue 2958
...
adds ` UTC` to the variable passed to `strtotime` to ensure that the `strtotime` function does not assume the local timezone when converting.
2013-04-15 21:02:19 +10:00
Triggvy Gunderson
53c13f721b
base_country js param for order tax calculation
...
added woocommerce_writepanel_params.base_country to fix tax
calculation when an order is created manually. if you click the button
calc taxes the js uses base_country to calc when no billing/shipping
country is selected. just like the the message says: "If no
billing/shipping is set it will use the store base country".
2013-04-14 22:59:18 +02:00
Mike Jolley
02d8aec39c
Over-sanitized. Closes #2933 .
2013-04-12 09:51:10 +01:00
Mike Jolley
12e185e70b
Merge pull request #2915 from maxrice/master
...
Fix coupon type filter typo
2013-04-09 06:14:03 -07:00
Max Rice
107877037f
Fix coupon type filter typo
2013-04-09 07:56:37 -04:00
Mike Jolley
d84d1c7a74
Tool to flush customer sessions
2013-04-09 09:40:07 +01:00
Mike Jolley
9031c7603f
Sanitize taxonomy names. Closes #2844 .
2013-04-08 21:11:55 +01:00
claudiosmweb
2aa712ef4a
added filters to format the address
2013-04-07 05:31:21 -03:00
Mike Jolley
fa91ef80d4
Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
...
Now works with all caching enabled in W3 Total cache. Closes #2862 .
cc @coenjacobs
2013-04-05 22:24:56 +01:00
James Koster
aebcf3ded6
twentythirteen bits
2013-04-05 16:17:41 +01:00
Mike Jolley
d08b1679c8
Show non-existing product line items. Closes #2877
2013-04-05 13:44:38 +01:00
Mike Jolley
23eb142c79
Nonce check notice. Closes #2869 .
2013-04-04 17:45:39 +01:00
Mike Jolley
9f510bb7e0
Check price is set when syncing prices for variations
2013-04-04 10:11:12 +01:00
Jorijn Smit
2ae7ec8360
PHP function fell outside PHP tags.
...
The function do_action() on line 983 fell outside the PHP tags en thus displayed as pure text in the admin panel.
2013-04-02 13:49:41 +03:00
Mike Jolley
a86451aa90
Fix saving of download permissions in order admin.
2013-04-02 11:25:07 +01:00
Mike Jolley
cbb84e0368
settings page notices
2013-03-30 13:28:25 +00:00
Mike Jolley
afae4734d6
attribute name checking
2013-03-29 18:42:49 +00:00
Coen Jacobs
808e3024ca
Do not sanitize old attribute name to not mess up comparing
2013-03-28 11:34:24 +01:00
Mike Jolley
728fd82af5
woocommerce_add_tinymce_lang array key. Closes #2823
2013-03-27 11:07:32 +00:00
Brent Shepherd
9e71cd699f
Update woocommerce_get_formatted_product_name use
...
To use new WC_Product::get_formatted_name() function. For #2788
2013-03-27 18:00:43 +10:00
Coen Jacobs
78c1db6a51
Sanitize id in woocommerce_get_product_to_duplicate function
2013-03-25 20:53:13 +01:00
Mike Jolley
d4b57da561
Merge pull request #2810 from Geczy/master
...
Reports order link filter
2013-03-25 08:46:08 -07:00
Mike Jolley
1dd482efea
Merge pull request #2800 from maxrice/bulk-product-hooks
...
Add actions to product bulk edit section
2013-03-25 08:44:48 -07:00
Mike Jolley
4c722c7338
Hide tax reports when taxes disabled. Closes #2797 .
2013-03-25 15:43:14 +00:00
Matt
502e0586bf
Filter order links in the reports
2013-03-25 10:46:02 -04:00
Mike Jolley
76c7aed302
Download system report for FF
2013-03-25 13:57:56 +00:00
Mike Jolley
8b99a175a2
version data on system status page.
2013-03-25 10:34:36 +00:00
Max Rice
d04b3111d2
Add actions to product bulk edit section
2013-03-23 16:32:47 -04:00
Mike Jolley
414315fde0
start/end to prevent hook conflict. @growdev
2013-03-23 15:18:53 +00:00
Mike Jolley
b87c7ebb01
lower case auto_increment. #2752
2013-03-22 20:47:07 +00:00
Dalton Rooney
00e54abdb2
Product gallery metabox should use thumbnails
...
Not full size images.
2013-03-21 13:04:15 -03:00
Mike Jolley
c3e98eac8e
always serialize.
2013-03-19 21:33:12 +00:00
Mike Jolley
161dca5b49
Unset post_parent Closes #2720 .
2013-03-18 14:55:21 +00:00
Mike Jolley
00a65b7cbd
Don't use woocommerce_clean for urls. Closes #2687 .
2013-03-18 14:13:50 +00:00
Mike Jolley
d6ec17604f
Product tabs when a product type doesn't exist yet. Closes 2750.
2013-03-18 13:10:27 +00:00
Mike Jolley
bda5770c83
#2718 . Missed colon!
2013-03-18 12:52:00 +00:00
Mike Jolley
b20cf841b6
Move welcome string. Closes #2718 .
2013-03-18 12:49:13 +00:00
Mike Jolley
46dc3466d1
Removed Base Page Title option - rename the page instead. Closes #2727
2013-03-18 12:43:38 +00:00
Mike Jolley
38c7c8994f
Merge pull request #2722 from lucasstark/patch-5
...
Missing = in label for product_length
2013-03-18 02:42:19 -07:00
Mike Jolley
946ecaaae2
Tweak - Filters for attribute default values.
2013-03-15 19:33:42 +00:00
Lucas Stark
c6b8384563
Missing = in label for product_length
2013-03-14 14:19:51 -03:00
Mike Jolley
ca46e4ec29
Fix attribute encoding issues. Closes #2644 .
2013-03-10 16:55:53 +00:00
Mike Jolley
6f238650d1
Fix the page slurp
2013-03-10 14:33:27 +00:00
Mike Jolley
c37f099fd5
Edit class Closes #2654 .
2013-03-10 13:35:12 +00:00
Mike Jolley
5393fc7ddb
Santize custom attributes. #2587
2013-03-07 19:34:29 +00:00
Mike Jolley
ce24b83b7d
Fix post code ranges. Closes #2624 .
2013-03-07 14:02:50 +00:00
James Koster
3c1ad56bcd
Re-applied image setting tooltips
2013-03-07 12:49:51 +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
dbc6d47197
Flushes
2013-03-06 13:43:53 +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
77eaf1f91d
Activation/install/welcome
2013-03-05 18:50:44 +00:00
Coen Jacobs
d2f8cd6a4a
Do JS footer redirect after plugin update
2013-03-04 22:08:54 +01:00
Coen Jacobs
dc4d8e58ad
Do not redirect to welcome screen inside upgrade frame
2013-03-04 21:38:01 +01:00
Mike Jolley
995421b34f
Flush on upgrade
2013-03-04 15:29:34 +00:00
Mike Jolley
4918d7a27d
Billing email must be set to grant permission. #2555
2013-03-01 20:58:25 +00:00
James Koster
b0e2114006
retinafied and optimised necessary images, removed doddle :p
2013-03-01 16:17:15 +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
Mike Jolley
d618b306a2
Welcome page
2013-03-01 16:03:10 +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
Mike Jolley
d8282b9a98
Hook consistency
2013-02-28 19:32:26 +00:00
Mike Jolley
b4ebbd5e9e
hook name consistancy
2013-02-28 17:24:16 +00: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
505f9f0b43
Stock increase/descrease alerts Closes #2536 .
2013-02-27 12:50:02 +00: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
2e1a3b6672
links
2013-02-19 09:20:23 +00:00
Mike Jolley
a98de826f0
Tidied up order display #2452 Added new line count function
2013-02-15 09:54:06 +00:00
James Koster
5e8fc500c9
success icon
2013-02-13 15:56:47 +00:00
James Koster
d135a2158c
admin star rating calc
2013-02-13 12:05:20 +00:00
James Koster
6e47b24958
scripts title
2013-02-13 11:44:40 +00:00
James Koster
7bbab42327
Cascading Stylesheet Styles :-)
2013-02-12 11:51:39 +00:00
yitzchak
06d252c9ae
Update admin/woocommerce-admin-reports.php
...
Filter woocommerce_reports_order_statuses provides ability to add other order statuses to reports, but links to edit orders from reports still refer to only base types of completed, processing, and on-hold.
Added use of woocommerce_reports_order_statuses filter to all links to edit.php to fix this.
2013-02-11 12:56:05 -05:00
Mike Jolley
3a0413ddbc
Template overrides in debug
2013-02-11 17:22:22 +00:00
Mike Jolley
8c50c320ac
Added notices for theme support. current_theme_supports( 'woocommerce' )
2013-02-11 16:34:13 +00:00
Mike Jolley
d72d339862
Force product headings first Closes #2415 .
2013-02-11 14:55:22 +00:00
Mike Jolley
6a53728ee6
Flush after update. Closes #2406 .
2013-02-11 14:27:45 +00:00
Mike Jolley
1360d32bb3
dashboard
2013-02-11 14:01:21 +00:00
Mike Jolley
bc51d5652b
Put back coupon option.
2013-02-11 13:53:24 +00:00
Mike Jolley
7a84ddd6c1
Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist
2013-02-10 23:02:52 +00:00
Mike Jolley
2aeb555a9f
Logout page to allow user to add to menu.
2013-02-10 23:02:18 +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
f70162177a
Don't count twice Closes #2384 .
2013-02-08 17:58:54 +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
Mike Jolley
f7dd3eea65
Strings. Closes #2385 .
2013-02-08 15:11:10 +00:00
Mike Jolley
0272ad4e4c
Obvious but missing help text Closes #2388 .
2013-02-08 14:44:19 +00:00
James Koster
1ab862d47b
iconise apply button. closes #2375
2013-02-08 14:24:07 +00:00
Neil Pie
48d3a1e437
only delete the old options if we successfully update
2013-02-07 13:55:23 +00:00
Neil Pie
a8de6cef2b
preventing old image size options from being lost on upgrade
2013-02-07 13:41:36 +00:00
Coen Jacobs
1268a01c3c
Fixed errors for #2364 . Good morning...
2013-02-06 11:15:58 +01:00
Coen Jacobs
8a59ab8d6e
Filterable args for taxonomies. Closes #2364
2013-02-06 10:52:07 +01:00
Mike Jolley
8b5c9465d4
Append codes from get_woocommerce_currency_symbol to option names instead of defining them in the strings.
2013-02-02 17:24:34 +00:00
Mike Jolley
af108213a1
Rupiah Closes #2339 .
2013-02-02 16:04:13 +00:00
Mike Jolley
cfc426d6af
Status page improvements.
2013-02-02 15:56:00 +00:00
Mike Jolley
50c8d45b06
Change some links
2013-02-02 14:23:20 +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
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
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
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
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
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
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
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
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
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
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
24ae660405
fix session expirey and clear old expired sessions
2013-01-15 11:37:20 +00:00
Mike Jolley
0d6e510b8d
Fix reports Closes #2211 .
2013-01-14 17:11:55 +00:00
Mike Jolley
d002632ea6
ui datepicker. Closes #2223 .
2013-01-14 10:57:15 +00:00
James Koster
0fdf9032ec
Revert "loop ratings an option"
...
This reverts commit a23fde9491
.
2013-01-12 15:55:52 +00:00
James Koster
a23fde9491
loop ratings an option
2013-01-12 14:24:22 +00:00
Mike Jolley
0caca2d401
GET vars for sorting (to work better with cache)
2013-01-12 10:53:08 +00:00
Mike Jolley
ad79ab9c1f
Closes #2214 .
2013-01-11 13:29:00 +00:00
Mike Jolley
19cfd8d8f1
Chart label #2211
2013-01-11 11:42:04 +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
8baa368ffa
Fixed report dates Closes #2206 .
2013-01-10 16:27:22 +00:00
Mike Jolley
349308ccdb
Upgrade lost password page Closes #2202 .
2013-01-10 15:37:02 +00:00
Mike Jolley
a7ca2c8717
Fix email settings and put back notification recipient. Closes #2184 .
2013-01-10 15:17:37 +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
235cda133a
Filter on low in stock product objects. Closes #2177 .
2013-01-10 14:13:50 +00:00