There is a question about the different views and actions for one variation product controller (eCommerce MVC 7.5).
I have a variation product page. The product information should be shown using the main view (Index action) and detailed view (Details action).
It works great for front end (http://localhost:1115/cataloig1/category1/product1/Details/).
But, when the content editor navigates to the variation product page in edit mode and tries to get the Detailed view, the view is shown for 2-3 seconds, and then the main view (Index action) is shown again.
The controller
public class ProductDetailsController : ContentController<VariationItemContent>
{
public ActionResult Index(VariationItemContent currentContent)
{
return View(new ViewModel);
}
public ActionResult Details(VariationItemContent currentContent)
{
return View("Deatails", new Model);
}
}
What should be done to show the Details view in backend in edit view and in preview view?
There is a question about the different views and actions for one variation product controller (eCommerce MVC 7.5).
I have a variation product page. The product information should be shown using the main view (Index action) and detailed view (Details action).
It works great for front end (http://localhost:1115/cataloig1/category1/product1/Details/).
But, when the content editor navigates to the variation product page in edit mode and tries to get the Detailed view, the view is shown for 2-3 seconds, and then the main view (Index action) is shown again.
The controller
public class ProductDetailsController : ContentController<VariationItemContent>
{
public ActionResult Index(VariationItemContent currentContent)
{
return View(new ViewModel);
}
public ActionResult Details(VariationItemContent currentContent)
{
return View("Deatails", new Model);
}
}
What should be done to show the Details view in backend in edit view and in preview view?