How to - extending nopCommerce (1.X versions)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anos atrás
Hi, yes it's just temporary. Should be back up in a few hours.

Thanks
Ben
13 anos atrás
Make the modules flexibly to use any module in any other pages so that user itself can change the coding with a bit knowledge of coding and other related things
13 anos atrás
jey200 wrote:
Make the modules flexibly to use any module in any other pages so that user itself can change the coding with a bit knowledge of coding and other related things


Could you explain more widely what you have in mind?
12 anos atrás
Microsoft.Practices.Unity.ResolutionFailedException was unhandled by user code
  Message=Resolution of the dependency failed, type = "NopSolutions.NopCommerce.BusinessLogic.ProductTopics.IProductTopicManager", name = "(none)".
Exception occurred while: while resolving.
Exception is: InvalidOperationException - The current type, NopSolutions.NopCommerce.BusinessLogic.ProductTopics.IProductTopicManager, is an interface and cannot be constructed. Are you missing a type mapping?

----------------------------------------------------------------------------------------------------

i am implementing a new table ProductTopic to NOPCommerce, i think i have done all the steps but i am not sure what is missing here and what  type mapping is missing

I added this to BaseNopUserControl

   public IProductTopicManager ProductTopicService
        {
            get { return IoC.Resolve<IProductTopicManager>(); }
        }

and i following the catagories.ascx.cs as a model for my control but i am not shure what is wrong as everything compiles it at runtime that i get the above error.

please help me, i am new to nopcommerce and entity framework
12 anos atrás
Hi hement,

You need to write your own DependancyResolver. You can subclass the UnityDependancyResolver.
Look at page 4 of this post

Hope this helps.
12 anos atrás
Will someone update that post about extending nopcommerce?  A lot has changed so that article is no good now.

Thanks guys for great work.
12 anos atrás
http://csharpwebdeveloper.com/updating-exisiting-nopcommerce-2-entity

I've started to blog about extending nopCommerce. More to come, but it is a start.

-sky
12 anos atrás
skyler.severns wrote:
http://csharpwebdeveloper.com/updating-exisiting-nopcommerce-2-entity

I've started to blog about extending nopCommerce. More to come, but it is a start.

-sky


Can you start a blog on how to add a new table/entity/new page. Thanx
12 anos atrás
skyler.severns wrote:
http://csharpwebdeveloper.com/updating-exisiting-nopcommerce-2-entity

I've started to blog about extending nopCommerce. More to come, but it is a start.

-sky


Thank you for sharing this.
12 anos atrás
tmathura wrote:
http://csharpwebdeveloper.com/updating-exisiting-nopcommerce-2-entity

I've started to blog about extending nopCommerce. More to come, but it is a start.

-sky

Can you start a blog on how to add a new table/entity/new page. Thanx


Yes tmathura my plan was to complete the following entries as soon as possible

- Adding a new entity
- Creating a payment plug-in
- Localization
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.