Merge branch 'master' of github.com:woothemes/woocommerce
This commit is contained in:
commit
4b539e7a9a
|
@ -745,7 +745,7 @@ class WC_Product {
|
|||
/**
|
||||
* Returns the price (including tax). Uses customer tax rates. Can work for a specific $qty for more accurate taxes.
|
||||
*
|
||||
* @param string $price to calculdate, left blank to just use get_price()
|
||||
* @param string $price to calculate, left blank to just use get_price()
|
||||
* @return string
|
||||
*/
|
||||
public function get_price_including_tax( $qty = 1, $price = '' ) {
|
||||
|
@ -799,7 +799,7 @@ class WC_Product {
|
|||
* Returns the price (excluding tax) - ignores tax_class filters since the price may *include* tax and thus needs subtracting.
|
||||
* Uses store base tax rates. Can work for a specific $qty for more accurate taxes.
|
||||
*
|
||||
* @param string $price to calculdate, left blank to just use get_price()
|
||||
* @param string $price to calculate, left blank to just use get_price()
|
||||
* @return string
|
||||
*/
|
||||
public function get_price_excluding_tax( $qty = 1, $price = '' ) {
|
||||
|
|
Loading…
Reference in New Issue