From 2a08053d14cc38966da5ada6be5c59918616a63a Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 20 Feb 2008 04:53:51 +0000 Subject: [PATCH] update tax calculation taking into account tax override on a per product basis --- designdocs/commerce.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designdocs/commerce.pod b/designdocs/commerce.pod index e8bb4c4ff..e5657a4be 100644 --- a/designdocs/commerce.pod +++ b/designdocs/commerce.pod @@ -996,7 +996,9 @@ calculate Returns a tax price. Calculates the tax price using the following formula: -total cart price * percentageOfPrice +sum( + sku price * ( $sku->getTaxRate? $sku->getTaxRate : percentageOfPrice) +) +