Community Forums 

Main Content

Re:how to make error message for not making a selection

    Feb 07 2015 07:23:12

    #1

    Bacchus

    Join date : 2014-12-04      Posts : 57

    I did find that this simple solution works to indicate a selection is required, although it doesn't stop passing to the cart. It does however put a large message in the cart that there was an error, a selection is required. Shopper can remove errored product from cart, "continue shopping" and make the correct selection, add to cart.
    Make it the first Option:
    <OPTION VALUE="=error= You must select a XXXXX for this product."> Select a XXXXX
    Followed by your Options...
    It's simple, specific to one product and the product's 'error' message can be varied right in the cart coding.

    Bacchus