mariesnejstrup Posted August 7, 2014 Share Posted August 7, 2014 Hej, Jeg skal have ændret på kravende mht oprettelse af konto (kundens oprettelse) på min webshop. Fx. skal kunden minimum have 6 tegn i sit password, med både store og små bogstaver. Og lave en boks de skal vinge af for at acceptere disse vilkår og betingelser..Hvor retter jeg dette henne? :-) Link to comment Share on other sites More sharing options...
presta-dyr Posted August 7, 2014 Share Posted August 7, 2014 Hvilken version af PrestaShop benytter du? /Kjeld Link to comment Share on other sites More sharing options...
mariesnejstrup Posted August 8, 2014 Author Share Posted August 8, 2014 Jeg bruger Prestashop 1.5.6.2 Link to comment Share on other sites More sharing options...
presta-dyr Posted August 8, 2014 Share Posted August 8, 2014 (edited) Du skal ændre filen override/classes/Validate.php og specialisere metoden isPasswd. /Kjeld Edited August 8, 2014 by presta-dyr (see edit history) Link to comment Share on other sites More sharing options...
mariesnejstrup Posted August 11, 2014 Author Share Posted August 11, 2014 Hvor finder jeg filen henne? Link to comment Share on other sites More sharing options...
presta-dyr Posted August 11, 2014 Share Posted August 11, 2014 Den skal du selv oprette. Du skal definere klassen Validate, så den nedarver fra ValidateCore. Kig i classes/Validate.php. Læs evt. mere her: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors /Kjeld Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now