Discount type

How I can do discount as price instead of percent? I edited JS file and it works good

but when I click ‘add this article’ on shopping card and total still shows as percent.

Which file calculates discounts for cashdesk? How I can edit?

I found answer, just go to core/lib/price.lib.php line 132 & 133.

Change:

$tot_avec_remise_ligne = $tot_sans_remise       \- $remise_percent_ligne;
$tot_avec_remise       = $tot_avec_remise_ligne \- $remise_percent_global;

I’m using only cash desk, so I don’t know how effects other modules. So backup your file before save.

Tochno,
I know this is an old post but how did you achieve this what do I need to change?