I have a product catalog with 2 product types. I want to insert content (the same) on all pages with a certain product type. My product root is my StartPage, thus the following line:
public ActionResult Index(TestType currentContent, PageData currentPage)
Will give me the product content (TestType) and my StartPage.
I could make a new page, and then have a property on my StartPage to redirect to the other page, and load that content in the product controller. Is that a good solution or can you give another approach?
I have a product catalog with 2 product types. I want to insert content (the same) on all pages with a certain product type. My product root is my StartPage, thus the following line:
public ActionResult Index(TestType currentContent, PageData currentPage)
Will give me the product content (TestType) and my StartPage.
I could make a new page, and then have a property on my StartPage to redirect to the other page, and load that content in the product controller. Is that a good solution or can you give another approach?