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
Mike Jolley
3e8ba7d591
Merge pull request #8062 from Victoor/master
...
Add order to woocommerce_get_return_url filter
2015-05-01 15:36:16 +01:00
Mike Jolley
d6604cb668
Split order details into customer + item templates. Tidied up codebase/template based logic.
...
cc @jameskoster
2015-05-01 14:50:18 +01:00
Mike Jolley
77941a57c5
New way to gather item meta with bw compatibility on item meta class
...
#7210
This also includes a new template file for order item details.
@jameskoster Version bumping the order details template. Splitting it
up some more in next commit.
2015-05-01 12:42:29 +01:00
Víctor Falcón
226d940e72
Add order to woocommerce_get_return_url filter
2015-04-28 14:48:39 +02:00
Mike Jolley
30d2ab8af8
Avoid setting is_customer_note when 0
...
Closes #7995
2015-04-23 11:50:09 +01:00
Mike Jolley
9f57025a1e
Remove unnecessary stock notice
...
Closes #7990
2015-04-23 11:04:16 +01:00
Mike Jolley
9debd84a7f
Merge pull request #7978 from InoPlugs/patch-3
...
[2.3] Update abstract-wc-order.php
2015-04-20 11:12:25 +01:00
InoPlugs Webdesign
520282ff16
Update abstract-wc-order.php
...
Using a wrong key name -> 'cart_discount_tax' is calculated wrong a few lines below (= $cart_subtotal_tax)
2015-04-18 14:44:39 +02:00
Spreeuw
1e2d0775c4
tax text for negative shipping (refunds)
2015-04-17 12:45:32 +02:00
Spreeuw
3f0b589797
Make get_shipping_to_display compatible with refunds
2015-04-17 12:38:08 +02:00
Mike Jolley
467a269175
Only set author for user added notes so system notes can be distinguished
2015-04-17 11:23:09 +01:00
Mike Jolley
9f65d2a1fc
Added priorities for shipping methods to give more control over defaults.
...
Closes #7871
2015-04-13 15:32:57 +01:00
Mike Jolley
06f2ac2f09
[2.3] Remove rounding from shipping cost to greater precision with taxes
2015-03-31 13:59:17 +01:00
Mike Jolley
c410771de2
[2.3] Calculate taxes should save _line_tax_data
2015-03-31 13:21:10 +01:00
Mike Jolley
c6dae2b286
Merge pull request #7834 from SiR-DanieL/scrutinizer-issues
...
Small tweaks and style fixes
2015-03-30 10:33:27 +01:00
Nicola Mustone
95cdb0390f
fix related products error
2015-03-27 17:52:21 +01:00
Nicola Mustone
214a0b669f
splitted get_related for complexity
2015-03-27 17:28:26 +01:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00