mrcms / ecommerce Goto Github PK
View Code? Open in Web Editor NEWC# Ecommerce App for Mr CMS
License: GNU General Public License v2.0
C# Ecommerce App for Mr CMS
License: GNU General Public License v2.0
Is the project still maintained? I wanna contribute on.
Hello everybody,
by installation with mysql I get an ArgumentException with this Stacktrace:
at NHibernate.Dialect.TypeNames.Get(DbType typecode)
at NHibernate.Dialect.TypeNames.Get(DbType typecode, Int32 size, Int32 precision, Int32 scale)
at NHibernate.Dialect.MySQLDialect.GetCastTypeName(SqlType sqlType)
at NHibernate.Criterion.AvgProjection.ToSqlString(ICriteria criteria, Int32 loc, ICriteriaQuery criteriaQuery, IDictionary2 enabledFilters) at NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetSelect(IDictionary
2 enabledFilters)
at NHibernate.Loader.Criteria.CriteriaJoinWalker..ctor(IOuterJoinLoadable persister, CriteriaQueryTranslator translator, ISessionFactoryImplementor factory, ICriteria criteria, String rootEntityName, IDictionary2 enabledFilters) at NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary
2 enabledFilters)
at NHibernate.Impl.MultiCriteriaImpl.CreateCriteriaLoaders()
at NHibernate.Impl.MultiCriteriaImpl.List()
at NHibernate.Impl.FutureCriteriaBatch.GetResultsFrom(IMultiCriteria multiApproach)
at NHibernate.Impl.FutureBatch2.GetResults() at NHibernate.Impl.FutureBatch
2.get_Results()
at NHibernate.Impl.FutureBatch2.GetCurrentResult[TResult](Int32 currentIndex) at NHibernate.Impl.FutureBatch
2.<>c__DisplayClass11.<GetFutureValue>b__0() at NHibernate.Impl.FutureValue
1.get_Value()
at MrCMS.Web.Areas.Admin.Services.Batching.BatchRunUIService.GetCompletionStatus(BatchRun batchRun) in C:\Users\Richard\Documents\Visual Studio 2015\Projects\ECommerce\MrCMS.Web\Areas\Admin\Services\Batching\BatchRunUIService.cs:line 86
at MrCMS.Web.Areas.Admin.Events.UpdateBatchRunResult.Execute(OnUpdatedArgs`1 args) in C:\Users\Richard\Documents\Visual Studio 2015\Projects\ECommerce\MrCMS.Web\Areas\Admin\Events\UpdateBatchRunResult.cs:line 24
Hello,
I want to sell a monthly subscriptions for various services and would like to manage this through MrCMS Ecommerce.
Do you have anything in the pipeline for recurring billing for subscription based products?
Thanks
Chris
The default base ecommerce layout view (_BaseEcommerceLayout.cshtml) uses the following code to determine if the admin bar should be shown:
@if (CurrentRequestData.CurrentUserIsAdmin && SiteSettings<SiteSettings>().EnableInlineEditing)
{
Html.RenderAction("InPageEditor", "InPageAdmin", new { id = Model.Id, area = "Admin" });
}
The problem with this is that it doesn't appear to pickup the ACL rules. To fix this, in my themes I now do the following:
@using MrCMS.ACL.Rules
...
@if (CurrentRequestData.CurrentUser != null && CurrentRequestData.CurrentUser.CanAccess<AdminBarACL>("Show") && SiteSettings<SiteSettings>().EnableInlineEditing)
{
Html.RenderAction("InPageEditor", "InPageAdmin", new { id = Model.Id, area = "Admin" });
}
I copied this code from the core base layout view (_BaseLayout.cshtml).
Chris
Hello,
Would it be possible to make the sample product data optional?
It takes a fair amount of time to remove for each new website created.
Thanks
Chris
I ran into a problem with Braintree and the default Braintree sandbox account. Because the default account wasn't 3DS enabled (I did request one that was) I kept getting the following message:
Merchant account not 3D Secure enabled
I fixed this by putting in a check for if 3DS is required and now call a tokenizeCard method instead of check3DSecure if 3DS is not required.
Braintree support offered a couple of suggestions like specifying the merchant ID in the setup or making the 3DS account default but I think this change handles the "3D Secure Required?" option in MrCMS.
I will create a pull request for your consideration.
Thanks
Chris
Does MrCMS Support Multi-Language and RTL?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.