an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Development > General Programming > Add to Cart button that just stays on the page ...
Last Post 11/26/2009 10:02:32 PM By paulp. 2 replies.
11/24/2009 8:54:58 PM
paulp
Posts: 9
Joined: 11/3/2009
Location:Melb Aus
Add to Cart button that just stays on the page I'm on
Hi All
 
I made a page that displays a category products list with an add button.
 
Can I make an add button that will add the item to the cart and just stay on the page.
I don't want the user to have to go back to the list every time.
 
the user will most likely choose many things from this page, and I just want then to throw things in the cart from this page.
 
In addition how can I add a mini cart to the left block container?
 
Kind Regards Paul
11/25/2009 9:55:48 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Add to Cart button that just stays on the page I'm on
Check AddToCart method in web\store\product.ascx.cs. You can remove the redirect call and just simply refresh the current page.
 
Well, you just need to change web\store\MiniCart.ascx to a BlockUserControl. Please follow this blog entry.
 
 
DotShoppingCart Staff
11/26/2009 10:02:32 PM
paulp
Posts: 9
Joined: 11/3/2009
Location:Melb Aus
Re: Add to Cart button that just stays on the page I'm on
Thats Works great...
 
Thank you...