JaimeChizavane / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Fixed Quantity, custom option by percentage #791

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a product with fixed quantity pricing
2. Create a custom option for that product that calculates by percentage rather 
than fixed price per singular item

For example customers website sells business cards

 Buy 250 business cards for £55.00
 Buy 500 business cards for £70.00
 Buy 1000 business cards for £75.00
 Buy 2000 business cards for £85.00
 Buy 5000 business cards for £120.00

There is then a custom option for 1 sided or 2 sided

1 Sided = 0 percent (no change)
2 Sided = 15 % change

250 business cards for £55.00 + 15% = 63.25 (magento shows correct)
500 business cards for £70.00 + 15 % = 80.50 (magento shows 86.50)
5000 business cards for £120.00 + 15% = 138.00 (magento shows 285)

http://www.atprintanddesign.co.uk/products/business-cards/plain-business-cards.h
tml

What version of Magento/extension are you using? 1.6

Original issue reported on code.google.com by i...@atprintanddesign.co.uk on 26 Apr 2012 at 10:12

GoogleCodeExporter commented 8 years ago
Having looked at this more its not using the corect price to do the calculation

£55/ 250 = 0.22
15% of 0.22 = 0.03

0.03 * 5000 = 165

so if you select 5000 cards its using the price from 250 cards to do the 
calculation not the actually selected 5000 cards.

Original comment by i...@atprintanddesign.co.uk on 26 Apr 2012 at 10:24

GoogleCodeExporter commented 8 years ago
This bug has already been reported:
http://code.google.com/p/magento-w2p/issues/detail?id=791

Original comment by agur...@gmail.com on 26 Apr 2012 at 7:41