VirtueMart Forum

VirtueMart 2 + 3 + 4 => FAQ Frequently Asked Questions => Topic started by: Milbo on February 26, 2012, 19:46:31 PM

Title: The Calculation rules/calculation system of virtuemart 2
Post by: Milbo on February 26, 2012, 19:46:31 PM
The system itself is fast explained and it is quite easy, but it creates a lot of different possibilites, which can be combined.

A calculation rule is defined by the type, the mathematical operation, the value and the different dependencies you can set below.

The type is defining when a calculation rule is is used. In short there exist

Profitmargin
price modification before tax
tax
price modification after tax

The value and the mathematical operation say whats todo with the given price.

In VM2 we follow always the rule, that when you do not enter anything specific it is not used.

So when you do not enter a category, the rule is meant for all categories. Combining the pricing rules with unpublished categories makes them very strong. For example in germany there are two different VAT for Food and Non-Food article. In this case I would create unpublished categories food and nonfood and add every product either to the one, or the other category and create two corresponding rules for it.

With the date feature you can setup saisonal discounts before, so that you cannot miss them.