回帖总数:
42
业力:
240
注册日期:
2010/7/30
位置:
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.
回帖总数:
4
业力:
30
注册日期:
2010/1/22
位置:
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.
回帖总数:
1
业力:
5
注册日期:
2017/6/8
位置:
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 });
回帖总数:
27
业力:
165
注册日期:
2015/2/15
位置:
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