
- 10
I am trying to change product detail pages to a one column layout using the code below:
@model ProductDetailsModel
@using Nop.Core.Domain.Seo;
@using Nop.Core.Infrastructure;
@using Nop.Web.Models.Catalog;
@{
Layout = "~/Views/Shared/_ColumnsOne.cshtml";
in both ProductTemplate.SingleVariant.cshtml and ProductTemplate.VariantsInGrid.cshtml and yet they still render as the two column layout.
What is overriding the layout?
________________________________________
UPDATE
-- I've just switched the Nop Ajax Filters off and now the layout is responding, so now the question is:
is it possible to have the ajax filters on catalog pages, but have a one column layout for the product pages?
@model ProductDetailsModel
@using Nop.Core.Domain.Seo;
@using Nop.Core.Infrastructure;
@using Nop.Web.Models.Catalog;
@{
Layout = "~/Views/Shared/_ColumnsOne.cshtml";
in both ProductTemplate.SingleVariant.cshtml and ProductTemplate.VariantsInGrid.cshtml and yet they still render as the two column layout.
What is overriding the layout?
________________________________________
UPDATE
-- I've just switched the Nop Ajax Filters off and now the layout is responding, so now the question is:
is it possible to have the ajax filters on catalog pages, but have a one column layout for the product pages?