VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lode999 on August 17, 2012, 11:32:17 AM

Title: discount is not working correct.
Post by: lode999 on August 17, 2012, 11:32:17 AM
Hello,

I tried VM on 2 different servers. There is a problem with the discount.
I did a complete new installation 5 times. Afther removing everthing from VM including the tables in the database.
The last time I installed and did not any configuration, and the problem is there also with the sample data.

joomla 2.5.6
php 5.2.17
db  myquel 5.5.23-55
VM 2.0.8e

(http://forum.joomlacommunity.eu/attachment.php?attachmentid=2280&stc=1&d=1345133190)
(http://forum.joomlacommunity.eu/attachment.php?attachmentid=2281&stc=1&d=1345133190)

the screens are from the first installation where I changed the prices. But the problem is also with the sampledata.

Verkoopprijs (price) shows the amount of the discount (€15)
Korting ( discount) shows the final price to pay (€485)

In the checkout you see that the amount to pay is the discount (€15)

Is this a bug? Or is it me who is doing something wrong?

Thank you for your cooperation.
Lode

Title: Re: discount is not working correct.
Post by: lode999 on August 17, 2012, 17:04:03 PM
The prices are wrong in the database. Maybe  is the way I modfy the discont not correct.
I wil first try some things.
Title: Re: discount is not working correct.
Post by: lode999 on August 18, 2012, 11:06:26 AM
This is no bug...
Only me who is stupid :-[
I was putting in  the amount of discount  that I wanted to give, instead of the final price .
So the calculation was wrong.
If you want to decrease the price with an amount you have to do it in the dropdown  at the bottom of te page.