Closed Hobokens closed 1 month ago
I guess this is an issue related to cart-products. I fixed an issue there. Please try to update to cart-products version 5.0.0 and test the stock handling again.
I just tested it with cart_products 5.0.0 The problem still exists for products with variants and stock handling. I have two other products with variants and without stock handling. Here everything is fine.
I tried to remove the stock handling for testing without success.
Can you provide me with more information/screenshots on where exactly the problem occurs? Also via DM in Slack.
The problem is solved with the new version for TYPO3 12.
Bug Report
Current Behavior I have a product with several colour variants. I activated
Stock handling in variants
. Each variant has a stock of 1. For example, if I select a product with a yellow color and one with a blue color, both color variants are displayed correctly with price in the cart form. The line below, which should show the sum of the two products, shows the correct quantity, i.e.2
, but the sum of the two products is0
.When listing the total price, the price for the two color variants is missing. In addition, the order button is no longer displayed.
In the detailed view of a product, only one product can be ordered as there is only one product in stock. A corresponding message appears. However, the number of products can be increased in the shopping cart without a corresponding message appearing.
Expected behavior/output The sum should be displayed correctly, as should the order button. It should only be possible to increase the number of products in the shopping cart if there is a corresponding number of products in stock.
Environment