This commit is contained in:
Matthew Wilson 2006-05-09 14:44:26 +00:00
parent 3cbda6f708
commit 7b18ee5361

View file

@ -393,7 +393,8 @@ sub www_checkoutSubmit {
# use the item plugin's lineItem method for price override
# situations.
$amount += ($_->{item}->{priceLineItem})
?($_->{item}->priceLineItem($_->{quantity},$shoppingCart))
# pass in the quantity and the normal items in the cart.
?($_->{item}->priceLineItem($_->{quantity},$normal))
:($_->{item}->price * $_->{quantity});
$var->{purchaseDescription} .= $_->{quantity}.' x '.$_->{item}->name.'<br />';
}