-
Notifications
You must be signed in to change notification settings - Fork 28
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
Doesn't work update of minicart's count #12
Comments
There is a new version in develop branch that we are currently testing that should fix this problem. |
Okay. Thanks a lot. Good luck!
ср, 6 февр. 2019 г. в 14:27, Dominik Meglič <[email protected]>:
… There is a new version in develop branch that we are currently testing
that should fix this problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUUdSKE1a4nQAWKHMxme7Y3S9B5bINAZks5vKso9gaJpZM4akwZX>
.
|
Should be fixed by #13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have condition when subtotal price will be more than 1500.



Problem is in when we add two products with price 849 (subtotal 1698), minicart count equal 2, but in general is 3, because we have add free product by condition. Also, if we add one product more, than it updates well. After that if we want to do subtotal price less then 1500, our free product will remove from cart, but count of minicart will not update.
So, I think that we have to do update of minicart count every time when we add free product or remove.
I have thought it can be in FreeProduct\Observer\RemoveGiftItems.php. But, unfortunately, I can't understand how to do it only by php without js.
Here is screenshots:
Here is correct
Here is wrong showing
Here is again correct
If we change qty of product to 1, we have the same situation like in the first screen.
The text was updated successfully, but these errors were encountered: