- Moderator
- 62
Hi,
Actually this is by design. There are no special place for featured products in the theme, all products are just shown. So there is no need to set the product as featured, and as you have rightly noticed if they are set as featured they disappear.
If you would like the features products to appear you need to edit this file in the Fashion theme:
Views\Catalog\CategoryTemplate.ProductsInGridOrLines.cshtml
And add this code wherever you would like them to appear:
@*featured products*@
@if (Model.FeaturedProducts.Count > 0)
{
<div class="featured-product-grid">
<div class="title">
@T("Products.FeaturedProducts")
</div>
<div>
@(Html.DataList<ProductModel>(Model.FeaturedProducts, 2,
@<div class="item-box">
@Html.Partial("_ProductBox", @item)
</div>
))
</div>
</div>
<div class="clear">
</div>
}
Please note that you will need to do some styling for this featured products panel.
I hope this is useful!
Actually this is by design. There are no special place for featured products in the theme, all products are just shown. So there is no need to set the product as featured, and as you have rightly noticed if they are set as featured they disappear.
If you would like the features products to appear you need to edit this file in the Fashion theme:
Views\Catalog\CategoryTemplate.ProductsInGridOrLines.cshtml
And add this code wherever you would like them to appear:
@*featured products*@
@if (Model.FeaturedProducts.Count > 0)
{
<div class="featured-product-grid">
<div class="title">
@T("Products.FeaturedProducts")
</div>
<div>
@(Html.DataList<ProductModel>(Model.FeaturedProducts, 2,
@<div class="item-box">
@Html.Partial("_ProductBox", @item)
</div>
))
</div>
</div>
<div class="clear">
</div>
}
Please note that you will need to do some styling for this featured products panel.
I hope this is useful!
Regards,
Milen Kovachev
Nop-Templates.com
Milen Kovachev
Nop-Templates.com