No announcement yet.

Add to Cart Error

  • Filter
  • Time
  • Show
Clear All
new posts

  • Add to Cart Error

    Hi everyone,

    Is there any way to avoid going to this page(1) when you do not choose an option in the listing page?

    For instance, many people forget to pick a color option. It would be perfect if it displays a message box like it does when the product is out of stock.

    (1) "The Item [...] could not be added to cart because one or more options are required, please make sure all required options have been selected.
    Please, click here to go back"

    I have tried with some JavaScript, but the name for that attribute (Color-CertainNumber) is kind of random and I cannot get the value and do something with it.

    Thank you!