Reverted: User should be redirected to view cart page after adding the product

from compare product screen
(OFBIZ-10667)

Revert r1847478

There was a problem with this fix. It changes the behaviour of additem when you 
add an item from the main or another page.

The behaviour is defined by the "Always View Cart After Adding An Item." 
checkbox in the cart view.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1847530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2018-11-27 11:27:39 +00:00
parent a801e93e0e
commit baae0891eb
@@ -240,7 +240,7 @@ under the License.
<request-map uri="additem">
<security https="false" auth="false"/>
<event type="java" path="org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCart"/>
<response name="success" type="view" value="showcart" save-last-view="true"/>
<response name="success" type="view-last" value="showcart" save-last-view="true"/>
<response name="survey" type="view" value="survey"/>
<response name="product" type="view" value="product"/>
<response name="viewcart" type="request-redirect-noparam" value="showcart"/>