Close

Profile: carneno

Avatar

User posts

9 years ago


Hello,

I am using nopCommerce 3.0 source version with Visual Studio 2012.  I am a programmer, but not as adept at C Sharp as I should be.

I want to be able to display images on the home page similar to the "FEATURED PRODUCTS", but with out the title and without any other information under the image except the "Add to cart" button which would be renamed to "Enlarge image".

When clicking the "Enlarge image" button the image enlarges, but with out all of the information a product would display.

I'm not sure if this can be done with a Plugin.  If it can, I don't mind doing that with a little direction.

Is there a nopCommerce plugin that will help me accomplish this.  I tried the QuickView plugin demo and that works nicely, but it gives all of the product information that is not wanted on the quick view.

Is there a section of the code that I can clone and modify to accomplish this?

Any help would be gratefully appreciated.

Thanks,
Tony

10 years ago

Ok.  After following your instructions, the website is working now.

Thanks for your patience, knowledge, quickness and help in resolving this issue.

Tony

10 years ago

Boyko wrote:

I suspect that you have uninstalled the Core plugin before trying to uninstall the Mega Menu plugin.
The Mega Menu plugin is using the Core plugin, so when you uninstall the Core plugin the Mega Menu plugin crashes.
The correct way is to uninstall the Mega Menu plugin first and then the Core plugin.

To resolve the problem go to the App_Data folder of your website and open the InstalledPlugins.txt file.
Delete the following line: SevenSpikes.Nop.Plugins.MegaMenu
also check if there is a line: SevenSpikes.Core if there is, delete it too.
Save the file and you are good to go. The plugins are uninstalled.

Best Regards,
Nop-Templates Support Team


Boyko,

I have to disagree with you about uninstalling the core plugin.  I only uninstalled one thing, the Mega Menu Plugin.

I opened the InstalledPlugins.txt file and only found the SevenSpikes.Core line.  I deleted it and copied it back to the App_Data folder and the same error comes up whether i visit the user sebsite or the admin website.

Thanks,
Tony

10 years ago

Boyko wrote:

Hi carneno,

Either go directly to your web site administration by typing www.yourstorename.com/admin and then go to System -> Log and see what is the error or change your Web.config file and turn off the custom errors.
You can do this by modifying your Web.config file by replacing RemoteOnly with Off:

<customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">

to
<customErrors defaultRedirect="errorpage.htm" mode="Off">


This way you can see what the problem is.

Best Regards,
Nop-Templates Support Team


Hello boyko.

Going to www.yourstorename.com/admin gives the same error, so I changed the Web.config as suggested and get this error:

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
   System.Reflection.RuntimeModule.GetTypes() +4
   System.Reflection.Assembly.GetTypes() +78
   Nop.Core.Plugins.PluginManager.Initialize() +1515

[Exception: Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
]
   Nop.Core.Plugins.PluginManager.Initialize() +1810

[Exception: Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
]
   Nop.Core.Plugins.PluginManager.Initialize() +2202

[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'SevenSpikes.Nop.Framework, Version=2.65.32.4797, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembl

10 years ago

No Ivan.  I simply uninstalled the Mega Menu from the Admin area and went back to my logged in website page, did a refresh (F5) and got that message.

Thanks,
Tony

10 years ago

Thanks for your suggestion Ivan, but now I have a more urgent problem.

I uninstalled the Mega Menu Plugin from the Admin area and now I can't get to my live website.

It gives this message:

"We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time."

I have no idea of how to get my website back.

Thanks,
Tony

10 years ago

Ivan,

I'm sorry but the image I am using is not black.

The Mega Menu was black when I first installed it.  That is why I am trying to change it.

Thanks,
Tony

10 years ago

Yes, I replaced this file with my own

\LatinJewelryDesigns\Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Themes\nopClassic\Content\images\navpad1.png

and it still displays as a black background menu.

Thanks,
Tony

10 years ago

IvanStoyanov wrote:


Hi Tony,

Yes that is the correct folder.


Thanks Ivan.

How would I change the background color of the menu?

I tried changing the navpad1.png file and that did not work?

Thanks,
Tony

10 years ago

IvanStoyanov wrote:

Try to configure the css file for theme.
The theme is styled to have a default nopCommerce menu in it and when you remove it, you are also removing css classes, so the style changes.

Best wishes!

Ivan Stoyanov


Hello Ivan.

I came here from your suggestion to my question in the nop Classic Theme forum.

Everything that I learned here works fine.

I'm not sure of how to style the Mega Menu.  Is it the style.css file in the Presentation\Nop.Web\Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Themes\nopClassic\Contentfolder?

Thanks,
Tony