We sell clothing items on one of our websites and I'm trying to update the error message a customer would receive if they tried to add a product to their cart without selecting a size from the size modifiers. Right now when a user tries to add an item without selecting the size modifier, they are redirected to a new page that reads:
The form you submitted contained the following errors: Store: Can't find product (entry ED: 190, modifiers {"56":"Select"})
I've tried looking into having the error displayed inline on the page, but I don't think I'm able to use error_handling="inline" in either of the following tags:
{exp:channel:entries
{exp:store:product
We aren't running the {exp:store:checkout tag on this particular page. Any ideas on how to accomplish this? I am also open to updated the default error message templates. I just need the error message to be more useful and say "Please select a size before adding the item to your cart."
Any help would be appreciated. Thank you!