Merge pull request #6819 from michaeltieso/patch-1
Spelling correction - calculdate to calculate
This commit is contained in:
commit
61513b34b0
|
@ -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