commerce checkout empties the cart when checkout fails.

This commit is contained in:
Matthew Wilson 2006-05-19 18:51:53 +00:00
parent c3f0c19f1b
commit 9acd445087

View file

@ -456,7 +456,7 @@ sub www_checkoutSubmit {
push(@resultLoop, $var);
}
$shoppingCart->empty;
$shoppingCart->empty unless ($checkoutError);
$param{title} = $i18n->get('transaction error title');
$param{statusExplanation} = $i18n->get('status codes information');