claudiosmweb
676549b4ab
Fixed docblock for WC_Product::get_categories()
2014-12-01 22:09:42 -02:00
Bryce
83a457b29c
improve get_rating_count() for rating-less reviews
...
Should close #6839 .
According to `woocommerce_enable_review_rating` &
`woocommerce_review_rating_required`, it will do a different DB query,
so that when reviews without ratings are allowed, it will do a query
that counts those comments as reviews.
2014-11-27 14:32:09 +07:00
Barry Kooij
47cc448028
Added correct docblock.
2014-11-21 22:34:30 +01:00
Barry Kooij
4b539e7a9a
Merge branch 'master' of github.com:woothemes/woocommerce
2014-11-21 22:31:17 +01:00
Barry Kooij
6ebadd572a
Added correct docblock.
2014-11-21 22:31:09 +01:00
Michael Tieso
70d5fc834a
Spelling correction - calculdate to calculate
2014-11-21 13:26:32 -08:00
Barry Kooij
f8a161c406
Documentation improvement.
2014-11-21 22:16:15 +01:00
Barry Kooij
ae1ed2b7f6
Added missing param docblock.
2014-11-21 22:14:13 +01:00
Barry Kooij
b131f250b6
Added missing docblock return statement.
2014-11-21 22:12:37 +01:00
Barry Kooij
64227fe9d8
Added missing docblock
2014-11-21 22:12:03 +01:00
Barry Kooij
33b53c30b5
Updated docblock and added return statement.
2014-11-21 22:09:46 +01:00
Gerhard
fa42c9d397
Change remove_order_items subqueries to inner joins.
...
Closes #6804
Hat tip Jason @ WPEngine
2014-11-21 09:18:31 +02:00
claudiosmweb
b4e544e5dc
Fixed coding styles and docblocks
2014-11-20 00:14:06 -02:00
claudiosmweb
6d4650dd7b
Declared all Settings API variables
2014-11-19 23:11:08 -02:00
claudiosmweb
74ba11c189
Removed some unused code
2014-11-19 21:36:47 -02:00
claudiosmweb
d4c480a6ea
Fixed process_refund() docblock
2014-11-19 21:14:28 -02:00
claudiosmweb
e87aefc8e0
Fixed missing initial $query = array()
2014-11-19 16:26:10 -02:00
claudiosmweb
f34cead914
Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax()
2014-11-18 14:45:29 -02:00
Mike Jolley
e476a3f76b
Merge pull request #6785 from SiR-DanieL/make_clickable
...
Automatically creates clickable links in item metas
2014-11-18 16:21:29 +00:00
claudiosmweb
da43955416
Introduces the wc_get_default_location() function
2014-11-18 12:56:13 -02:00
Nicola Mustone
913cc42c06
Fixes https://github.com/woothemes/woocommerce-product-addons/issues/24
2014-11-18 14:22:21 +01:00
claudiosmweb
6077a10e44
Removed some dead variables
2014-11-18 10:42:54 -02:00
Mike Jolley
e6a5825f8c
Some shipping class tidyup
2014-11-17 16:30:18 +00:00
Mike Jolley
65ace6818b
Merge pull request #6757 from tamarazuk/master
...
Introduce `woocommerce_product_is_on_sale` filter
2014-11-17 14:11:59 +00:00
claudiosmweb
24e17e36d3
Preventing errors when adding a widget using the WP Customize
...
Fixed coding standards and used methods from WC_Widget for start and end the widget
2014-11-14 23:12:59 -02:00
Tamara Zuk
20655d367d
Introduce `woocommerce_product_is_on_sale` filter
...
This filter is useful for extensions like Measurement Price Calculator
which alter the product price quite a bit, but would still like the
sale badge to appear :)
Current workaround is to use three filters ( `woocommerce_get_price`,
`woocommerce_get_regular_price`, and `woocommerce_get_sale_price` )
which most extension may be using already, but not all need/want to
alter these prices.
2014-11-14 18:00:03 -05:00
Mike Jolley
2e2ce3c286
[2.2] During refunds, correctly set shipping tax totals
...
Fixes #6691
2014-11-14 12:52:43 +00:00
Marin Atanasov
7c5be1ebde
fixing small typo
2014-11-11 22:32:06 +02:00
Mike Jolley
cb8fe34b4c
get_base_tax_rates() + filter. Closes #6668
2014-11-11 11:56:17 +00:00
Mike Jolley
69ca69ce52
Split up the product widget methods
2014-10-29 11:07:06 +00:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley
e4b212cb3a
[2.2] Fix stock report queries Closes #6565
2014-10-21 14:50:18 +01:00
Mike Jolley
1922b377e8
Corrected comment
2014-10-20 16:10:39 +01:00
Mike Jolley
8766cfa6df
Tweak woocommerce_get_price_html_from_to in #6455
2014-10-17 16:25:54 +01:00
Mike Jolley
2668f0b8dd
Merge pull request #6455 from paulwilde/from-to-filters
...
Introduce filters to get_price_html_from_text() and get_price_html_from_to()
2014-10-17 16:25:16 +01:00
Tamara Zuk
f34187d5d3
Allow for non-integer stock quantities
...
It looks like a3b522aff8
removed this
ability.
This would be very useful for extensions like Measurement Price
Calculator.
2014-10-17 00:52:56 -04:00
Mike Jolley
e03cf9c204
Set order_type property, and move actual order loading to separate method to make it easier for sub-classes to handle just that process.
...
Closes #6513
2014-10-14 14:25:53 +01:00
Mike Jolley
30edd0aa05
[2.2] Prevent notice if meta is not set Closes #6514
2014-10-14 11:26:14 +01:00
claudiosmweb
61e96b0a8b
Prevent warnings in WC_Shipping_Method::is_available() when exclude countries
2014-10-10 23:01:19 -03:00
claudiosmweb
86ef09970a
Prevented warnings when countries is empty in shipping methods.
...
Stopped this erros:
PHP Warning: array_intersect(): Argument #1 is not an array in
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php
on line 182
PHP Warning: in_array() expects parameter 2 to be array, null given in
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php
on line 194
@mikejolley
2014-10-10 22:46:19 -03:00
Mike Jolley
e9393ddaf7
Settings API should use h3 rather than h4 when outputting titles
2014-10-08 15:06:38 +01:00
Mike Jolley
80716fbd46
Corrected get_return_url docblock
2014-10-07 11:09:38 +01:00
Mike Jolley
742594e207
Tweaks to order class
2014-10-07 11:09:29 +01:00
Mike Jolley
700369c386
Refund report changes
...
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.
Closes #6411
2014-10-06 13:39:53 +01:00
Paul Wilde
279c01d005
Introduce filters to get_price_html_from_text() and get_price_html_from_to().
2014-10-02 20:11:34 +01:00
Mike Jolley
e5ebeff99c
Merge pull request #6383 from BFTrick/iss-6358
...
Refactoring Email Classes to Use One Send Method
2014-10-02 14:00:18 +01:00
mgiulio
56c2e5838d
Fix get_cart_tax() comment
2014-09-29 17:11:34 +02:00
Patrick Rauland
1498198215
renaming and moving abstract-wc-email file
2014-09-23 10:12:43 -06:00
shivapoudel
303a5b28d0
Absolute path fix for abstract classes :)
2014-09-21 00:24:49 +05:45
Mike Jolley
493285f101
When updating order status, ensure its a valid WC order status.
...
Fixes #6285
2014-09-17 12:24:10 +01:00