Cost Calculator Subtotals

From plugin version 2.3.2 it is possible to calculate and display subtotal.
5
Veneers subtotal
0
Teeth whitening subtotal
Total
HOW IT WORKS
On the following example calculation is:
var dental_veneers = $1;
var number_of_teeth = $2;

var final_res = dental_veneers * number_of_teeth;

setSubtotal( 'subtotal_01', final_res );