Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

Page: 1 2 3 4 5
# leecook 12/19/2007 9:03 PM
Evening All,

There is now some code added to the Repository at: https://cuyahogacontrib.svn.sourceforge.net/svnroot/cuyahogacontrib/Cuyahoga.Modules.ECommerce/trunk

There are bugs, db scripts are out of date etc. But it should give you an insight into how we put this module together.

You should consider this release pre-alpha. So please don't moan if it does not all work yet!

Cheers,

Lee
# gedw99 12/21/2007 3:02 AM
wow, looks great.

after a brief look at the code there is alot in this Module that could be very useful when refactored into the Core of Cuyahoga perhaps.

# OrchideSwe 1/8/2008 9:45 AM
I have installed the module but when I try to add it to a section in a page I get this error:
An error occured: Can't create component 'module.Cuyahoga.Modules.ECommerce.ECommerceModule' as it has dependencies to be satisfied. module.Cuyahoga.Modules.ECommerce.ECommerceModule is waiting for the following dependencies: Services: - Cuyahoga.Modules.ECommerce.Service.ICommerceService which was registered but is also waiting for dependencies. ecommerce.commerceservice is waiting for the following dependencies: Services: - Cuyahoga.Modules.ECommerce.Service.Email.ITemplateEngine which was not registered. - Cuyahoga.Modules.ECommerce.Service.IChargeService which was not registered. - Cuyahoga.Modules.ECommerce.Service.IDeliveryService which was not registered. - Cuyahoga.Modules.ECommerce.Service.ICultureService which was not registered. 

What is causing this error?

I hope anyone can help me.

Best Regards,
Jonas

# leecook 1/8/2008 11:36 AM
Hi Jonas,

It has not been fully release yet and as you have found out there are some instructions missing!


For your problem i quickly created this:

http://ecommerce.igentics.com/ECommerceInstall.txt

There is probably more stuff that I have missed. ill try and create a proper install.txt tonight.

Cheers,

Lee
# OrchideSwe 1/9/2008 4:17 PM
Thanks Lee,

Can please post the install instructions here in the forum when u are done.

Br,
Jonas
# tuantmyb 4/9/2008 3:40 PM
hi leecook,
how is your progress about this module? when can we try your module?

Thanks,
Best regard!
# leecook 4/30/2008 11:56 PM
hello,

Sorry about the slow progress, but as usual, other projects get in the way. I still Intend to tidy it up and deliver a finished product at some point. We do have it working on a few websites, just a matter of getting it all inegrated into an easy to deploy module. As for time scales I dont know. I will try and comit something in May.

Regards,

Lee
# martijnb 5/2/2008 12:28 PM
Thanks for the update Lee, looking forward to it.
# leecook 5/3/2008 2:51 AM (edited 5/3/2008 4:09 AM)
Just trying to get the module running on the latest stable release (1.5.2) and I ran into a wierd problem.

When trying to add my module to a section it falls over.

After debugging, it is faling in this method:

public ModuleBase GetModuleFromType(ModuleType moduleType)
{
string modulekey = string.Concat("module.", moduleType.ClassName);
if (this._kernel.HasComponent(modulekey))
{
return (ModuleBase)this._kernel[modulekey];
}
else
{
if (log.IsDebugEnabled)
{
log.DebugFormat("Unable to find module with key '{0}' in the container.", modulekey);
}
return null;
}
}

Basically, it cant find the module in the kernel.Im probabbly just tierd and have missed something stupid. One thing that may be usefull, is that it complains about my one of my componets already being registered in my services.config file ( and it is only in there once ) the first time I start the application.

Any pointers anyone?
?*UPDATE *?
Ignore this...dll hell arose..my fault..
# leecook 5/4/2008 6:05 PM
A Small Note of caution for anyone upgrading a module to use the version of NHibernate that comes bundled with Cuyahoga 1.5.2. All of you your columns need to be marked as virtual in the code behind. Took me a while to spot that one! hope it saves someone some time.
# leecook 5/5/2008 6:46 PM
I'd like to gather some opinion of the way we should implement different markets / languages / currencies for the ECommerce Module?

One Store per cuyahoga site?

One store per cuyaghoga installation?

A market based system? ( you define markets which are composed of coutries - and the currencies avaliable for that market and the languages avaliable for that market)

Would you want different categories and products for each market/ languagae

ect ect

There are a million different ways to do this..each of which is perfectly possible..Just not sure what people would like.

A lot of progress, has been made this weekend and this is the last major piece of functionaility we would like to implement for this release. So the sooner you provide feedback, the sooner we can get it out of the door!

Regards,

Lee
# martijnb 5/6/2008 1:40 PM
leecookI'd like to gather some opinion of the way we should implement different markets / languages / currencies for the ECommerce Module?

One Store per cuyahoga site?

One store per cuyaghoga installation?

I'd like at least one store per site. It's possible to run multiple sites on one installation and in the future it's going to be possible to make users, roles, files and templates site-specific.
A market based system? ( you define markets which are composed of coutries - and the currencies avaliable for that market and the languages avaliable for that market)

Would you want different categories and products for each market/ languagae

ect ect

I'm no expert in the eCommerce field. I'd say just implement the simplest solution that will work for your situation and use feedback to see what other people need.

# leecook 5/6/2008 8:30 PM
Thanks for the respone martijn. We dont actually have a requirement for multi Language/ currency ect at the moment. The module served its purpose from an igentics perspective and this is just something Simon and myself are contributing as an open source effort.

I think we are going to go down this route:

Each 'site' can have an ECommerce Module. A site will not share products / categories / payment processor / delivery / promotions / configuration ect.

However we will provide a 'Magic button' to enable you to replicate your ECommerce stuff in another site.

This eliminates the need for multiple langugaes / currencies per store, as you can just run however many stores you want.


Just a Small Update on what we have done/ are doing at the moment.

I belive Simon has created a Branch today, where he intends to rip out NHibernate and use our own custom Data Access Layer to improve performance and reduce complexity. Technically, as everything is abstracted you could use what what ever access layer you want. you jsut have to write your own service to comply with out interface.

Work started on Multiple stores.

Added AutoMagic install of module.

Extended the Another Red template to fit the module.

Added Creation of a few different navigation menus.

Added Pagination of product lists

Added feature so that user can select multiple displays modes in the product list ( grid + list)

Added sorty by on the product list

Added filterable results per page

Added AJAX add to basket

INtegration of Cuyahoga User Management and ECommerce accounts

Proper SEO URL rewritting.

A LOAD of bug fixes.

Added product Comapre

Written some basic install documentation

more to come soon..


# martijnb 5/7/2008 9:27 AM
leecookI think we are going to go down this route:

Each 'site' can have an ECommerce Module. A site will not share products / categories / payment processor / delivery / promotions / configuration ect.

However we will provide a 'Magic button' to enable you to replicate your ECommerce stuff in another site.

This eliminates the need for multiple langugaes / currencies per store, as you can just run however many stores you want.

Sounds good for a start. I'm sure, once this is out in the wild, people run into situations where this is not an optimal solution, but I think it also might trigger some extra thinking from different people, so the end result will be better suited to common scenario's.
I belive Simon has created a Branch today, where he intends to rip out NHibernate and use our own custom Data Access Layer to improve performance and reduce complexity. Technically, as everything is abstracted you could use what what ever access layer you want. you jsut have to write your own service to comply with out interface.

Alright, the advantages of a loosely coupled architecture ;). Do you still plan to support multiple databases?

The feature list you're working on looks impressive. Good luck!

# leecook 5/7/2008 10:50 AM
Yes we still plan to support the multiple databases. I have no idea about mono though. Perhaps we can get someone to test than when we do a release as I will be keen to support it.
# mrt 5/9/2008 11:39 AM
Hi, the install instructions is now a 404, could anyone send me a copy or post it up here?

Thanks
# leecook 5/9/2008 12:34 PM
Hi,

We are doing a release soon hopefully, so I have taken everything down for the time being. Everything will be back soon.
# mrt 5/9/2008 3:23 PM
could I get a copy of the instructions so I can have a little play before you release?

Sorry to be a pain, I'm just really keen to try it out!

Thanks
# leecook 5/9/2008 5:19 PM
Ok its back up. But its out of date / not complete and the version in the trunk wont work with 1.5.2. Was built against 1.5.0 I think.
# hawnk 5/22/2008 5:30 PM
Cuyahoga Installation
An error occured: 

NHibernate.ADOException: could not execute query [ SELECT this_.userid as userid9_0_, this_.updatetimestamp as updateti2_9_0_, this_.username as username9_0_, this_.password as password9_0_, this_.firstname as firstname9_0_, this_.lastname as lastname9_0_, this_.email as email9_0_, this_.website as website9_0_, this_.timezone as timezone9_0_, this_.isactive as isactive9_0_, this_.lastlogin as lastlogin9_0_, this_.lastip as lastip9_0_, this_.inserttimestamp as insertt13_9_0_ FROM cuyahoga_user this_ ] [SQL: SELECT this_.userid as userid9_0_, this_.updatetimestamp as updateti2_9_0_, this_.username as username9_0_, this_.password as password9_0_, this_.firstname as firstname9_0_, this_.lastname as lastname9_0_, this_.email as email9_0_, this_.website as website9_0_, this_.timezone as timezone9_0_, this_.isactive as isactive9_0_, this_.lastlogin as lastlogin9_0_, this_.lastip as lastip9_0_, this_.inserttimestamp as insertt13_9_0_ FROM cuyahoga_user this_] ---> System.Data.SqlClient.SqlException: Invalid object name 'cuyahoga_user'. konum: System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) konum: System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) konum: System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) konum: System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) konum: System.Data.SqlClient.SqlDataReader.ConsumeMetaData() konum: System.Data.SqlClient.SqlDataReader.get_MetaData() konum: System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) konum: System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) konum: System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) konum: System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) konum: System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) konum: System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) konum: System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() konum: NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) konum: NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) konum: NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) konum: NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) konum: NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) --- İç özel durum yığını izlemesinin sonu --- konum: NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) konum: NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet querySpaces, IType[] resultTypes) konum: NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria, IList results) konum: NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria) konum: NHibernate.Impl.CriteriaImpl.List() konum: Cuyahoga.Core.DataAccess.CommonDao.GetAll(Type type, String[] sortProperties) C:\Portal\Core\DataAccess\CommonDao.cs içinde: satır 74 konum: Cuyahoga.Core.DataAccess.CommonDao.GetAll(Type type) C:\Portal\Core\DataAccess\CommonDao.cs içinde: satır 59 konum: ICommonDaoProxye853e30fdfd44ea79eb56f876c1eb2af.InvocationGetAll_4.InvokeMethodOnTarget() konum: Castle.DynamicProxy.AbstractInvocation.Proceed() konum: Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor.Intercept(IInvocation invocation) konum: Castle.DynamicProxy.AbstractInvocation.Proceed() konum: ICommonDaoProxye853e30fdfd44ea79eb56f876c1eb2af.GetAll(Type type) konum: Cuyahoga.Web.Install.Install.Page_Load(Object sender, EventArgs e) C:\Portal\Web\Install\Install.aspx.cs içinde: satır 83 



Error..
Page: 1 2 3 4 5