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

Does not use special price when calculating. #15

Closed
LiamKarlMitchell opened this issue Nov 27, 2019 · 1 comment
Closed

Does not use special price when calculating. #15

LiamKarlMitchell opened this issue Nov 27, 2019 · 1 comment

Comments

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Nov 27, 2019

image

image

Should take special price into account.
Could have sworn this used to just be phtml/block but there is JavaScript in there now.

var price = Math.min.apply(null, $('.price-wrapper',this).map(function(){
  return $(this).data('price-amount')
}).get());

Would something like that work?
Or should it be more explicit?

Cart seems fine as it takes from Total just Product and Category have the issue.

@drevidchuck
Copy link
Contributor

Hello @LiamKarlMitchell
Thanks for reporting this issue
These is now fixed in 15a9a5e

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