Hi I want make normal (not ajax) GET request to add product to cart but when I try something like this:
localhost:8080/cart/add?quantity=1&productId=300&color=Black
I have:
[artifact:mvn] org.broadleafcommerce.core.order.service.exception.RequiredAttributeNotProvidedException: Unable to add to product (300) cart. Required attribute was not provided: COLOR
[artifact:mvn] at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.findMatchingSku(ValidateAddRequestActivity.java:148)
[artifact:mvn] at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.determineSku(ValidateAddRequestActivity.java:124)
[artifact:mvn] at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:82)
[artifact:mvn] at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:40)
[artifact:mvn] at org.broadleafcommerce.core.workflow.SequenceProcessor.doActivities(SequenceProcessor.java:79)
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.