Thread: Age Restriction

Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2010
    Location
    Northants, England
    Posts
    82
    Plugin Contributions
    0

    Default Age Restriction

    Hello,

    My question is hopefully a simple one to solve.
    I followed the instructions in:-
    https://www.zen-cart.com/tutorials/i...hp?article=272
    and modified the create_account.php file as described.
    The one problem I am having is that it says 'Then create an over-ride file for your includes/languages/english/create_account.php file....'
    I simply don't know what to call the file and where to place it.

    Any help on this please?



    Regards
    Brendon

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Age Restriction

    You call it create_account.php and you put it in a folder that you create with the same name as your template directory in includes/languages/english.

    So the end result is the file includes/languages/english/YOUR_TEMPLATE_DIR/create_account.php
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2010
    Location
    Northants, England
    Posts
    82
    Plugin Contributions
    0

    Default Re: Age Restriction

    Thank You.
    That did work, although it's a bit messy.
    Firstly, the folder 'includes/languages/english/YOUR_TEMPLATE_DIR/ did not exist. Of course the 'your template' bit should be named with my template name which I did, and put the newly created create_account.php in it.
    When attempting to create an account with an under 18s dob, it says at the top of the page the line of text from the create_account page 'define('ENTRY_DATE_OF_BIRTH_UNDERAGE','Sorry, but you must be at least 18 to register to use this site'); '
    It also has increased the font size of the page.

    I've attached the screenshot for your viewing.
    Attached Images Attached Images  

 

 

Similar Threads

  1. Age restriction
    By dereck72 in forum General Questions
    Replies: 5
    Last Post: 20 Dec 2013, 04:25 PM
  2. Age Restriction Page
    By LovejonesBoutique in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Nov 2010, 09:59 AM
  3. Age Verification or Restriction
    By Sweet ZouZou in forum General Questions
    Replies: 15
    Last Post: 10 Nov 2010, 09:46 AM
  4. Age Restriction...
    By Alex Clarke in forum General Questions
    Replies: 7
    Last Post: 16 Oct 2008, 12:34 PM
  5. Login Age Restriction
    By MIJewels in forum Managing Customers and Orders
    Replies: 0
    Last Post: 14 Apr 2008, 06:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR