add action to calculate quantity of product by field