Calculation within PDF Maker
Last week our support team has a specific requirement for the PDF Maker extension. Our customer needs a specific calculation in Productblock table. He needs multiply two columns and summary it. He needs to show a Purchase Price in PDF export and show the sum of all Purchase prices. Here is a small description how to make this. Maybe this can help some of our PDF Maker users. There is also Video which shows how to calculate in PDF Maker, but there is only sum function.So in this case, if we need multiply two columns and summary it, we need a start (before Productblock) with definition of variables and give them default value 0 [CUSTOMFUNCTION|setCFNumerValue|purchaseprice_product|0|CUSTOMFUNCTION] [CUSTOMFUNCTION|setCFNumerValue|purchaseprice_total|0|CUSTOMFUNCTION]In next step we will calculate purchaseprice_product variable as $PRODUCTQUANTITY$ * $PRODUCTS_CF_751$....