Mike Jolley
1ec3cb0ef6
[2.4] Default value should not apply if value of option is 0
...
Fixes #9270 @claudiosmweb
2015-10-05 15:07:46 +01:00
Mike Jolley
42d90594af
Fix password with & saving
...
@claudiosmweb
2015-10-05 14:09:11 +01:00
Mike Jolley
d4fbe0e45c
Use SKU for stock order notes
...
Fixes #9133
2015-10-01 18:13:37 +02:00
Claudio Sanches
1522a4d87b
Added download-url class in WC_Abstract_Order::display_item_downloads(), closes #9158
2015-09-21 18:28:03 -03:00
Mike Jolley
0c56fe0844
Merge pull request #9149 from JeroenSormani/stock-changes
...
Add get_stock_quantity filter
2015-09-17 10:57:47 +01:00
JeroenSormani
cb75a1e8af
Add get_stock_quantity filter
2015-09-17 10:19:04 +02:00
Mike Jolley
83838358fe
Revert "Merge pull request #8768 from SiR-DanieL/session-delete"
...
This reverts commit f63c500848
, reversing
changes made to 2a31d1fe98
.
2015-09-16 13:38:28 +01:00
Mike Jolley
f63c500848
Merge pull request #8768 from SiR-DanieL/session-delete
...
Instroducing WC_Session::delete
2015-09-16 10:34:51 +01:00
Nicola Mustone
7d6bf488c9
using unset also in the magic method
2015-09-16 11:34:22 +02:00
Nicola Mustone
6bc17c65c8
delete to unset
2015-09-16 11:34:03 +02:00
Claudio Sanches
f7d035e739
Merge pull request #9084 from rchq/patch-1
...
Added an action for notifications
2015-09-15 19:59:16 -03:00
Mike Jolley
0830543c4f
Add disclaimer to woocommerce_adjust_non_base_location_prices
2015-09-15 16:01:11 +01:00
Mike Jolley
4959937689
Merge branch 'universal-pricing-test'
2015-09-15 15:57:04 +01:00
Mike Jolley
9f1a5e3c26
Remove unused arg
2015-09-15 12:51:45 +01:00
Mike Jolley
0164584aaf
Reduce stock once and record in _order_stock_reduced meta
...
Also clears up the payment_complete method
2015-09-15 12:39:16 +01:00
rchq
332c1bdf9c
Update abstract-wc-order.php
...
Created an action to be able to hook into and add additional notification triggers.
2015-09-08 11:00:22 -07:00
Mike Jolley
358f3f79fa
Don't use extract() in add_rate
...
#9057
2015-09-07 16:02:23 +01:00
James Koster
8eebc7c900
Free is an amount!
...
All product prices are wrapped in `span class=“amount”`. To make
themers lives easier let’s be consistent. When the product is free the
price should still be wrapped.
2015-09-04 11:19:52 +01:00
Mike Jolley
d90d562b42
Leave excl function alone
2015-09-04 10:57:22 +01:00
Mike Jolley
e08f8d8902
Apply woocommerce_adjust_non_base_location_prices to all prices
2015-09-04 10:48:50 +01:00
Mike Jolley
fad48bf800
Add filters to control shipped via text
2015-09-03 15:05:10 +01:00
Mike Jolley
fdb25fa0c3
Pass through tax_display
...
Fixes #8951
2015-08-26 13:05:52 +01:00
Mike Jolley
57bb0ebe25
Record manual order status change
2015-08-18 16:33:38 +01:00
Mike Jolley
1999dbe92d
Improve display_item_downloads numbering and use same function in emails.
2015-08-17 12:17:56 +01:00
Mike Jolley
63fe4a0c05
Correct docbloc Closes #8814
2015-08-13 18:05:55 +01:00
Nicola Mustone
1017798c6c
instroducing WC_Session::delete
2015-08-11 10:11:36 +02:00
Brent Shepherd
a826330ad0
Reinstate default value for $items
...
That was (accidentally?) removed with SHA: 877e39064
Fixes "PHP Notice: Undefined variable: items" when attempting to get
line items of a type that does not exist on the order, like coupons.
2015-08-07 12:12:08 -07:00
Mike Jolley
877e390646
Remove $type from prepare
2015-08-07 14:06:19 +01:00
Mike Jolley
4c8ef3ff33
Use esc_sql on item type instead of esc_attr
2015-08-07 11:37:19 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Mike Jolley
7f3c2a78c5
Get total functions should respect rounding settings.
...
Closes #8707
2015-08-05 14:33:53 +01:00
Mike Jolley
afd0e9edd4
Pass $this to filters
...
#8722
2015-08-05 13:49:27 +01:00
Nicola Mustone
9822edda0b
better naming
2015-08-05 13:54:20 +02:00
Nicola Mustone
9140ca0f76
added cross and up sells IDs filters
2015-08-05 11:01:47 +02:00
Mike Jolley
d6bd46c55d
Move expand_item_meta to own method
...
Fixes notices in some extensions (deposits)
2015-08-03 13:21:44 +01:00
Mike Jolley
ef798921aa
woocommerce_can_reduce_order_stock filter
...
Needed for extension (deposits)
2015-08-03 10:37:58 +01:00
Mike Jolley
7b2aec4791
Take item qty into consideration when refunding orders
...
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley
eb19532165
Show 'fee' label is empty
2015-07-28 11:32:53 +01:00
Mike Jolley
794af1c013
When the stock level is changed via update_post_meta ensure the stock_status is kept in sync
...
Closes #8605
2015-07-27 19:04:08 +01:00
Claudio Sanches
c95988bc8a
Improve password sanitization in WC_Settings_API, closes #8627
...
@mikejolley
2015-07-21 18:37:12 -03:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Mike Jolley
7285ce74e6
Tax display notice
2015-07-16 10:15:45 +01:00
Mike Jolley
f42fa85eab
Variation tax status should always come from parent
2015-07-15 19:12:12 +01:00
Mike Jolley
db473cc369
Move refund logic into main order class.
...
These methods are not defined in the abstract.
2015-07-15 16:02:26 +01:00
Mike Jolley
506b5ef3f6
Set total after update_shipping
...
Based on add_shipping code Closes #8475
2015-07-09 16:48:34 +01:00
Vignesh
91faacb4c9
Return the output directly
...
Return the output directly instead of variable.
2015-07-09 13:39:29 +05:30
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Mike Jolley
dc00921ced
Merge pull request #8486 from justinshreve/get-price-suffix-price-param
...
Add $price and $qty parameters to get_price_suffix
2015-06-30 12:59:43 +02:00
Justin Shreve
eb85cd1682
Add $price and $qty to get_price_suffix so custom values can be passed into get_price_including_tax and get_price_excluding_tax
2015-06-29 19:24:48 +00:00
Justin Sainton
4d5d018a34
Deprecate PHP4 constructor usage in widgets. This is deprecated in upcoming PHP versions.
2015-06-29 11:46:03 -07:00