Customers/login.liquid
Dirigez-vous dans le template : customers/login.liquid et cherchez "customer.login.password".
En dessous de l'input password ajoutez : Afficher le mot de passe
Theme.js
Dans theme.js, ajoutez tout à la fin :
function myFunction() { var x = document.getElementById ("CustomerPassword"); if (x.type === "password") { x.type = "text"; } else { x.type = "password"; } }
Ce qui vous donnera ceci :