Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purchase using store credits is not deducting correct amount on customer store credit. #4776

Closed
artdingal opened this issue Aug 18, 2016 · 1 comment

Comments

@artdingal
Copy link

Hi guys,

im testing version 2302
I noticed that the store credits is not working fine. here you can see that customer's credit is 500 , the product purchased cost 101 but its deducting 500 on the store credit
image

image

image

image

@artdingal
Copy link
Author

catalog/model/extension/total/credit.php
change line 9 to :
$credit = min($balance, $total['total']);

FROM
$credit = min($balance, $total);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants