here's a try.

This commit is contained in:
Matthew Wilson 2006-05-10 07:18:34 +00:00
parent ad0402b8c9
commit e4361f8a64

View file

@ -393,7 +393,7 @@ sub www_checkoutSubmit {
# pass in the quantity and the normal items in the cart. # pass in the quantity and the normal items in the cart.
?($_->{item}->priceLineItem($_->{quantity},\@copyOfNormal)) ?($_->{item}->priceLineItem($_->{quantity},\@copyOfNormal))
:undef; :undef;
$transaction->addItem($_->{item}, $_->{quantity}); $transaction->addItem($_->{item}, $_->{quantity},$priceLineItem);
# use the item plugin's lineItem method for price override # use the item plugin's lineItem method for price override
# situations. # situations.
$amount += ($priceLineItem) $amount += ($priceLineItem)