Product Accessories at top of basket page
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Product Accessories at top of basket page
I'm trying to move the product accessories to the top of the basket page instead of an intervening page. There is some kind of error, but I don't know what it is because I keep getting redirected to default.aspx. I've turned on debug and trace and tried attaching to the process in VS 2008 and checked the error log but still can't get an error message. Does anyone know another way to get an error message?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Product Accessories at top of basket page
Server App log on the server console will give you the error.
Or, remote console the server and redo the steps to produce the error. 9/10 times the web.config is set to throw errors to the browser if the browser is local.
Or, remote console the server and redo the steps to produce the error. 9/10 times the web.config is set to throw errors to the browser if the browser is local.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Product Accessories at top of basket page
Where is this located on an XP Pro machine? I had checked the event viewer earlier and couldn't find anything.
Thanks
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Product Accessories at top of basket page
Judy,
First make sure than customErrors mode="Off" in web.config (it probably is unless you turned it on). Then try adding an Application_Error event handler to global.asax. This article shows several examples,
http://support.microsoft.com/kb/306355
First make sure than customErrors mode="Off" in web.config (it probably is unless you turned it on). Then try adding an Application_Error event handler to global.asax. This article shows several examples,
http://support.microsoft.com/kb/306355
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Product Accessories at top of basket page
OK, thanks for the info about the event handler
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Product Accessories at top of basket page
Right-click My Computer and click "Manage". Event Viewer is the first option.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Product Accessories at top of basket page
That's the event viewer I checked in, but from a different path. There was nothing there. I think I'm going to take off the basket items, etc in the basket page and see if I can narrow down what the problem might be.
Thanks
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Product Accessories at top of basket page
Judy,
How can we bypass the productaccessories page and go straight to the Basket page after a product is added to the cart? I do not like the extra productaccessories page at all.
Thank you very much.
How can we bypass the productaccessories page and go straight to the Basket page after a product is added to the cart? I do not like the extra productaccessories page at all.
Thank you very much.
AC 7.0.3 build 13937
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Product Accessories at top of basket page
You need to take this section out of the ConLib/BuyProductDialog.ascx.cs
//Determine if there are associated Upsell products
if (basketItem.Product.GetUpsellProducts(basket).Count > 0)
{
//redirect to upsell page
string returnUrl = NavigationHelper.GetEncodedReturnUrl();
Response.Redirect("~/ProductAccessories.aspx?ProductId=" + basketItem.ProductId + "&ReturnUrl=" + returnUrl);
}
//Determine if there are associated Upsell products
if (basketItem.Product.GetUpsellProducts(basket).Count > 0)
{
//redirect to upsell page
string returnUrl = NavigationHelper.GetEncodedReturnUrl();
Response.Redirect("~/ProductAccessories.aspx?ProductId=" + basketItem.ProductId + "&ReturnUrl=" + returnUrl);
}
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx