Apply Conditional Discounts for WooCommerce