- Store Commander version 2014-03-12
- SC Grids Editor Pro Add-on - version 1.0
We would like to add a column displaying values of a specific feature in the products grid.
We will then be able to:
- use the filters in the grids to optimize the selection of products
- rapidly export the products grid with this field
To add the field to the list of available fields for your products grids, click on the in the 'Add a field' panel and enter the following information:
What is the field ID?: myfeature
Field name: Delivery
Table: enter: special
Refresh combinations: keep 'no'
Type: multiple choice
return ' , (SELECT fvl.value FROM `ps_feature_product` fp LEFT JOIN `ps_feature_value_lang` fvl ON (fp.id_feature_value=fvl.id_feature_value and fvl.id_lang=2) WHERE fp.id_feature = 3 AND fp.id_product = p.id_product) as myfeature ';
In this instance, we use feature ID3. You can change the feature by looking for its ID in the Features panel (SC Catalog>Features)