Closed mc12345678 closed 9 years ago
Issue appears to be resolved via inclusion of extra_cart_actions file for SBA tracked product. Now when cart is set to not display after adding product, error message appears if the total of the variant exceeds the available quantity of that variant if the allow checkout option is set to false. If allow checkout (permitting backorder quantities) is set to true, then the products are considered successfully added to the cart, and it is only when viewing the cart that the red message about backorder and the currently available product are displayed. This is consistent with routine ZC operation.
Issue resolved in both mc12345678 branches.
If the store is set to not display the shopping cart upon adding items, then when a product quantity is added to the cart in excess of that allowed, no error message is generated and in fact the successfully added to cart message appears. Subsequently accessing the shopping_cart displays the error message about exceeding the quantity.
Suggested solution is to incorporate an includes/extra_cart_actions file to address the details of the error message when working with a SBA tracked item.
It looks like there may be three functions that would be of "concern" to address in the file, the add product, the update product and the multiple add product cases. All three should be possible to incorporate and address.