News:

Support the VirtueMart project and become a member

Main Menu

Recalculate cart without warning

Started by guardiano78, October 31, 2019, 10:44:51 AM

Previous topic - Next topic

guardiano78

Hello,
i have a serious problem and i hope there is a quick solution.
I tested this behavior with latest versions "joomla 3.9.12" and "virtumart 3.6.4", clean installation.

Practical example:
1. Added to cart 10 pieces of the product1 (stock 14)
2. While browsing the catalog, other users buy 6 pieces of the product1
3. Adding to the cart 2 pieces of the product2, it happens that in the cart the quantities for the product1 are reduced from 14 to 8 without the user receiving any type of signaling.

So the risk is that the user enters the cart and does not notice that the 14 pieces he intended to buy have become 8.
It happens that it finalizes the order and therefore receives less pieces than expected and sends negative feedback.

When the objects in cart are few, maybe it is not a problem, but if a user buys different quantities of 20 or + different objects, the risk of ordering fewer pieces than expected increases. ​

What do you think about?
is it fixable?

Thanks.

AH

#1
This is similar to the previous posts and is the way VM currently functions.

http://forum.virtuemart.net/index.php?topic=143772.msg508505#msg508505
AND
http://forum.virtuemart.net/index.php?topic=142950.msg504812#msg504812

If you have a paid membership - maybe someone might look into this further for you

https://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail
Regards
A

Joomla 4.4.5
php 8.1

guardiano78

Hello AH,

QuoteThis is similar to the previous posts and is the way VM currently functions.
initially I thought that the problem was only mine, but then after several tests, I did a pulti installation and I discovered that it is not just my problem ... so I decided to write the post also in the bug section.

Thanks you for suggestions.

AH

Guardiano

It is currently the way VM is working - but that is not to say that it needs to reamain like that.

I have not tested this area, as I handle stock figures outside of VM.

I have pointed out your post to the dev team.
Regards
A

Joomla 4.4.5
php 8.1

guardiano78

Hello AH,
I thank you for the report you made!

However, to be more precise, the problem occurs when the "Display modal popup upon 'Add to cart'" option is active.
I think because with the popup enabled, the cart is updated through Ajax calls, so there is no page change.

Thank you.