Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Additional content on product page (7.5)

Vote:
 

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?

#79809
Jan 08, 2014 9:19
Vote:
 

If by redirect you mean you have a property which points to the page containing the common content I think that would be a good solution.

#79894
Jan 09, 2014 10:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.