WC Template Modification Advice
-
One of my client’s sites uses customer’s email addresses as the username/login and requires that they enter their email address and password to log in. (The site doesn’t allow reviews, etc. and the customer can still choose a username if they like).
To avoid login confusion I’ve changed the text that appears above the username entry box on the account login, checkout and lost password templates from “Username or email” to “Email address”.
I accomplished this by two methods. One is a function command added to the child theme’s functions.php file. The other is by adding the template itself to the child theme and changing the actual text. In the checkout page case I could not add a code snippet to the child them functions.php file that worked correctly so I opted to copy the actual file inside the child theme and modify it.
Is one practice better than the other? Welcome any advice or suggestions.
TIA!
- The topic ‘WC Template Modification Advice’ is closed to new replies.