News:

Support the VirtueMart project and become a member

Main Menu

Discount don't disappear

Started by tonis, April 20, 2012, 16:15:56 PM

Previous topic - Next topic

tonis

Hi

When i try to edit a product, and i  want remove the manual discount from overide field in the product menu, it want disapper. No matter what i do, the discount still remains there. I save it without any number in the field, the field is unchecked, and it gives a 100% discount (after save, the field is checked, although before saving it was unchecked).

Can someone help? thanks

VM 2.0.6

tonis

I have fix this with the help of an earlier version...

Go to file administrator/components/com_virtuemart/tables/product_prices.php

for me its the line 43 ... overwrite the line

var $override = null;

to

var $override = 0;

This should help