fixed more c2 bugs
added a workflow activity that removes EMS items from the cart if they've been in there too long
This commit is contained in:
parent
7e4e7898c0
commit
02c24aa44a
7 changed files with 128 additions and 3 deletions
|
|
@ -502,7 +502,7 @@ Update the cart and then redirect the user to the payment gateway screen.
|
|||
|
||||
=cut
|
||||
|
||||
sub www_continueShopping {
|
||||
sub www_checkout {
|
||||
my $self = shift;
|
||||
$self->updateFromForm;
|
||||
if ($error{id $self} ne "") {
|
||||
|
|
@ -643,7 +643,7 @@ sub www_view {
|
|||
formFooter => WebGUI::Form::formFooter($session),
|
||||
updateButton => WebGUI::Form::submit($session, {value=>$i18n->get("update cart button")}),
|
||||
checkoutButton => WebGUI::Form::submit($session, {value=>$i18n->get("checkout button"),
|
||||
extras=>q|onclick="this.form.shop.value='pay';this.form.method.value='selectPaymentGateway';this.form.submit;"|}),
|
||||
extras=>q|onclick="this.form.method.value='checkout';this.form.submit;"|}),
|
||||
continueShoppingButton => WebGUI::Form::submit($session, {value=>$i18n->get("continue shopping button"),
|
||||
extras=>q|onclick="this.form.method.value='continueShopping';this.form.submit;"|}),
|
||||
chooseShippingButton => WebGUI::Form::submit($session, {value=>$i18n->get("choose shipping button"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue