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.
1,248
questions
0
votes
1
answer
25
views
How to set debug point in nopcommerce plugin into vs code application
I am started to use vs code application to run nopCommerce project but I unable to set debug into plugin.
How to build nopCommerce plugin into vs code?
How to set debug point in nopcommerce plugin ...
-1
votes
3
answers
52
views
How to get current time of particular country in nopcommerce 4.5?
I want current time of India country in nopcommerce 4.5.
I used the following code for getting the current date time, i.e. DateTime.UtcNow in this line of code date is coming perfect, but according ...
-1
votes
1
answer
40
views
Getting a error when deleting a pdf file in Roxy Fileman
Is there a way to delete a file in Roxy Fileman, I keep on getting a error when I try to delete a pdf in Roxy Fileman, the delete folder is working fine just the file not want to delete.
I have been ...
0
votes
1
answer
18
views
The view 'Route' was not found, but it actually exist in nopcommerce 4.5.2
Appears:
An unhandled exception occurred while processing the request.
InvalidOperationException: The view '/OGS/Route.cshtml' was not found. The following locations were searched: /OGS/Route.cshtml
...
0
votes
1
answer
75
views
localhost redirected you too many times while redirecting to specific URL
I created an action filter to check some statements then redirect client to specific action or route, but when I run the application browser shows this page:
Page Image
My code:
public async Task ...
0
votes
1
answer
17
views
NopCommerce google bot crawl redirected through login page
I have a nopCommerce website, and bots cannot crawl my website. Google Search Console says that my sitemap is not valid XML but an HTML page - I think google bots are also redirected to the login page....
0
votes
1
answer
30
views
nopCommerce 4.4 migration from 3.8 and getting error related to DependencyRegistrar.cs
I am working on one of the project to migrate from nopCommmerce 3.8 to nopCommerce 4.4.
I am facing below issue, please help me to rectify it.
I have a controller called ' TEDPortalController ' where ...
-1
votes
1
answer
25
views
what is the best way to customize nopcommerce requirement
I have custom requirement to do , what is the best way to do it?
develop it as a plugin or customize source code (core).
0
votes
1
answer
65
views
How can I render multiple button in Column property?
I have a Entity DataTable.
ColumnCollection = new List<ColumnProperty>
{
new ColumnProperty(nameof(ProductChapterMappingModel.Id))
{
Title = T("Admin....
0
votes
1
answer
26
views
Entity Framework get real-time value from database
I have a nopcommerce website. I find a problem. Please see below code
// My account / Order details page
[HttpsRequirement(SslRequirement.Yes)]
public virtual IActionResult Details(int orderId)
{
...
0
votes
2
answers
64
views
How to create Product Attribute Combination in asp.net core?
Product Name
Color
Size
T Shirt
Red
Small
Pant
Yellow
Large
Green
Desired results:
T Shirt Red Small
T Shirt Red Large
T Shirt Yellow Small
T Shirt Yellow Large
T Shirt Green Small
T Shirt ...
0
votes
1
answer
56
views
How do I execute a stored procedure in batches?
I inherited a NopCommerce project from a previous developer.
They left me with a Customer table with 350 million guest users.
I'm executing a stored procedure to delete the guest users but it's been ...
-1
votes
1
answer
44
views
How to Hide Nopcommerce from Wappalyzer
is there way to hide nopcommerce from wappalyzer?
Wappalyzer is a browser add-ons, that allow a user to check the technology infrastructure of any website.
i serched about this and find nothing.
...
0
votes
1
answer
85
views
301 loop when enabling SSL with Nginx on nopCommerce 4.50
I have a working Nginx installation that has successfully served an index.html with SSL with no problems.
When I point it toward my nopCommerce 4.50 site on the same machine, the nopcommerce site now ...
0
votes
1
answer
113
views
Refused to apply style from "css-file-path" because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled
I upgrade Nopcommerece 4.30 to 4.50.1 from that day I am facing the below issue on all pages of my website http://www.smmotors.org
"Refused to apply style from "css-file-path" ...
0
votes
1
answer
40
views
Configure nginx to workaround header issue in nopCommerce
I have an Ubuntu VM running docker, with nopCommerce 4.30 and nginx. I wanted to add an authentication plugin, but I found out that there is a known issue https://github.com/nopSolutions/nopCommerce/...
0
votes
0
answers
19
views
Error after decompil c# XML plugin for NopCommerce
I get errors when I decompile my code. It's a syntax I don't understand and I don't know how to fix it, can you help me?
enter image description here
enter image description here
enter image ...
0
votes
0
answers
91
views
Is it possible to update or remove IEndpointRouteBuilder existing route entries
I'm trying to handle this error in asp.net core 5
AmbiguousMatchException: The request matched multiple endpoints. Matches
if possible, by removing previously register route (nopcommerce) but seems ...
0
votes
0
answers
124
views
How can I set the column name and its sorting type fro c# to DataTable Model in NopCommerce?
I need to add the sortable functionality in the data table grid in NopCommerce. I have changed the backend code and query is ready for sorting the list, but I am not able to pass the value of column ...
0
votes
1
answer
36
views
How do I render my partialview inside my main view or can I update the values in another way?
I have the following problem: So I built a search function for an OrderId in Nopcommerce and I want to update two values (Buyer Name) and (Purchase Reason) in a table in my main view instead of how it ...
0
votes
1
answer
106
views
My View is not passing the integer from my input to the controller, how can I fix it?
Hey Guys I have the following problem: My View is not passing on my integer that I input into my search field, so it always just returns as if I entered 0
<form class="form-group" asp-...
1
vote
1
answer
53
views
How do I add a menu item into the administration area from a plugin nopcommerce and reference my controller properly
I know nopCommerce gives this example when you want to add a menu item into the admin dashboard from a plugin:
nopCommerce documentation Admin menu
However, my problem is my controller is not called
...
0
votes
1
answer
64
views
How to set enum in datatable ColumnProperty of nopcommerce 4.4
I want to set enum in datatable ColumnProperty of nopcommerce 4.4.
I tried things like
new ColumnProperty(nameof(await(((TransmitEnumStatus)Model.StatusId).ToSelectListAsync())))
{
Title = T(&...
0
votes
0
answers
125
views
An exception was thrown while activating ?:Nop.Web.Framework.Security.Captcha.CaptchaHttpClient. NopCommerce 4.40
We're moving our NopCommerce site to a new server.
Everything seems to work, except when trying to log in or register a new customer.
This also means I'm locked out of Admin.
The error indicates that ...
0
votes
0
answers
45
views
How to clear cache while bind dropdownlist in nopcommerce 4.4
I want to clear cache while bind dropdownlist in nopcommerce 4.4.
For more clear, elaborate the question.
I open the site in two crome browser one in normal window and second one in New Incognito ...
2
votes
0
answers
263
views
Cannot find compilation library location for package 'System.Drawing.Common' in Nopcommerce 4.3 while running from iis
I'm trying to run my Nopcommerce 4.3 store from IIS rather than running from Visual studio.
But is is always showing me
Cannot find compilation library location for package
'System.Drawing.Common'...
0
votes
0
answers
44
views
implement elastic search in .net5
my vision is to get all data from sql by api calling,then iterate those items & send them one by one in elastic & i created an index in kibana & put the indexname and elastic url in ...
0
votes
1
answer
76
views
Is LINQ querying the database, making my caching useless?
So I have some code like this:
var attribute = _genericAttributeService
.GetAttributesForEntity(_workContext.CurrentCustomer.Id, "Customer")
.FirstOrDefault(x => x.Key == "...
3
votes
0
answers
116
views
The antiforgery token could not be decrypted nopCommerce 4.40
Getting this error while open product detail page at front side of our nopCommerce 4.4 site.
from error there is no clue that error from which action and from which controller etc.
The antiforgery ...
0
votes
1
answer
204
views
Kubernetes can't access loadbalancer url using minikube - nopcommerce
To get some more experience with hosting kubernetes clusters I created a nopcommerce deployment. For the service I use the loadbalancer type.
Running the command minikube service nopcommerce --url
...
0
votes
0
answers
216
views
How can I run a gRPC server as a hosted service inside another web host?
I'm developing a plugin for nopCommerce to let me access its services programmatically using gRPC. nopCommerce has a standard startup using the IHostBuilder interface. The plugin API exposes an ...
0
votes
1
answer
30
views
Discount Rule if product quantity is divisible by X NopCommerce
I'm working on a discount plugin that should apply a discount if item quantity is divisible by x and when the quanitty is not divisible by x than i should apply the discount only for the quantity that ...
0
votes
1
answer
56
views
Add new tag if another tag has certain text using jQuery or ASP.NET MVC
I use ASP.NET Core based CMS for my website.
What I need is to add new div tag with class button_two if tag h1 item_title has this text "Peow, Wow.".
How can I do it using ASP.NET code or ...
0
votes
0
answers
42
views
How to set a value to custom address attribute in nopCommerce 4.40?
I have created a new plugin for customer and added a new custom address attribute in address form fields in settings(in nopCommerce admin pannel).
I'm not able to find Custom attributes to insert data ...
0
votes
0
answers
116
views
Optional parameter at beginning of route in nopcommerce 4.4
I'm working in nopcommerce 4.4, an asp.net mvc application, and trying to set up a particular routing system that has a dynamic optional parameter at the beggining of the route. So the routes will all ...
0
votes
0
answers
97
views
nopCommerce Docker install to Azure
After deployment of nopCommerce using docker to Azure App Service and installation, I am always stuck at the /install URL. Tested the docker in my local machine and I have no problem after ...
0
votes
0
answers
46
views
Integration between e-commerce site and Microsoft Dynamics NAV 2016
Can someone explain me how to web api work in this case where we have e-commerce who has to send data to Dynamics NAV and when we make changes in Dynamics NAV we need to send to e-commerce site?
I ...
0
votes
2
answers
93
views
Nopcommerce ShoppingService -- I want to get the information of all the products in the shopping cart
I want to get the information of all the products and vendor in the shopping cart.Thank you so much
nopcommerce version 4.40
i want to do
Shoppingcart
i can do,
I was able to find out how many items ...
0
votes
1
answer
45
views
Is it safe to change NopCommerce layout and components markup ? Will it cause a problem later on updating NopCommerce?
Basically I need to change the look and feel of a NopCommerce application, and I have created a separate theme folder and can do my CSS changes there. But there's only so much you can do with CSS. At ...
0
votes
1
answer
40
views
Nopcommerce export user roles
I'm trying to get a list of ALL user roles for each user through the nopcommerce database. i just need the Customer.Id, Customer.Username, Customer.Email and Customer.Role (some have multiple roles)
...
0
votes
0
answers
34
views
ASP.NET Core Execution Path on Ubuntu
I am installing NopCommerce on Ubuntu 20.04. It uses ASP.NET Ccore 5.0. I published the solution to /var/www/published and then created a service in /etc/systemd/system.
Now, when I run the service, ...
1
vote
1
answer
91
views
Run Nopcommerce on console application
I want to use NopCommerce libraries for a console project (for migrate data transfer).
I create a console project and add the base libraries (Nop.Core, Nop.Data, Nop.Service, Nop.Web.Freamework) to it,...
2
votes
1
answer
127
views
Adding line break to message for asp-alert-message modal
So I'd like to show a modal with 2 lines with a line break between them, here is the tag:
<nop-alert asp-alert-id="updateAddressAlert" asp-alert-message="@string.Concat("...
0
votes
1
answer
77
views
Problem invoking widget's action method in NopCommerce
I am trying to develop a widget in NopCommerce 4.3. I need to Post data from widget public view to the controller's Action method with Ajax. The problem is that when the call is made from the view, ...
0
votes
0
answers
29
views
NopCommerce error integration Atluz QuickBooks
we are using Atluz QuickBooks Integration plugin to integrate Nopcommerce, but we are getting too many errors that says:
Atluz QuickBooks Intregration failed to integrate inventory
any idea what ...
0
votes
1
answer
289
views
Index out of range in javascript array
I'm trying to create an array in javascript with a list of objects passed to a view as the model, but I'm getting this error: "System.ArgumentOutOfRangeException: Index was out of range. Must be ...
0
votes
1
answer
216
views
build project without runtimes folder but included nuget packages in nopcommerce 4.40(.net 5 and VS 2019)
I'm developing plugin for nopcommerce,
I'm using VS 2019 and nopcommerce 4.40.4(.net 5)
I should use a nuget package in my plugin,
If I set CopyLocalLockFileAssemblies to true, when I build my project,...
0
votes
0
answers
61
views
nopcommerce 4.4 customization : Await methods throwing null reference exception
I am moving customization changes from nopcommerce 4.3 to 4.4. Nop 4.4 is completely built with async and await methods and I am new to this async await coding.
When I do simple method changes I am ...
0
votes
1
answer
110
views
How to use development and production environment in NOPCOMMERCE app?
I want to know how you manage application in production and development environment. How to publish Source code to IIS Server. How to change something in development and sync it in production ...
1
vote
0
answers
33
views
Force browser to clear cache after deployment while deployment html and css changes [duplicate]
Whenever we deploy Html and CSS changes. and those are not reflecting to end customer without full refresh (ctrl + f5) or clear history of there browser.
Anyone is facing such kind of issue?
What is ...