Integrate Basket.aspx

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
tim.regulski
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Tue Dec 09, 2008 12:22 am

Integrate Basket.aspx

Post by tim.regulski » Tue Dec 09, 2008 12:30 am

Hello,

I am working on a web site that needs a subset of the features of AbleCommerce (a basket, product fullfillment, cc transactions, etc.).

When I try to integrate Basket.aspx into my existing VS 2005 project, I found that I needed to add the dependencies (I added all of them [the ones found in the bin/ folder] just in case) and to include the ~/Layouts folder.

When I try to compile the project, I get a lot of compilation errors, especially from the AdminPanel.ascx.cs and EditScriptlet.ascx.cs files. The error messages usually indicate that certain variables do not exist for that page. For example, for the AdminPanel.ascx.cs page, the compiler cannot find the variables for "PagePath" and "PagePath2", even though the IDE shows that they exist using IntelliSense, and they exist in the ascx file.

Any help would really be appreciated. I am currently evaluating this software, and would like to see if it will meet my needs.
Thanks.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Integrate Basket.aspx

Post by sohaib » Thu Dec 18, 2008 11:33 am

Can you please explain how you have setup your project and how do you want to include only the 'Basket.apsx' page to your project?

I would have started by creating a Web Site for AC7 in IIS and then I would have chosen in my existing VS solution File->Add->Existing Web Site and selected the newly created AC7 website.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Integrate Basket.aspx

Post by mazhar » Thu Dec 18, 2008 11:49 am

Some master pages in Layout folder also makes use of the App_Code/PageHelper.cs so add that also. In Bin folder you should have
//BIN
AjaxControlToolkit.dll
CommerceBuilder.Configuration.dll
CommerceBuilder.dll
CommerceBuilder.Web.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.ObjectBuilder.dll
Microsoft.Web.Preview.dll
Validators.dll

Also edit the web.config for AJAX configurations.

Post Reply