husseycoding / ajaxcartpopup

3 stars 11 forks source link

Problem with the item message #34

Open pepe95270 opened 8 years ago

pepe95270 commented 8 years ago

There is a difference between the notice/error message in the mini-cart and in the actual cart.

For example in the mini-cart I will have this notice message "This product isn't available in this quantity. 6 of the product with be delivered later" but if I go to the cart page the message will be " This product isn't available in this quantity. 2 of the product with be delivered later" (and this is the right message to show). I looked at the getItemMessages($item) method but didn't saw nothing strange. Do you know where this could come from?

Thank you

husseycoding commented 8 years ago

Oh right thats strange. Not sure but the messages that show in the mini cart are generated in the same way as the messages that show on the cart page. Are you consistently seeing the wrong message or does it seem specific to a particular product for instance?

pepe95270 commented 8 years ago

No it's not specific to a single product. If the quantity in cart is higher than the quantity available, a message will show:

And there is another problem I think. If the message is only a notice (not an error) it wont show in the notice popup when I add a product.

husseycoding commented 8 years ago

Ok we'll have a look for the next version.

pepe95270 commented 8 years ago

Thank you ! :) As I have customize the extension could you tell me what you have changed to solve the bug pls ?

Have a nice day

husseycoding commented 8 years ago

When we have worked on it there will be a commit attached to this issue, you can click that to see the changes that were made.