Josh Eaton
082f9f647d
Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings
...
Fixes #5389
2014-04-29 15:23:41 +01:00
splashingpixels
a1be23537a
gateway COD added instructions to email closes #5385
2014-04-29 15:21:14 +01:00
tamarazuk
f01e4d0820
Another action hook in Inventory product data tab
...
allow plugins to create a new options_group in this tab
2014-04-29 15:21:10 +01:00
tamarazuk
25b45ae8e3
Add action filter in inventory product data
...
Allows plugins to add meta fields after stock status/backorders even if woocommerce_manage_stock is turned off.
2014-04-29 15:21:06 +01:00
Mike Jolley
9aa0eb034c
Update abstract docblock
2014-04-29 15:20:54 +01:00
Mike Jolley
cb61f703e6
Don't sanitise rate ID - breaks utf8 chars
...
Fixes #5376
2014-04-29 15:20:49 +01:00
Mike Jolley
85ccd2a788
Added brackets
2014-04-29 15:20:46 +01:00
Mike Jolley
739e23ec20
1 filter rather than 2 Closes #5361
2014-04-29 15:20:42 +01:00
Mike Jolley
1f8da71703
Abstract product constructor
...
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-29 15:20:13 +01:00
Mike Martel
bca9c3325c
Updated minified woocommerce_admin JS
2014-04-29 15:20:07 +01:00
Mike Martel
ad063ee283
Cleanup indentation in woocommerce_admin.js
...
File mixed tabs and spaces. Converted all spaces to tabs.
2014-04-29 15:20:02 +01:00
Mike Martel
d104624d69
Allow negative amount in price field validation
...
The price field validation method in the admin js did not allow negative numbers, which are valid as eg. negative fees.
2014-04-29 15:19:57 +01:00
Mike Martel
5469d2f2c3
Bind price and decimal input events to body in woocommerce_admin js
...
The event was bound to the element directly, causing problems when the elements was added after dom ready (through ajax). Now the decimal format check will always take place.
2014-04-29 15:19:52 +01:00
claudiosmweb
0cc98a740a
improved the get_order_total() method
2014-04-29 15:17:53 +01:00
claudiosmweb
aeecccce19
added method to check if order needs shipping in "pay for order" page
2014-04-29 15:17:49 +01:00
Mike Jolley
76df3d6e2c
[2.2] Hide COD for virtual orders (no shipping) Closes #5369
2014-04-29 15:17:30 +01:00
claudiosmweb
67e29eade6
removed not defined $wp variable in favor to get_query_var() function
2014-04-29 15:16:08 +01:00
claudiosmweb
4f11effbcd
updated the method to get the order id from "pay for order" page
2014-04-29 15:16:05 +01:00
claudiosmweb
e24d6b247b
updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237
2014-04-29 15:16:02 +01:00
Mike Jolley
634a93a936
Ignore variation stock if disabled globally Closes #5370
2014-04-29 15:10:48 +01:00
Mike Jolley
be360e3e02
Recount true when recounting terms Fixes #5320
2014-04-29 15:10:28 +01:00
Mike Jolley
45f9954c10
Let get_file get the first file if no ID is defined
...
#5296
2014-04-29 15:10:21 +01:00
Mike Jolley
01e10b75c8
Allow saving no downloads, if unset
...
#5296
2014-04-29 15:10:12 +01:00
Mike Jolley
005c24a7c9
Check has_file when sending order emails for downloadables
...
Fixes #5296
2014-04-29 15:09:28 +01:00
Mike Jolley
afafc066eb
typecast $used_by to array in case its not set. Closes #5350
2014-04-29 15:09:17 +01:00
Mike Jolley
626168156d
Change the way order review data is appended to checkout to reduce likelihood of error
...
Fixes #5332
2014-04-29 15:08:33 +01:00
Mike Jolley
9be6b3635c
If billing email is not set and user ID is set, use email
...
Fixes #5356
2014-04-29 15:08:23 +01:00
Mike Jolley
7895857d32
URL decode when viewing order attributes to prevent taxonomies not being found
...
Closes #5315
2014-04-29 15:07:45 +01:00
Mike Jolley
460a4e0aa6
Reverse calculator check Closes #5323
2014-04-29 15:07:23 +01:00
Mike Jolley
2802ded47e
Change label and add description Closes #4698
2014-04-29 15:07:06 +01:00
Max Rice
7e2fa1bbd6
Clear cached API reports when deleting shop order transients
2014-04-29 15:05:43 +01:00
Remi Corson
17abdb223a
fixed incorrect order received endpoit tooltip
2014-04-29 15:03:22 +01:00
splashingpixels
902e7e2506
fixed my account downloadables out of order
2014-04-29 15:02:51 +01:00
Akeda Bagus
86de4e10e1
Typo fix.
2014-04-29 15:02:43 +01:00
Christian Thomas
ede8bc1a2a
Update class-wc-emails.php
...
Check for a value against each meta item before outputting.
2014-04-29 15:02:38 +01:00
Akeda Bagus
e4a959e397
Removes unused block and var.
...
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-29 15:02:29 +01:00
claudiosmweb
92707eaf55
fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php
2014-04-29 15:02:03 +01:00
claudiosmweb
8ae788f73c
added method to stop save duplicate sku in quick edit
2014-04-29 15:01:32 +01:00
splashingpixels
8f5a98583a
removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318
2014-04-29 15:01:21 +01:00
Bass Jobsen
06af53bd8c
Update class-wc-frontend-scripts.php
...
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-29 15:00:46 +01:00
Max Rice
0e127a3e10
Update REST API documentation link
2014-04-29 14:59:12 +01:00
Mike Jolley
21033661ef
Print notices in view order template Closes #5348
2014-04-23 11:35:52 +01:00
Mike Jolley
433b8c1d41
Template cleanup
2014-04-23 11:35:43 +01:00
Mike Jolley
c451bc95dc
For customer search, join once. Performance increase.
2014-04-15 11:11:00 +01:00
Coen Jacobs
53889db5e4
This branch is now 2.1.8-bleeding
2014-04-10 16:46:18 +02:00
Mike Jolley
da0758696c
Version bump
2014-04-10 14:39:56 +01:00
Mike Jolley
67e4be0b5b
Prevent totals refreshing on every keydown event on the checkout
...
Fixes #5240
2014-04-10 14:23:32 +01:00
Mike Jolley
56c3ff2aa4
Minify checkout script
2014-04-10 14:08:12 +01:00
Mike Jolley
73528c1886
Lang
2014-04-10 14:07:49 +01:00
Mike Jolley
d43210a210
Language updates
2014-04-10 14:07:44 +01:00