I have a product with two "Customizable options" of type field. I would like the value of one field to be input verified. Something like text should end with "12121212" otherwise refuse to add to cart/wishlist etc.
What would be the adviced way to create such input field validation?
Hi @f1outsourcing,
You can fire the event when adding the product to the cart/wishlist to check the fields according to your needs.
Hope this can help you! Let me know if you need further assistance.
__________
If issue solved, Click Kudos & Accept as Solution.
Hi Marcus,
Thanks for the reply Is that not a bit drastic, having to monitor events? Maybe I understand not correctly, do you have a link to an example?
I was actually thinking of something more client side, because it is not really possible to abuse this, it is more of a convenience so people are not entering the wrong data.
I already had to create a theme, I thought maybe 'copy' some product page into the theme and ad there some javascript?