frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[BUG] AddToCart and Clearance sale activated

Open BrocksiNet opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

If I have a product with that stock configuration: image

I can still click the AddToCart Button in Frontend and get a success message.

However, the product is not added to the cart ... everything looks correct as a customer.

Expected Behavior

As a customer, I would expect a message that the product is not in stock and the AddToCart Button should be disabled.

I would also expect another error message when I am allowed (not deactivated) to click the AddToCart Button.

Suggestion: Compare the template with the default storefront and how the flow is there.

Steps To Reproduce

Test-Product: http://localhost:3000/LAVENDA-Product-Variants/SW20004.1

Environment

No response

Anything else?

No response

BrocksiNet avatar Apr 17 '24 07:04 BrocksiNet

it duplicates those issues:

https://github.com/shopware/frontends/issues/464 https://github.com/shopware/frontends/issues/782

mkucmus avatar Apr 17 '24 08:04 mkucmus