Idea: Hook “quantity 0” into normal delete fucntion
-
This plugin is already totally kick-ass and works great. What I’m proposing here would just make it more streamlined and operate with native WooCommerce functionality. It’s more of friendly suggestion than anything else ??
But currently you have 2 different scenarios that happen when deleting a product from the shopping cart depending on how it was deleted.
1) This is how the cart should look after deleting it’s only product. You can see it in action by clicking the “X” button to the left of the product picture in your shopping cart. The shopping cart is empty of all tables and fields, all it has is a blue notification bar with an “undo” link and a button to return to the shop. See here: https://smrtshot.com/i/gDvnl
2) But this is how the cart looks after changing the product quantity to “0” and then confirming the dialog box. The cart does not display the correct messaging, and it keeps all the other parts of the shopping cart that should not be showing when it’s empty. See here: https://smrtshot.com/i/gDxTZ
In fact, if you hooked the “quantity 0” delete functionality into the way WooCommerce normally handles cart deletion (like in scenario 1 with the “X” delete) then you wouldn’t even need the popup dialog box that you have created, because the user could just use the normal blue status bar with the “Undo” link inside like it was intended.
Just some food for thought!
- The topic ‘Idea: Hook “quantity 0” into normal delete fucntion’ is closed to new replies.