BroadleafCommerce / ReactStarter

Broadleaf Commerce Spring Boot React Starter
Creative Commons Zero v1.0 Universal
43 stars 41 forks source link

UI - Add to cart do not work for products with a required attribute #20

Open linuxidefix opened 4 years ago

linuxidefix commented 4 years ago

How to

go to http://localhost:3000/browse/merchandise/hawt_like_a_habanero_womens

You cannot choose the color attribute.

87e388c7-9cf9-4eff-94a0-50216943b059

So you cannot add it to the cart

Caused by: org.broadleafcommerce.core.order.service.exception.RequiredAttributeNotProvidedException: Required attribute, COLOR, not provided
    at org.broadleafcommerce.core.order.service.ProductOptionValidationServiceImpl.validate(ProductOptionValidationServiceImpl.java:62)
    at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.findMatchingSku(ValidateAddRequestAct

react starter: develop-6.0.x (- broadleaf 6.0.5-GA)