SpecificationAttribute

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 7 ans
Hi,

How to set the default ?:

AllowFiltering  always "true"
ShowOnProductPage always "false"

Thanks :)
Il y a 7 ans
I mean:
Page - mysite.com/Admin/Product/
Tab - SpecificationAttribute
Checkboxes

:)
Il y a 7 ans
Hi,

go to Nop.Admin -> Controllers -> ProductController -> PrepareProductModel method and replace
model.AddSpecificationAttributeModel.ShowOnProductPage = true;
with
model.AddSpecificationAttributeModel.AllowFiltering = true;
Il y a 7 ans
Mariann wrote:
Hi,

go to Nop.Admin -> Controllers -> ProductController -> PrepareProductModel method and replace
model.AddSpecificationAttributeModel.ShowOnProductPage = true;
with
model.AddSpecificationAttributeModel.AllowFiltering = true;


Thank you very much!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.