Mike Jolley
384c07b367
Merge pull request #10262 from Spreeuw/issue-10252
...
default order to processing for non-catalog products
2016-02-05 12:21:43 +00:00
Mike Jolley
787d36dee4
Merge pull request #10232 from marcusds/master
...
Add filter to is_in_stock
2016-02-05 12:01:10 +00:00
Ewout Fernhout
a3634028fa
default order to processing for non-catalog products
...
fixes #10252
2016-02-03 14:48:19 +01:00
Agbonghama Collins
a742861cda
minor typo
...
Found this error while trying to understand how gateways are built on WooCommerce
2016-02-02 15:35:01 +01:00
Mike Jolley
64d4bb5172
[2.5] Round shipping after tax calc
...
#10076 and
https://wordpress.org/support/topic/when-calculating-shipping-total-forc
e-rounding?replies=6#post-7972623
2016-02-02 11:09:02 +00:00
Marcus
780614b14e
Add filter to is_in_stock
2016-02-01 11:09:12 -08:00
Mike Jolley
657521ffa4
[2.5] Don't show purchase note to admin
2016-01-27 15:30:07 +00:00
Mike Jolley
f8df682f34
Hide stock amount when children are involved
...
Closes #10172
2016-01-27 13:00:50 +00:00
Mike Jolley
9ca216310d
[2.5] When totalling up shipping, force round
...
Closes #10076
2016-01-27 11:06:08 +00:00
Claudio Sanches
2790307489
Changed allbuttons to select_buttons for multiselect #10079
2016-01-21 19:33:49 -02:00
Claudio Sanches
f4fddf2252
Merge pull request #10079 from woothemes/add/select-all-buttons-multiselect-field
...
Settings API: add optional "select all"/"select none" buttons to multiselect fields
2016-01-21 19:30:12 -02:00
Mike Jolley
4cfd8ff214
[2.5] Don't show downloads in admin email
2016-01-20 16:58:58 +00:00
Florian Ludwig
ddd5f9fb9b
Fixed attribute check for PHP 7 compatibility
2016-01-20 15:53:51 +01:00
Brett
a772457a32
remove unnecessary use of ternary operator
2016-01-20 12:30:56 +13:00
Joey Kudish
7bb99af123
Settings API: enhance multiselect fileds
...
Add optional "select all"/"select none" buttons to multiselect fields,
similarly to what already exists for the country field.
2016-01-14 22:07:31 -08:00
Mike Jolley
7ece70a6ae
Update _transaction_id
...
Closes #9970
2016-01-05 15:59:57 +00:00
Claudio Sanches
40d76ddc55
Merge pull request #9939 from frozzare/docs/abstract-wc-widget
...
Improve phpdoc comments for methods in abstract WC_Widget class
2016-01-04 12:59:32 -02:00
Fredrik Forsmo
513db93bd4
Improve phpdoc comments for methods in abstract WC_Widget class
2016-01-04 15:37:12 +01:00
Fredrik Forsmo
39f37b1e30
Improve phpdoc comments for methods in abstract WC_Shipping_Method class
2016-01-04 15:18:14 +01:00
Fredrik Forsmo
450ae6e7fd
Improve phpdoc comments and add missing param tags
2016-01-04 12:43:56 +01:00
Mike Jolley
520f1de24b
Merge pull request #9932 from frozzare/wc-order-phpdoc
...
Fix phpdoc tags for methods in abstract WC_Order class
2016-01-04 11:08:45 +00:00
Fredrik Forsmo
9c8ef67249
Add better phpdoc comments and missing param and return value
2016-01-03 10:22:53 +01:00
Fredrik Forsmo
b4a04a73ce
Fix phpdoc tags for methods in abstract WC_Order class
2016-01-03 10:00:02 +01:00
Mike Jolley
4bf40cedb1
Tweak logic
2015-12-23 12:50:28 +00:00
Peter
458c755b5f
Update abstract-wc-order.php
...
If the order has no shipping line, there must not generate an unnecessary shipping tax line with 0 value. It was happened if there is set a different tax class for shipping than tax classes of the actual product line items of the order, and the order has not got any shipping line.
The aim is to have the same tax calculation behavior if we create orders using the GUI (front end or back end), and the API.
This condition prevents to create the unnecessary tax line if there is no shipping methods of the order:
// Now calculate shipping tax
$matched_tax_rates = array();
$shipping_methods = $this->get_shipping_methods();
if ( ! empty( $shipping_methods ) ) {
......
}
This conditional solution is similar than calc_line_taxes() in WC_AJAX class:
// Get shipping taxes
if ( isset( $items['shipping_method_id'] ) ) {
.....
}
2015-12-21 23:42:59 +01:00
Mike Jolley
bf06b6d7c3
Filter non-images from gallery
...
Fixes #9875
2015-12-18 11:55:51 +00:00
Mike Jolley
f992f98b39
Merge branch 'pr/9790'
2015-12-14 12:48:11 +00:00
Mike Jolley
4b45812bac
Only one sanitise hook is needed
2015-12-14 12:48:03 +00:00
Mike Jolley
f3d6ce3c94
Round total discount to precision
...
Fixes #9834
2015-12-14 12:06:39 +00:00
Shiva Poudel
afd3aa2fc7
Let the additional third party widgets create and sanitize form fields
2015-12-08 16:19:49 +05:45
Claudio Sanches
ff637abb7b
Removed duplicated argument for PHP 7, closes #9788
2015-12-07 17:36:18 -02:00
Mike Jolley
dd2fe6ff49
Make WC_Abstract_Order::update_status() return boolean
...
closes #9777
2015-12-07 10:12:17 +00:00
Shiva Poudel
88d7713a86
Modified checkbox class value from widefat
2015-12-05 05:26:28 +05:45
Shiva Poudel
69d6a25f5e
Refactor to format the value based on widget settings type
2015-12-05 05:25:51 +05:45
Claudio Sanches
d15c711855
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-04 21:17:47 -02:00
Max Rice
3befe1426f
Introduce WC_Product::get_id() method
2015-12-04 15:17:25 -05:00
Claudio Sanches
92582e21cb
Properly sanitize textarea field for widgets #9762
2015-12-04 17:14:42 -02:00
Shiva Poudel
b3cd28e323
Added textarea widget form field
2015-12-04 21:23:19 +05:45
Mike Jolley
1c364e79e4
Enforce min and max
...
Closes #9761
2015-12-04 14:53:25 +00:00
Patrick Garman
eb3dc97df9
Add filter to WC_Product::is_virtual()
2015-12-03 20:52:27 -05:00
Claudio Sanches
112f3bfc32
Merge pull request #9723 from shivapoudel/widget-field-class
...
Added support for class in each widget fields
2015-12-02 13:40:41 -02:00
Mike Jolley
350078b779
Merge branch 'pr/9708'
2015-12-02 12:42:09 +00:00
Mike Jolley
869dee2726
No need for rating HTML as we have no styling
2015-12-02 11:50:41 +00:00
Mike Jolley
328a84d278
Floatval to get rid of stray decimals
2015-12-02 11:46:51 +00:00
Shiva Poudel
2881587c44
Don't use key as default class
2015-12-02 15:47:57 +05:45
Mike Jolley
2e553cf220
Show order refunds in totals
...
Fixes #9589 @claudiosmweb
2015-11-30 15:25:48 +00:00
Mike Jolley
b5a2c2a9d5
Unify all order email tables to use a single template
...
Closes #9587
@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Shiva Poudel
532c1f9474
Added support for class in each widget fields
2015-11-30 12:11:29 +05:45
Claudio Sanches
753014da5a
Merge pull request #9631 from woothemes/transient-tweaks
...
Transient tweaks
2015-11-21 22:48:14 -02:00
Illimar Tambek
d91dfb6fe6
Introduce woocommerce_recorded_sales action hook
2015-11-19 18:07:04 +02:00