first function below adds a custom checkmark field to enable to disable in products backend page details to enable or disable guest checkout for certain products if that che