I installed ECO so that I could disable user registration during checkout. This is great functionality, but now I'm left with a misleading message in the Customer Information section of my checkout process:

Enter a valid email address for this order or click here to login with an existing account and return to checkout.

No shoppers will ever have user accounts, so this message is confusing. Could ECO offer an option to edit this message? Or just automatically remove the part about logging in if you have ticked the "disable user registration during checkout" option?

Thanks

Comments

Anonymous’s picture

Current workaround using hook_form_FORM_ID_alter (which is simply hook_form_alter for a specific form id):

function MODULE_form_uc_cart_checkout_form_alter(&$form, &$form_state)
{
	$form['panes']['customer']['#description'] = 'Enter a valid email address for this order.';
}