diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 00ebaefd9..09becbfd4 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.9.5 + - fixed #11556: New cart doesn't work with other forms on the same page 7.9.4 - We're shipping underscore.js now for its suite of extremely handy utility diff --git a/lib/WebGUI/Shop/Cart.pm b/lib/WebGUI/Shop/Cart.pm index 395049179..6c66f78f6 100644 --- a/lib/WebGUI/Shop/Cart.pm +++ b/lib/WebGUI/Shop/Cart.pm @@ -968,7 +968,7 @@ sub www_view { my %var = ( %{$self->get}, - formHeader => WebGUI::Form::formHeader($session) + formHeader => WebGUI::Form::formHeader($session, { extras => q|id="wgCartId"|, }) . WebGUI::Form::hidden($session, {name=>"shop", value=>"cart"}) . WebGUI::Form::hidden($session, {name=>"method", value=>"update"}) . WebGUI::Form::hidden($session, {name=>"itemId", value=>""})