How to - extending nopCommerce (1.X versions)

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

Thanks
Ben
Hace 13 años
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
Hace 13 años
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?
Hace 12 años
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
Hace 12 años
Hi hement,

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

Hope this helps.
Hace 12 años
Will someone update that post about extending nopcommerce?  A lot has changed so that article is no good now.

Thanks guys for great work.
Hace 12 años
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
Hace 12 años
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
Hace 12 años
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.
Hace 12 años
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.