You would need to add extra validation to catalog/controller/checkout/confirm.php. You can see the sort validation code you would need to add in the add method in catalog/controller/checkout/cart.php. However, then the difficult bit, you would need to somehow let the customer know so they could add the options.answersun wrote: ↑Sun Dec 17, 2023 2:55 amCustomers able to place order without choosing mandatory product options.
How to reproduce:
1. add a product in admin side without any option.
2. add this product to cart in the customer side.
3. add some mandatory options to the product in admin side.
4. update the product quantity in the cart and checkout, you can see the customer can update the cart and checkout without choosing any of the mandatory options introduced in the step before, which shouldn't be allowed.
Here's a recording showcase this problem: https://drive.google.com/file/d/1b42JH3 ... sp=sharing
Any suggestion on how to fix this?
Thanks in advance!
If the product is that different, you would maybe be better disabling or deleting the old version and add a new product with the options.