File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 4
4
- fixed #12195: Visitor group by scratch membership shared among all Visitors (Dale Trexel)
5
5
- fixed #12227: Corrected AssetReport such that OrderBy works correctly.
6
6
- fixed #12238: Old template attachement in search template slows down sites
7
+ - fixed #12239: Still get cart error message after removing extra recurring items from the cart
7
8
8
9
7.10.22
9
10
- rfe #12223: Add date type to content profiling (metadata)
Original file line number Diff line number Diff line change @@ -758,17 +758,18 @@ sub updateFromForm {
758
758
$item -> update({shippingAddressId => $itemAddressId });
759
759
}
760
760
}
761
- if ($self -> hasMixedItems) {
762
- my $i18n = WebGUI::International-> new($self -> session, " Shop" );
763
- $error {id $self } = $i18n -> get(' mixed items warning' );
764
- }
765
-
766
761
my @cartItemIds = $form -> process(' remove_item' , ' checkList' );
767
762
foreach my $cartItemId (@cartItemIds ) {
768
763
my $item = eval { $self -> getItem($cartItemId ); };
769
764
$item -> remove if ! Exception::Class-> caught();
770
765
}
771
766
767
+ # #Remove the items BEFORE we check to see if there are duplicates.
768
+ if ($self -> hasMixedItems) {
769
+ my $i18n = WebGUI::International-> new($self -> session, " Shop" );
770
+ $error {id $self } = $i18n -> get(' mixed items warning' );
771
+ }
772
+
772
773
# #Visitor cannot have an address book, or set a payment gateway, so skip the rest of this.
773
774
return 1 if $session -> user-> isVisitor;
774
775
You can’t perform that action at this time.
0 commit comments