News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Quantity related Price Calculations

Started by bryan.teague, June 03, 2012, 18:13:37 PM

Previous topic - Next topic

bryan.teague

Hi, 

Here is what I want to do: 

I need to do a Buy 4 get the fifth one free. 
units 1-4 --  no discount. 
So, if someone puts 5-9 of the item - they should get a discount of $21.95  (the price of 1 item) 

If someone orders 10-14, they should get a discount of $43.90 

It is a $21.95 discount for each group of 5 they purchase:

I have tried the following: 

Type of arithmetic operation:  Price modifier before tax per bill
math operation: -
Value 21.95

Amount condition %5

When set like this the following happens:

  • Quantity of 1 works correctly.
  • Quantity of 2 gives me the discount -- not working correclty!
  • quantity of 3  gives me the discount -- not working correclty!
  • quantity of 4  gives me the discount -- not working correclty!
  • quantity of 5  gives me the discount -- working correclty!
  • quantity of 10 gives me a discount, but should be $43.90, not $21.95

The same thing happens when I set the amount condition to =%5 and set the minimum quantity to 5.

If I set the system to use the min / max / overwrite value table instead of the amount condition,  I still get exactly the same result. 

amount condition blank   

min: 5  max: 9 override: 0
min: 10 max: 14:  override: 43.90

What am I doing wrong? 

Any help is greatly appreciated.

Thanks,
Bryan


Milbo

Quote from: bryan.teague on June 03, 2012, 18:13:37 PM
Amount condition %5

When set like this the following happens:

  • Quantity of 1 works correctly.
  • Quantity of 2 gives me the discount -- not working correclty!
  • quantity of 3  gives me the discount -- not working correclty!
  • quantity of 4  gives me the discount -- not working correclty!
  • quantity of 5  gives me the discount -- working correclty!
  • quantity of 10 gives me a discount, but should be $43.90, not $21.95

Hmm this is strange, it should only give disocunt for 5,10,15,20, and so on.

Quote from: bryan.teague on June 03, 2012, 18:13:37 PM
So, if someone puts 5-9 of the item - they should get a discount of $21.95  (the price of 1 item) 
If someone orders 10-14, they should get a discount of $43.90 

Funny is that you describe here already exactly the table you need. Leave amount condition empty,

Make a table min 5, max 9, overwrite value 21.95
min10, max 14, overwrite value 43.90

Okey, I admit, not a nice solution, but it works. When the shopper is buying higher amounts it makes imho more sense to use then another discount method. Because at the end it is a discount of 20%. And the marketing effect is for the customer interesting for the first 4. Maybe the first 10 (regarding 9).
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

bryan.teague

I tried as you suggested and still no luck, the site is using Joomla 1.5.23 with VM 2.0.6 with version 2.0.2 of the plug-in.  Do you have any other suggestions?

Thank you,
Bryan

razor7

Hi, wich plugin is this?, I need to do some product quantity discounts.

Thanks in advise!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

d0ublezer0

Hi!
I would like to buy this plugin, but I did not understand from the description whether this:
I have three price levels for each product, depending on the ordered quantity.
These prices are set by hand and can not be calculated as a percentage of the base price.
The question is: is it possible to set the price for each item individually with a dependency on order quantity?