I saved this in the functions.php file but it does not seem to work. I just added a product to the cart with a password that doesn’t match the parameters and it went through.
Is there anything else that may be causing an issue?
Thank you very much for your help so far. I really appreciate it.
Regards,
Jamie