Fashionist Posted September 2, 2014 Share Posted September 2, 2014 (edited) Hi all, I want to improve a check box with "Terms and Registration" in the registration form, and to apply it obligatory to create an account (like all the e-commerce that you can see around the world). How I have to do? Thanks Edited October 11, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
agenceweb74 Posted September 19, 2014 Share Posted September 19, 2014 You can add a small piece of non intrusive javascript using JQuery. Link to comment Share on other sites More sharing options...
Fashionist Posted September 24, 2014 Author Share Posted September 24, 2014 in what manner? Link to comment Share on other sites More sharing options...
agenceweb74 Posted September 24, 2014 Share Posted September 24, 2014 Which version of Prestashop ? Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2014 Share Posted September 25, 2014 terms and conditions? register form? you use some modification? as far as i know terms and conditions appears only while order process Link to comment Share on other sites More sharing options...
Fashionist Posted September 25, 2014 Author Share Posted September 25, 2014 (edited) Version 1.6.0.8 I need that customer accepts my terms and condition otherwise he can't register to site. I use a commercial template but file is the same of prestashop with standard template. I have added a screenshot to tell you where I'd like to add this checkbox with iperlink to my terms and condition. Thanks you Edited September 25, 2014 by Fashionist (see edit history) Link to comment Share on other sites More sharing options...
Fashionist Posted September 29, 2014 Author Share Posted September 29, 2014 Up....somebody that know how to do this? Link to comment Share on other sites More sharing options...
agenceweb74 Posted September 29, 2014 Share Posted September 29, 2014 You need to extend authentication.tpl , the easy way for you (not the best way) is probably to duplicate a checkbox from the newsletter, mark it as required using HTML 5 attribute and add a small Jquery script that check that the checkbox is selected. here is a sample of HTML, you'll need to write the JS <div class="checkbox"> <label for="conditions"> <input type="checkbox" name="conditions" id="conditions" value="" {if isset($smarty.post.conditions) && $smarty.post.conditions== '1'}checked="checked"{/if} /> {l s='You need to accept general terms and conditions'}</label> </div> Link to comment Share on other sites More sharing options...
Fashionist Posted October 1, 2014 Author Share Posted October 1, 2014 I don't understand....I have only to add this code to authentication.tpl? Link to comment Share on other sites More sharing options...
Recommended Posts