Anzahl der Beiträge:
42
Karma:
240
Beigetreten:
30.07.2010
Herkunft:
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.
Anzahl der Beiträge:
4
Karma:
30
Beigetreten:
22.01.2010
Herkunft:
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.
Anzahl der Beiträge:
1
Karma:
5
Beigetreten:
08.06.2017
Herkunft:
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 });
Anzahl der Beiträge:
27
Karma:
165
Beigetreten:
15.02.2015
Herkunft:
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