nopcommerce

How to configure reCaptcha, so its always display number as display text in NopCommerce?

本小妞迷上赌 提交于 2019-12-20 04:34:22
问题 I just need to configure reCaptcha, so it is only display numbers as display text, no word as display text. I need do this configuration in NopCommerce [3.1] 回答1: Google uses "advanced risk analysis techniques, actively considering the user’s entire engagement with the CAPTCHA" to determine how difficult of a puzzle the user deserves. So there is not configuration setting and most users get simple numbers by default. Source: http://googleonlinesecurity.blogspot.com/2013/10/recaptcha-just-got

How to get Rates from UPS Rate API?

血红的双手。 提交于 2019-12-20 03:21:27
问题 I am using nopcommerce 3.5. I have added plugin of UPS of TransitInTime and Rate API. I want to get rates by calling UPS Rate API. I want all Rates in dropdown on page load. So for the first I am using test application using webservices of RateWebReference and in which I get only one Rate but I want Rates for all shipping option. Here is my code of RateWSClient.cs RateService rate = new RateService(); RateRequest rateRequest = new RateRequest(); UPSSecurity upss = new UPSSecurity();

Debugging Entity Framework SQL statements

本秂侑毒 提交于 2019-12-17 12:35:02
问题 I am having a weird pattern of response time when using the Entity Framework for SQL communication. This is from my web host: This is from my local server: It's the increase in response time I am worried about. I have narrowed the problem down to one single line in code Nop.Data > EfRepository.cs > public void Insert(T entity) > _entities.Add(entity); Yes I know this very specific for the NopCommerce, but the point is really that I am looking her for help on how to debug this. Are there some

Nopcommerce inherit code from de nop core controller

我是研究僧i 提交于 2019-12-13 19:23:36
问题 I'm trying to develop a plugin in nopcommerce . To do this I want to replace some of the core code out of nopcommerce . I tried to inherit it via: public class TryingNewProjectController : BasePluginController, Nop.Web.Controllers.CatalogController { ///// CODE ///// } Can someone tell me what I'm doing wrong ? Error: The type or namespace name 'Controllers' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference? 回答1: It really does mean you are actually missing a

Nopcommerce cache seems empty after adding a list

倾然丶 夕夏残阳落幕 提交于 2019-12-13 17:38:34
问题 I am experiencing a problem with the cacheManager in NopCommerce I have a list of nopCommerce products, in the form of an IPagedList<Product> I add them to my cachemanager as such: _cacheManager.Set("SearchResult", products.ToList(), 5); Now whenever i try to retrieve them like this: var searchresults = new List<Product>(); if (_cacheManager.IsSet("SearchResult")) { searchresults = _cacheManager.Get<List<Product>>("SearchResult"); } It is just empty, like, the isSet evaluates to false . I

How do display top 5 products from specific category [closed]

感情迁移 提交于 2019-12-13 11:29:24
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I want to fetch top 5 most popular product under specific category say computer . This is my class file: public partial class Category { public int Id { get; set; } public string Name { get; set; } public int ParentCategoryId { get; set; } //reference to Id public ICollection

Passing selected rows in a controller in nop Commerce Terilik grid

懵懂的女人 提交于 2019-12-13 07:34:27
问题 I am beginner in using nopCommerce 2.30 (MVC 3 Razor) and Telerik().Grid. I am currently working on Nop.Admin project.I try to create a Html.Telerik().Grid in my form, with many features. Please see my grid image below. These are the features. grid data should be filter the selected value of the dropdownlist. all grid columns are enable sorting. in first column header contains a checkbox,for multiselect. grid view must enable a column context menu. Please see my code below. My .cshtml file

Hosting Nopcommerce Using Azure Website Shared plan

社会主义新天地 提交于 2019-12-13 05:48:49
问题 I want to host my NopCommerce ecommerce site using Azure Website Shared plan. However it says for this plan it "include 240 minutes of cpu capacity per day". Anyone have any idea how many users will this be able to serve per day approximately? I am clueless 回答1: As this seems to be a commercial venture using the shared plan could cause unwanted, business damaging outages. Some of the shared plan's limits (CPU, memory) can possibly be triggered by a short but intensive burst of requests. The

add the Stripe plugin to Nopcommerce

安稳与你 提交于 2019-12-13 00:07:44
问题 Stripe for 3.40 --> http://www.nopcommerce.com/p/1512/stripe-payment-plugin.aspx So I noticed that when I download the Stripe plugin off the Nopcommerce.com site that the Stripe plugin for Nopcommerce v3.4 does not contain a project file(.csproj) to add the project to Visual studio. Stripe for 2.65--> http://www.nopcommerce.com/p/638/stripe-payment-plugin.aspx So I went and downloaded the Stripe plugin for Nopcommerce v2.65. I noticed that this downloaded package does contain the Project file

How to Override View in Nopcommerce?

怎甘沉沦 提交于 2019-12-12 18:24:00
问题 I am creating one plug-in using data-access and widget in nopCommerce. In that i have created my widget that i want to display on ProductDetails Page by replacing (overriding) Product-Image & its thumbs. But i don't know how to override views and even don't know is it possible in nopCommerce or not. Please can anyone help me. If possible please provide an example as well, so that i can understand actually how it overrides in nopcommerce. 回答1: You can override views using custom themes (not