Mike Jolley
32a770cf0e
Merge pull request #5416 from bolderelements/patch-2
...
Update abstract-wc-shipping-method.php
2014-05-06 14:53:10 +01:00
Mike Jolley
0f81541870
Revise how variation attributes are deleted/updated
...
Prevents issues with WPE caching when you delete and then update right
after.
2014-05-06 10:47:23 +01:00
Mike Jolley
ffa1db6ae6
Add $package to is_available shipping method hooks
2014-05-06 09:34:25 +01:00
Dave Mainville
cabc84bf61
Closes #5424
2014-05-05 16:37:57 -04:00
Tamara Zuk
651f1ac96f
Introduce woocommerce_product_backorders_allowed filter
2014-05-04 17:29:43 -04:00
bolderelements
fb80f6ba09
Update abstract-wc-shipping-method.php
...
The order is backward so if you use the default 'is_available' function for your extensions, the 'excluding' option will always deny every country because this line returns an empty array.
2014-05-03 15:59:01 -04:00
tamarazuk
ec1b16340b
COD: no need to hide in admin
...
Also fixes a fatal error when WC()->payment_gateways()->get_available_payment_gateways() is called in the admin
2014-05-03 01:32:37 -04:00
Max Rice
a007f2e8d7
Fix fee/coupon lines typo in REST API order response
2014-05-02 15:26:30 -04:00
Mike Jolley
72849cb4db
Stop sending line items to Mijireh Fixes #5365
...
Like PayPal, Mijireh struggles with out prices including tax due to
rounding errors. Since the validation cannot be disabled, its better to
just send the order as 1 item. This will prevent rounding errors and
payment failures.
Prices excluding tax are unaffected.
2014-05-01 15:29:28 +01:00
Mike Jolley
173d483ac0
Add tool for disabling shipping rate cache for debug
2014-05-01 14:40:31 +01:00
Mike Jolley
b7efaea79f
Tidyup brackets
2014-05-01 14:40:31 +01:00
Mike Jolley
13caa07cc2
Sanitize, but decode. UTF-8 Friendly. Fixes #5401
...
Originally changed 34db5d68b6
2014-05-01 14:40:31 +01:00
Mike Jolley
c9378cf092
Merge pull request #5402 from aMoniker/master
...
fix case-insensitive matching for coupon posts with uppercase chars
2014-05-01 12:23:04 +01:00
Mike Jolley
3034f40431
Merge pull request #5406 from kadimi/master
...
Make the welcome page RTL compatible. Fixes #5405
2014-05-01 12:13:30 +01:00
Nabil Kadimi
246b9ba1fa
Make the welcome page RTL compatible. Fixes #5405
2014-05-01 09:50:19 +01:00
Jim Greenleaf
3b1f54f86c
fix case-insensitive matching for coupon posts with uppercase chars
2014-04-30 23:29:29 -04:00
Coen Jacobs
34726ab6bc
Merge branch '2.1'
...
Conflicts:
i18n/languages/woocommerce-admin.pot
i18n/languages/woocommerce.pot
includes/admin/post-types/class-wc-admin-cpt-product.php
includes/class-wc-form-handler.php
package.json
readme.txt
woocommerce.php
2014-04-30 14:30:42 +02:00
James Koster
657773c2f4
twenty thirteen spacing.
2014-04-30 11:24:09 +01:00
Mike Jolley
ec1d521fde
Only output wrappers on order-review when not loaded via ajax
2014-04-30 11:20:43 +01:00
Mike Jolley
ec5cb0cffa
Only output wrappers on order-review when not loaded via ajax
2014-04-30 11:20:25 +01:00
Mike Jolley
a042bd00dd
Minify
2014-04-30 11:20:25 +01:00
James Koster
1839f7032b
twenty thirteen spacing.
2014-04-30 11:07:51 +01:00
Mike Jolley
ae50b3e4ce
Remove title from product not purchasable message
2014-04-30 10:05:05 +01:00
Mike Jolley
55ad5bb0ad
Remove title from product not purchasable message
2014-04-30 10:04:16 +01:00
Mike Jolley
96507fa3f4
typo in readme
2014-04-29 15:46:35 +01:00
Mike Jolley
92e98be218
Update read me file for 2.2 commits
2014-04-29 15:37:48 +01:00
Mike Jolley
f64904307f
Translation updates
2014-04-29 15:31:56 +01:00
Mike Jolley
b9ddcfb3d9
Translation updates
2014-04-29 15:31:54 +01:00
Mike Jolley
01c053708b
POT files
2014-04-29 15:28:17 +01:00
Mike Jolley
91e017ba18
Minification
2014-04-29 15:27:31 +01:00
Mike Jolley
5da8bee690
2.1.8 read me and versioning
2014-04-29 15:27:10 +01:00
Mike Jolley
d20c0c30c2
Prevent duplicate admin menu items Closes #5380
2014-04-29 15:23:49 +01:00
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