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
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
Gregory Karpinsky
9094bb0662
Do not FATAL on $product->has_file
2015-06-29 09:08:16 -04:00
Mike Jolley
71f2c25da4
Calc totals should not calc tax if disabled
2015-06-23 13:29:38 +01:00
Mike Jolley
e08e123988
Note version since
2015-06-19 13:43:18 +01:00
Gabor Javorszky
1dfb27f928
Adds WC_Abstract_Order->get_address
...
Adds a function to retrieve order address in non-localized, raw, non-formatted way.
2015-06-19 01:43:31 +01:00
Justin Shreve
133b9ce969
Implement the new color picker + preview for integrations as well.
2015-06-11 14:40:06 +00:00
Mike Jolley
bb4c303c39
get_type has no args
2015-06-08 12:22:26 +01:00
Mike Jolley
3c87e39ce6
Product get_type() method
2015-06-08 12:20:39 +01:00
Mike Jolley
60dd4474db
abstract email class should not exist ! legacy
2015-06-01 10:48:13 -03:00
Mike Jolley
ed99be9aed
Sanitize tooltips with htmlspecialchars and remove esc_attr usage
...
Part of #4
2015-06-01 13:36:03 +01:00
Claudio Sanches
51c8bbf87c
wrong nonce verification
2015-06-01 13:33:51 +01:00
Nathan Dawson
e535e005b7
Add a filter to override needs_shipping_address order method.
...
If an order doesn't have any shipping methods it's not possible to set needs_shipping_address to true. When 'woocommerce_cart_needs_shipping_address' is set to true the address needs to be shown on the front end and in confirmation emails.
2015-05-28 15:48:37 +01:00
Mike Jolley
5920b88d5d
Add classes to tax and shipping labels/notices
...
Closes #8189
2015-05-27 16:17:36 +01:00
Mike Jolley
28d838c5cd
[2.3] Related posts tweaks
...
Remove real randomness and add transient caching to improve performance.
The above was not worth the cost of the query - only users refreshing a
product page would see a difference.
2015-05-25 15:40:28 +01:00
Shiva Poudel
cadc1ab301
Add id for title
...
Fixes scrutinizer issues for not having param
2015-05-25 17:32:30 +05:45
Shiva Poudel
2871df7451
Move the validate checkbox method above select
2015-05-25 16:58:08 +05:45
Shiva Poudel
4d46b35590
Clean settings-api docblock
2015-05-25 16:56:44 +05:45
Shiva Poudel
d90bb50c20
Use get_field_key for validate_*_field
2015-05-25 16:41:08 +05:45
Shiva Poudel
3b9124e0cf
Use get_field_key for generate_*_html
2015-05-25 16:28:19 +05:45
Shiva Poudel
597b152407
Introduce get_field_key method for settings API
2015-05-25 16:18:28 +05:45
Mike Jolley
b8bcd24edd
[2.3] Combine transients for get_rating_count
...
@claudiosmweb
2015-05-25 02:00:20 +01:00
Mike Jolley
1b73322874
[2.3] Replace max_related_posts_query with wp_count_posts
2015-05-25 01:20:31 +01:00