You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Tim Ruppert <ti...@hotwaxmedia.com> on 2007/09/27 03:04:52 UTC
Re: Show cart after user add item?
It's on the product store - flip the switch. viewCartOnAdd I think.
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com
o:801.649.6594
f:801.649.6595
On Sep 26, 2007, at 7:05 PM, Phillip Rhodes wrote:
> Hi,
> Currently, when the user adds an item to the cart, they remain on
> the product page. I would like the application to direct them to
> the cart page.
>
> I looked at the controller.xml for the ecommerce application. What
> is confusing me is that the additem action appears to send the user
> to the cart. The item does get put into the cart.
> I was hoping someone will point out my misunderstanding.
> Thanks!
>
> <request-map uri="additem">
> <security https="false" auth="false"/>
> <event type="java"
> path="org.ofbiz.order.shoppingcart.ShoppingCartEvents"
> invoke="addToCart"/>
> <response name="success" type="view" value="showcart"/>
> <response name="survey" type="view" value="survey"/>
> <response name="viewcart" type="request-redirect"
> value="showcart"/>
> <response name="error" type="view" value="showcart"/>
> </request-map>
>
>
>
> \