Questions tagged [nopcommerce]

Open source E-commerce Shopping Cart Solution based on ASP.NET MVC and Entity Framework. Notable differentiators are multi-store and multi-vendor capabilities.

nopCommerce is an open source e-commerce solution that is .NET 6 based (C#) with a MS SQL 2008 (or above) or MS SQL Compact 4.0 (or above) backend database. It is built on ASP.NET Core MVC (targeting .NET 6) with Linq2Db (Entity Framework for 4.2 or below) Code First approach. Notable differentiators are multi-store and multi-vendor capabilities.

The homepage is http://www.nopcommerce.com.

The official nopCommerce discussion forum is https://www.nopcommerce.com/en/boards.

The GitHub page is https://github.com/nopSolutions/nopCommerce

1275 questions
4
votes
2 answers

Change URL Routing by overriding GenericPathRoute.cs in Plugin nopCommerce 3.3

I am trying to create a plugin which will override the TopicsDetails.cshtml page. I added a route like this: routes.MapRoute("Nop.Plugin.Other.CustomTopic.ViewCustomTopic", "{SeName}", new { controller = "CustomTopic",…
Sujit
  • 790
  • 1
  • 13
  • 27
4
votes
2 answers

NopCommerce : Display best seller products on category home page

I am using NopCommerce. I want to display top 3 bestseller products on category home page. I got an idea that on view side CategoryTemplate.ProductsInGridOrLines.cshtml and controller side CatalogController.cs > HomepageBestSellers method are…
Tushar
  • 410
  • 4
  • 20
4
votes
1 answer

How to integrate New Payment Gateway into [NopCommerce 3.10], If plugins not available?

Want to know what is the process for custom payment gateway integration with NopCommerce. If my payment gateway plugins not available ? How to make a NopCommerce plugins for another payment gateway ? Which I required to integrate with my store…
4
votes
2 answers

LongMessage: This transaction cannot be processed due to an invalid merchant configuration. ShortMessage: Invalid Configuration ErrorCode: 10501

I am getting this error, can anybody help me. May be I am missing out some steps: LongMessage: This transaction cannot be processed due to an invalid merchant configuration. ShortMessage: Invalid Configuration ErrorCode: 10501 Regards, Sachin
Sachin
  • 459
  • 1
  • 7
  • 22
4
votes
2 answers

How to display indian rupee symbol in iText PDF in MVC3

I want to display Special Character India Rupee Symbol in iTextPDf, My Code: Font fontRupee = FontFactory.GetFont("Arial", "₹", true, 12); Chunk chunkRupee = new Chunk(" ₹ 5410", font3);
Avinash Singh
  • 2,697
  • 11
  • 44
  • 72
4
votes
3 answers

How to override a nopcommerce view file with a view file inside the plugin?

I am trying to override the nopcommerce View that is located in: Nop.Admin/Views/Category/Tree.cshtml with a view that I have developed in my plugin folder: Views/Misc/Tree.cshtml How can I do it?
Kevin NP
  • 57
  • 1
  • 4
4
votes
1 answer

NopCommerce: How do I map this gateway's returned fields to what Nop is expecting?

BACKGROUND I am writing a payment gateway plugin for NopCommerce 2.80. This is my first time writing code for a payment gateway. I am almost there, but having a few problems. PROBLEMS Firstly, in the ProcessPayment method, I need to return a…
Matt
  • 6,787
  • 11
  • 65
  • 112
4
votes
2 answers

Autofac : ComponentNotRegisteredException after web site restart

I have a weird error. My site works after I upload a DLL to the bin folder. However after I leave it for a while (or trigger a web site restart from my shared host control panel) I get the following error The requested service…
Chris McKelt
  • 1,378
  • 2
  • 17
  • 38
4
votes
1 answer

Is it possible to limit number of connections used by Entity Framework?

I've noticed that on a NopCommerce site we host (which uses Entity Framework) that if I run a crawler on the site (to check for broken links) it knocks the entire webserver offline for a few minutes and no other hosted sites respond. This seems to…
NickG
  • 9,315
  • 16
  • 75
  • 115
4
votes
1 answer

Challenges in loading images from CDN on multiple host name for e-Commerce site built on Nopcommerce

I am working on a ecommerce site built on the top of Nop Commerce 2.3. We want to use CDN for loading all static contents including its images, but not sure how to do this with NopCommerce. Nopcommerce is set to save binary of images in db at the…
Krunal
  • 2,967
  • 8
  • 45
  • 101
4
votes
2 answers

serializing session state in asp.net

I'm trying to store session state in SQL instead of InProc in our nopcommerce 1.9 install. When I make the requisite changes to the web.config I get this error: Server Error in '/' Application. Unable to serialize the session state. In…
Laziale
  • 7,965
  • 46
  • 146
  • 262
3
votes
2 answers

optimizing sql query in nopcommerce

I am optimizing sql query and I am welcoming advices how to improve this query. It's part of nopcommerce open source solution for loading products in categories. At this time it takes some 8-9 seconds to load the page, we want to bring that to 3-4…
Laziale
  • 7,965
  • 46
  • 146
  • 262
3
votes
0 answers

routing issue on nopCommerce 2.3

I'm having problems debugging what I think is a routing issue on nopCommerce 2.3. Both the sitemap and search pages redirect to the homepage instead of their respective pages. This is the code in the RouteProvider.cs: //product search …
Ian Houghton
  • 249
  • 3
  • 19
3
votes
3 answers

optimizing search engine in asp.net

I have a task to optimize search engine in asp.net ecommerce store based on nopcommerce tempate. I would like to hear on what should I pay most attention to improve the search engine and to deliver faster results, since current search engine is…
Laziale
  • 7,965
  • 46
  • 146
  • 262
3
votes
2 answers

Setup Wordpress Permalinks on ASP.NET MVC Site

I've got a NopCommerce site (ASP.NET MVC) and I'm trying to add a Wordpress blog as a subfolder of the main site. The installation of Wordpress was fine, all config files have been created and the blog works fine if you browser through it. However,…
Dan Ellis
  • 5,537
  • 8
  • 47
  • 73