Spelling correction - calculdate to calculate
This commit is contained in:
parent
f8a161c406
commit
70d5fc834a
|
@ -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.
|
* 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
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_price_including_tax( $qty = 1, $price = '' ) {
|
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.
|
* 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.
|
* 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
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_price_excluding_tax( $qty = 1, $price = '' ) {
|
public function get_price_excluding_tax( $qty = 1, $price = '' ) {
|
||||||
|
|
Loading…
Reference in New Issue