Close

Profile: SDobrev

Avatar

User posts

6 years ago

Hi,

The Shipping methods panel and Shipping Address panel are showing only if the current cart requires shipping.

Please check your products.

6 years ago

Hi,

Here is the Action that we are using:


        public ActionResult InstantSearchFor(string q, int categoryId = 0, int manufacturerId = 0, int vendorId = 0)
        {
            List<ProductOverviewModel> searchProductInfos = SearchProducts(q, categoryId, manufacturerId, vendorId);

            return new JsonResult { Data = searchProductInfos, JsonRequestBehavior = JsonRequestBehavior.AllowGet };
        }

6 years ago

Hi,

Unfortunately, it is not possible to trigger the zoom on image click. We are using an external library for the zoom function and it can not be modified.

Hi,

The easiest way is to open the category, make a filtration with the desired parameters and copy the URL.
If you want to manually build the URL you have to know the filter group ID and option ID.

6 years ago

Hi,

We are using the nopCommerce GetAllCategories method to get all categories and then we are using our own code (recursion) to build the subcategories.

6 years ago

Hi,

We are filtering All Categories by parentCategoryId to get the Sub Categories of some category.

6 years ago

Hi,

You are right. We are using the GetAllCategories method of the CategoryService.

Hi,

I answered to your ticket but I will copy the reply here for the other users.

You have to change this language resource: "Checkout.SelectShippingMethod.MethodAndFee". Remove the second placeholder.
{0} ({1})  ----> {0}

You will find the language resource in Configuration -> Languages -> Edit -> String Resources.

6 years ago

Hi,

It is possible if you are using the Source version of nopCommerce because you will have to modify the nopCommerce source code.

1. Find the PrepareSearchModel method in the CatalogModelFactory (For nopCommerce 3.9. if you are using some other version this method won't be there).

2. The top level categories have parentCategoryId = 0.
Replace "var allCategories = _categoryService.GetAllCategories(storeId: _storeContext.CurrentStore.Id);"
with "var allCategories = _categoryService.GetAllCategories(storeId: _storeContext.CurrentStore.Id).Where(c => c.ParentCategoryId == 0).ToList();"

Please note that this is a sample code and it is not tested. If you are not using nopCommerce 3.9 it is possible that the methods, properties, names, etc. to be different.
Also, you will have to check "Automatically search sub categories" by default otherwise the search results won't be correct.

Hope this helps.

6 years ago

Hi,

Unfortunately, it is not possible.

In the AjaxCart controller, the ShoppingCartController is inherited and this can not be changed.
You will have to modify the "AddProductToCart_Details" method.