How to - extending nopCommerce (1.X versions)

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

Thanks
Ben
Il y a 13 ans
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
Il y a 13 ans
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?
Il y a 12 ans
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
Il y a 12 ans
Hi hement,

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

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

Thanks guys for great work.
Il y a 12 ans
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
Il y a 12 ans
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
Il y a 12 ans
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.
Il y a 12 ans
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.