Order total may be calculated with or without discounted items
This commit is contained in:
@@ -68,17 +68,19 @@ interface FacadeInterface
|
|||||||
/**
|
/**
|
||||||
* Return Products total price
|
* Return Products total price
|
||||||
* CartTotalPrice = Checkout total - discount - postage
|
* CartTotalPrice = Checkout total - discount - postage
|
||||||
|
* @param bool $withItemsInPromo true (default) if item in promotion should be included in the total, false otherwise.
|
||||||
*
|
*
|
||||||
* @return float
|
* @return float
|
||||||
*/
|
*/
|
||||||
public function getCartTotalPrice();
|
public function getCartTotalPrice($withItemsInPromo = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return Product total tax price
|
* Return Product total tax price
|
||||||
|
* @param bool $withItemsInPromo true (default) if item in promotion should be included in the total, false otherwise.
|
||||||
*
|
*
|
||||||
* @return float
|
* @return float
|
||||||
*/
|
*/
|
||||||
public function getCartTotalTaxPrice();
|
public function getCartTotalTaxPrice($withItemsInPromo = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the Checkout currency EUR|USD
|
* Return the Checkout currency EUR|USD
|
||||||
|
|||||||
Reference in New Issue
Block a user