Close

Source code for Nop Ajax Filters plugin

minu102
10 years ago
#7395 Quote
Avatar
  • 3
I am searching Source code for  Nop Ajax Filters plugin (SevenSpikes plugins) nopcommerce version 3.0 . kindly please help me for same.
Boyko
10 years ago
#7396 Quote
Avatar
  • 1570
minu102 wrote:
I am searching Source code for  Nop Ajax Filters plugin nopcommerce version 3.0 . kindly please help me for same.


Hi minu102,

We don't provide the source code of the Ajax Filters plugin. But you have all the Razor view files (.cshtml) open to modifications, so you can modify them to your needs unless you want to completely change the behavior of the plugin.

Thanks
Regards,
Nop-Templates.com Team
minu102
10 years ago
#7397 Quote
Avatar
  • 3
I have changed   "Nop"  namespace to "xyz" namespace  in my  nopcommerce project

forexample :
Nop.Core to xyz.Core / Nop.Data to xyz.Data / Nop.Service to Xyz.Service/ Nop.Web.Framework to xyz.Web.Framework

when copy sevenspikes / Nop Ajax Filters plugins in xyz.web /Pugins folder

i get run time error as  

Server Error in '/' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Source Error:


Line 147:                            
Line 148:                            //init plugin type (only one plugin per assembly is allowed)
Line 149:                            foreach (var t in pluginDescriptor.ReferencedAssembly.GetTypes())
Line 150:                                if (typeof(IPlugin).IsAssignableFrom(t))
Line 151:                                    if (!t.IsInterface)

Stack Trace:
[Exception: Could not load file or assembly 'Nop.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'Nop.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'Nop.Web.Framework, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'Nop.Web.Framework, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
]





Due to which i am not able to install plugins in my project.please guide me for same.
  

Boyko
10 years ago
#7408 Quote
Avatar
  • 1570
minu102 wrote:
I have changed   "Nop"  namespace to "xyz" namespace  in my  nopcommerce project


Hi minu102,

In that case there is nothing you can do to use the Ajax Filters plugin in your project. Our plugins are nopCommerce plugins and they are intended and built to be used in nopCommerce.

Thanks
Regards,
Nop-Templates.com Team
minu102
10 years ago
#7412 Quote
Avatar
  • 3
Please give us solution . ... It is very rigid . we completely wasted our money for this nopcommerce project.
Boyko
10 years ago
#7413 Quote
Avatar
  • 1570
minu102 wrote:
Please give us solution . ... It is very rigid . we completely wasted our money for this nopcommerce project.


Hi minu102,

Unfortunately we can't help you if you have modified the namespaces as this will require recompilation of the whole codebase (not to mention that this will be a lot of extra work that will break future upgrades and bug fixes). I don't know your reasons for changing the namespaces but this is definitely a bad idea as there is no easy way to do upgrades to new version of nopCommerce and new versions of any plugins (even if you have the source code you need to rewrite them as they are already using the default nopCommerce namespace).

p.s: I can see that you have a trial version of the Ajax Filters.

Thanks
Regards,
Nop-Templates.com Team