I want to add a page where I can list my Black Friday products. Is this something I can have? I want to list my Black Friday products just like I have listed products on homepage Smart Product Collection.
I tried doing this by Custom Product Collection in Smart Product Collection plugin but it asks for Widget Zone which I don't know from where to get this? I know, I can add additional Widget Zones by editing SupportedWidgetZones.xml inside Smart Product Collection plugin but I don't know what is the widget zone of my new page.
First of all, you should decide where you want to show the collection and then add manually the widget zone in the source code of the page. Here is the code you can use to add a new widget zone in any of the .cshtml files: @Html.Widget("your_widget_zone_name")
I want to show the collection on a new page e.g. Black-Friday.cshtml. Can I create a new page from admin area which gives me the access to .cshtml page?
My requirement is to have a new page and show products on it through Smart Product Collection. Just like I used collection on my home page.
You can create a new page from the admin area. However, you can create a new topic. Find the TopicDetails.cshtml file and add the widget zone for the smart product collections where you want to see it.
Use the Topic System Name in the conditional statement. This is necessary because you want to show the collection only "Black Friday" topic.
Can you please tell me the exact area where I can place this 'if clause'. I tried placing it after the script tags and also at the end of the page but it has not shown me my Custom Product Collection.
var canonicalUrlsEnabled = EngineContext.Current.Resolve<SeoSettings>().CanonicalUrlsEnabled; if (canonicalUrlsEnabled) { var topicUrl = Url.RouteUrl("Topic", new { SeName = Model.SeName }, this.Request.Url.Scheme); Html.AddCanonicalUrlParts(topicUrl); }
//page class Html.AppendPageCssClassParts("html-topic-page");
====== After making my Topic changes I have to create a Custom Product Collection and configure it to be shown on 'BlackFridayWidgetZone' right? Will it be able to iden