The Grid function

The grid function receives two values and then reads a csv file and gives you the result


In this case, the grid function will read the file prices.csv located in the folder /dynamicproduct/databases and then will use the rows_field and column_field values to get the result

The prices.csv file should look something like this

You can download this sample csv file

The width/height label is not necessary, you can delete it (sample file)

After uploading the file to the ftp folder [root of PrestaShop]/dynamicproduct/databases, the module will detect it in the formulas, you can then click the file to use it

You can also use the grid function in field formulas like this


The logic that the module follows to get the result is the same logic as in the Grids feature

Was this article helpful to you? Yes No