Step 1
Download package, you will have a plugin.
Please install plugin as normal, then go to plugin manager for enabling VM - Calculation Jms Quantity Related Price.
Step 2
How to set up quantity,prices for product:
Go to Virtuemart-> Product tab, choose Taxes & Calculation Rules, add new

- Calculation Rule name : fill "JMS quantity related price" or what name you like
- Published: check on checkbox
- Description: descripotion
- Type of Arithmetic Operation : choose price you want to apply rules
- Math Operation: choose math operation will calculatator for price
- Currency: choose Currency
- Product Category: select cateogries you want to apply
JMS Quantity parameters
Click "Add Amount Customize" for adding rules
Example 1: As image example above, when user buy 2 or 3 products, user will get discount $2 for each product, when user buy 4 or 5 product, user will get discount $3 for each product, and when user buy from 6 products, user will get discount $4 for each product. You have 3 rules:
- 1.Min:2, Max:0, Overwrite value: 2
- 1.Min:4, Max:0, Overwrite value: 3
- 1.Min:6, Max:0, Overwrite value: 4
Example 2: when user buy from 2 to 4 products, user get discount $2 for each product; when user buy from 6 to 8 product, user get discount $3 for each products; and when user buy from 10 products, user get discount is $4 for each product. You will add 3 rules like below:
- 1.Min:2, Max:4, Overwrite value: 2
- 1.Min:6, Max:8, Overwrite value: 3
- 1.Min:10, Max:0, Overwrite value: 4
All products in categories( what you selected to apply rules) will auto update rules for price. For special product, please edit it, choose JMS quantity related price as image below:
