Issues submitted without sufficient information will be rejected.
The current quick order form prevents multi-SKU products from being added to cart.
A message will appear saying "{SKUCode} is a configurable product. Please visit the product page to add it to the cart."
Multi-SKU products should be able to be entered using their SKU. Originally I was thinking that the check should be to see if there are any Cart Item Modifiers on the addtocartform, but I am no longer convinced this should be the case. Cart Item Modifiers can be optional, so I do not believe that we should prevent users from attempting to submit this form through the front-end just because there are Cart Item Modifiers available.
if (res._definition[0]._options) {
this.setState({
product: res,
isLoading: false,
skuErrorMessage: intl.get('configurable-product-message', { SKUCode: productId }),
});
onItemSubmit({
code, quantity, product: {}, isValidField: false,
});
}