'Virtuemart combine attributes to adjust the price

Is it possible to combine different attributes to calculate the price. Like, if I have to attributes, and when I have a attribute with 5 and a attribute with 4, that I can somehow create a combination, so (for example) that the price becomes (5 x 4 = ) 20.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source