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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user