- 3
Hi I'm trying to bring back the specification attributes list for each product in the same query as the product information when using AjaxFilters
I know the category template is making use of @model SevenSpikes.Nop.AjaxFilters.Models.ProductsModel
I've done some digging and seen that the AjaxFilters plugin is using it's own stored proc.
In CatalogController.cs there's a method called PrepareProductOverviewModels with a param labelled prepareSpecificationAttributes with a default value of false.
I'm just wondering if it's possible to hook in and set that to true for the inital load of the products and also when the filters run.. I'm trying to use the attributes in a table the customer is viewing.
thanks,
Tom
I know the category template is making use of @model SevenSpikes.Nop.AjaxFilters.Models.ProductsModel
I've done some digging and seen that the AjaxFilters plugin is using it's own stored proc.
In CatalogController.cs there's a method called PrepareProductOverviewModels with a param labelled prepareSpecificationAttributes with a default value of false.
I'm just wondering if it's possible to hook in and set that to true for the inital load of the products and also when the filters run.. I'm trying to use the attributes in a table the customer is viewing.
thanks,
Tom