notcrack Posted April 30, 2013 Share Posted April 30, 2013 I am in the process of signing up with Allied Wallet and they are requesting an age verification on checkout. I can't seem to find anything that will do this. Anyone got any ideas?? Link to comment Share on other sites More sharing options...
mepis Posted May 27, 2013 Share Posted May 27, 2013 I had a similar issue. In the backoffice you can change the translation options. I changed everything relating to the 'Get information form our partners', or something like that, to a checkbox that says 'I verify I am over the age of 18.' I require that box to be checked for checkout. I think it's labeled as optin at first. I also changed the translation of the option to age verification to. Link to comment Share on other sites More sharing options...
notcrack Posted May 28, 2013 Author Share Posted May 28, 2013 (edited) Hi Mepis, Thanks for your suggestion. I gave that a try, but I couldn't get it to work, but this was down to my hosting service. I did messa round with the code on the order-carrier.tpl and got a passable verification check box so this will have to do. If anyone wants to know what I did. Just go to the order-carrier.tpl and find {if $conditions AND $cms_id} <h3 class="condition_title">{l s='Terms of service'}</h3> <p class="checkbox"> <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> <label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read Terms of Service)'}</a> </p> <script type="text/javascript">$('a.iframe').fancybox();</script> {/if} and change it to this {if $conditions AND $cms_id} <h3 class="condition_title">{l s='Terms of service & Age verification'}</h3> <p class="checkbox"> <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> <label for="cgv">{l s='I confirm that I am aged 18 or over.'}</label></br> <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> <label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read Terms of Service)'}</a> </p> <script type="text/javascript">$('a.iframe').fancybox();</script> {/if} It seems to work fine and should stop any underage buyers. Hope ti helps Edited May 28, 2013 by notcrack (see edit history) 2 Link to comment Share on other sites More sharing options...
lionwebmedia Posted May 29, 2013 Share Posted May 29, 2013 Thank you!!! Works like a charm! Link to comment Share on other sites More sharing options...
Yenki69 Posted December 13, 2013 Share Posted December 13, 2013 Thanks for the code, but there is a problem, if the obligatory check in terms of use, and some just checking age verification and other field is left blank, free passes to the next step is there any other solution? Link to comment Share on other sites More sharing options...
Yenki69 Posted December 13, 2013 Share Posted December 13, 2013 I temporarily solved in this way {if $conditions AND $cms_id} <h3 class="condition_title">{l s='Terms of service'}</h3> <p class="checkbox"> <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> <label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally. Also I confirm that I am aged 18 or over.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read Terms of Service)'}</a> </p> <script type="text/javascript">$('a.iframe').fancybox();</script> {/if} Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted December 16, 2013 Share Posted December 16, 2013 Topic moved to the right section. Please pay attention to the subforum you choose when you create a thread. 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