Total Posts:
42
Karma:
240
Joined:
7/30/2010
Location:
United States
Did you determine if there is an option to do this or how to do this? I'm in the same boat. A category with one item. We want a direct link to that product.
Total Posts:
4
Karma:
30
Joined:
1/22/2010
Location:
Argentina
hi, i just put a redirect in the same html description box see there http://www.calefacciononline.com.ar/Category/58-radiadores.aspx or you can doit via rewrite function, i use mod-rewrite for iis 6, and is a good option too.
Total Posts:
1
Karma:
5
Joined:
6/8/2017
Location:
India
Add the following code in catalog controller's "public virtual ActionResult Category(int categoryId, CatalogPagingFilteringModel command)" action method. if (model.Products.Count == 1) return RedirectToAction("ProductDetails", "Product", new { SeName = model.Products[0].SeName });
Total Posts:
27
Karma:
165
Joined:
2/15/2015
Location:
Czech Republic
Hi Guys, Do you have any solution for NopCommerce 4.2 ? I am tried add ....if (model.Products.Count == 1) return RedirectToAction("ProductDetails", "Product", new { SeName = model.Products[0].SeName }); to Nop.Web\Models\Catalog\CatalogPagingFilteringModel.cs But not worked. Could you help me ? Regards