News:

Looking for documentation? Take a look on our wiki

Main Menu

Price based on Quantity

Started by neveryonas, February 18, 2012, 18:32:28 PM

Previous topic - Next topic

neveryonas

Hello,
I am running VM 2.0 and Joomla 1.5.20. Trying to figure out how to set up an automatic way to calculcate the total price based on quantity.
Example
1= $10.00
2-4= $8.00
More then 4=$7.00

I guess one way would be to create child products, specifiying min and max quanity, but it looks confusing to the user, as they all are the same product. Is there a way to do this through the tax and calculation? Any help would be greatly appreciated!

PRO

neveryonas, I do know there is a 3rd party plugin developed already for this.

s soon as the vmart store is open, itwill be available.

balai

BanquetTables.pro I am interested too for this plugin, do you have more info?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rustle

Hi Milbo

I bought this plugin but I do not understand how to configure it

Could you please point me in the right direction  8)

PRO

Quote from: rustle on February 28, 2012, 23:00:09 PM
Hi Milbo

I bought this plugin but I do not understand how to configure it

Could you please point me in the right direction  8)



what are you trying to do?


rustle

Use the plugin...

How & where do you configure it.




PRO

Quote from: rustle on February 29, 2012, 20:24:24 PM
Use the plugin...

How & where do you configure it.


If its enabled in the plugins.

THEN; u go into "tax and calculations"

Click NEW. Then you will see the plugin at the bottom.


rustle

Excellent Now I see the product, how does it work..

You see this is why I am asking for documentation.

lets i am selling a widget for $10 / item
if the customer buys 10 items, then the price would be $8/item
but if they by 20 items, it would cost $5/item

all of these prices should be applied before taxes and ideally not effect the current cart variants.

how do i do this?

thank you in advance

PRO

Quote from: rustle on February 29, 2012, 21:24:08 PM
lets i am selling a widget for $10 / item
if the customer buys 10 items, then the price would be $8/item
but if they by 20 items, it would cost $5/item

all of these prices should be applied before taxes and ideally not effect the current cart variants.

how do i do this?

thank you in advance

This is 2 discounts, that need to be applied to the product.

So set 1 up.
pdf attached. THEN set another


[attachment cleanup by admin]

rustle

Thank you Banquet

I needed more detailed information

I finally got through to Milbo (I know you guys arfe busy)
the problem was the first few downloads of this plugin did npot contain a readme file

he has since sent it to me

for those interested in configuring this plugin here goes:

Manual for iStraxx quantity plugin for VirtueMart 2.

INSTALLATION
1. Install the plugin with the Joomla Extension Manager 2. Enable the plugin named iStraxx Quantity with the Plug-in Manager


HOW TO USE IT
1. Go in VirtueMart administration, choose the menu Products > Taxes and Calculations rules.
2. Create a new rule. At the bottom of the page, the new calculation options are displayed.

Amount Condition: When you use the min/max option or the table, then this field is usually empty. You can enter a value with "=" or % to define different modes.
"=" means that the rule is only used, when the ordered amount is exactly the entered one. For example =5 is valid only when the product quantity is 5.
"%" is used for a modulo. This means that every quantity dividable by the entered value is valid for the rule. For example use %6 to give a discount for "six packs".
When you use the min/max limit, then you can create a table. The overwrite value is used then.



EXAMPLE 1
===> what do you want to do?
Want a discount of 2% for each 6 packs
==> how to do it
1. Create a rule with "Type of Arithmetic Operation" = "Price modifier after tax"
2. Use as Math Operation "-%"
3. Use as Value 2
4. Amount Condition Modus= 6%


EXAMPLE 2
===> what do you want to do?
Want a discount of 2%  for each 6 packs and quantity > 15 ==> how to do it 1. Create a rule with "Type of Arithmetic Operation" = "Price modifier after tax"
2. Use as Math Operation "-%"
3. Use as Value 2
4. Amount Condition Modus= 6%
5. set min to 15


When you use Amount Condition %5 and one row for the table with min=6 max=15 and no overwrite value, then only the quantities 10,15 are discounted by 2%.

Lets assume you set for the Amount Condition nothing and you add a table like this:
min = 5, max = 20, no overwrite value
min = 21, max = 50, overwrite value =5
min = 50, max = , overwrite value = 10
Then every quantity from 5-20 is discounted by 2% and from 21 to 50 discounted by 5% and more than 50 by 10%


Quantity rules working with the bill total will follow.





Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

webiedesign

I purchased this plugin, but am having trouble configuring it to work as needed.
My product has a min purchase of 20, I have set this in the Virtuemart product status and set the product price to 6.07

My pricing structure is:
min 20 - up to 49 = $6.07 each
50-99 = $5.67 each
100+ = $5.07
I have attached the screenshot of the plugin, please tell me what I need to enter in what fields so this will work for my needs, thank you

[attachment cleanup by admin]
Mary

rustle

it appears that you are missing the operation field, the modus & the overwrite values

webiedesign

Thank you for the reply.
I have " - " selected in the operation drop down.
I have tried various number in  the modus & the overwrite values, but never got the proper results.
My best guess was to put a value of .40 in the overwrite values following the 50min/99max amount condition and 1.00 in the overwrite value following the 100min amount condition.
Mary