* Added sanitization checks to ensure that products excluded are checked correctly.
* Ensure to work with WooCommerce product objects to prevent issues with WC functions.