Marking an Options as Required
Mark an option as required using the WooCommerce Product Product Option and Fields plugin. You can apply this setting when creating a new add-on group or edit an existing one.
Go to Fields > Required Field. By selecting this checkbox, you can mark the field as required. Leave it unchecked to mark it optional.
Save the add-on.
Now, when customers try to add the product to their cart without selecting the required option, they will be prompted to select the required option before proceeding.