Search

Contents

Revindex Storefront

Export Print

Hosting Multiple Module Controls

The Storefront supports hosting more than one instance of this module on the Web site. This is useful to single out a special product item on a different page for a promotional campaign. In this case, you would create a custom Product Detail display template from the Configuration > Display templates menu. In the custom template, you can force it to display a specific product by setting the ASP.NET hidden Value property to the product’s ID value.

<asp:HiddenField ID="OverrideProductIDHiddenField" runat="server" Value="12" />

Then, return to the new module instance and click on Edit Content from the module’s action menu to change the display template.

Now you have two instances running, you need to mark the one of the two module instances as the default instance where all product list navigation will point to. You can mark as default instance from the Edit Content on the module action menu.

 

 

Comments

Add comment

Powered by Revindex Wiki