Author Topic: Price based on Quantity  (Read 17528 times)

neveryonas

  • Beginner
  • *
  • Posts: 11
Price based on Quantity
« on: February 18, 2012, 18:32:28 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Price based on Quantity
« Reply #1 on: February 19, 2012, 17:18:56 pm »
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.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1368
Re: Price based on Quantity
« Reply #2 on: February 19, 2012, 20:14:37 pm »
BanquetTables.pro I am interested too for this plugin, do you have more info?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rustle

  • Jr. Member
  • **
  • Posts: 83
  • Mad love for the VM project
    • Independent Development
Re: Price based on Quantity
« Reply #4 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)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Price based on Quantity
« Reply #5 on: February 29, 2012, 20:12:12 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?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

rustle

  • Jr. Member
  • **
  • Posts: 83
  • Mad love for the VM project
    • Independent Development
Re: Price based on Quantity
« Reply #6 on: February 29, 2012, 20:24:24 pm »
Use the plugin...

How & where do you configure it.




PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Price based on Quantity
« Reply #7 on: February 29, 2012, 21:01:42 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.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

rustle

  • Jr. Member
  • **
  • Posts: 83
  • Mad love for the VM project
    • Independent Development
Re: Price based on Quantity
« Reply #8 on: February 29, 2012, 21:24:08 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10330
  • VirtueMart Version: 3+
Re: Price based on Quantity
« Reply #9 on: February 29, 2012, 21:36:05 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]
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

rustle

  • Jr. Member
  • **
  • Posts: 83
  • Mad love for the VM project
    • Independent Development
Re: Price based on Quantity
« Reply #10 on: February 29, 2012, 23:39:13 pm »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

webiedesign

  • Beginner
  • *
  • Posts: 15
    • webie design
Re: Price based on Quantity
« Reply #12 on: March 05, 2012, 21:58:31 pm »
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

  • Jr. Member
  • **
  • Posts: 83
  • Mad love for the VM project
    • Independent Development
Re: Price based on Quantity
« Reply #13 on: March 05, 2012, 22:12:08 pm »
it appears that you are missing the operation field, the modus & the overwrite values

webiedesign

  • Beginner
  • *
  • Posts: 15
    • webie design
Re: Price based on Quantity
« Reply #14 on: March 05, 2012, 22:20:48 pm »
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