an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 9/2/2010 12:29:39 PM By Bahram. 7 replies.
2/11/2009 2:53:53 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Continue Shopping
Luke,
 
What supposed the Continue Shopping button to do? it does nothing, Is it up to developer to customization? 

 

It confused our test users and the user experience tells that it should lead them to place to select another product.

 

Bahram

 

2/11/2009 4:15:11 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Continue Shopping
 It's a bug. In web\store\ItemAddedToCart.ascx.cs, please replace
 
               btnContinueShopping.Attributes.Add("onclick", string.Format("window.location.href='{0}'",
                    null == Request.UrlReferrer ? SiteNavigation.GetRewriterUrl("Product", cartItem.Product.SKU) : Request.UrlReferrer.AbsoluteUri));
with
 
                btnContinueShopping.OnClientClick = string.Format("window.location.href='{0}';return false;",
                    null == Request.UrlReferrer ? SiteNavigation.GetRewriterUrl("Product", cartItem.Product.SKU) : Request.UrlReferrer.AbsoluteUri);
 
DotShoppingCart Staff
5/28/2009 4:23:56 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Continue Shopping
Hi Luke,
 
It seems you forgot to update this code in V3.1. So the bug still is in the code.
 
 
Bahram
6/5/2009 12:40:32 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Continue Shopping
Continue Shopping should go to home page.
 
 
6/5/2009 12:45:43 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Continue Shopping
You can customize the software to what you need. People might have different needs.
DotShoppingCart Staff
6/5/2009 2:41:43 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Continue Shopping
So what will be the correct code to Navigate to home page
6/5/2009 3:16:54 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Continue Shopping
btnContinueShopping.OnClientClick = string.Format("window.location.href='{0}';return false;", SiteNavigation.HomePage);
DotShoppingCart Staff
9/2/2010 12:29:39 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Continue Shopping
 This code dos not work on IE, It works well on FF, Safari and chrome. What is the IE tweak?