Categories

Featured templates

PrestaShop 1.6.x. How to change date format in customer registration form

Ray Taylor September 29, 2016
Rating: 5.0/5. From 3 votes.
Please wait...

This tutorial will show you how to change the date format in customer registration form in PrestaShop.

  1. By default we have the following fields order: Day | Month | Year.

    Lets change it and swap the Day and Month fields.

  2. Connect to your server using any FTP client and navigate to the root directory of your store.

  3. Then go to themes/themeXXXX folder.

  4. Open the authentication.tpl file for editing.

  5. Locate and swap the following code:

    <select id="days" name="days" class="form-control">...</select>

    With:

    <select id="months" name="months" class="form-control">...</select>
    Prestashop_Change_date_format_in customer_registration-1
  6. Scroll down and do the same thing again.

  7. Save this file and upload to the server. Reload your site to see the changes applied.

    Prestashop_Change_date_format_in customer_registration-2

You may also need to change the fields on Personal Information page.

  1. Open the identity.tpl file (located in the same directory) for editing.

  2. Change the Days div with the Month div, same as it was done previously.

    Prestashop_Change_date_format_in customer_registration-3
  3. Save this file and upload to the server. Reload the site to see changes applied.

    Prestashop_Change_date_format_in customer_registration-4
  4. Thank you for reading this tutorial. Now you know how to change the date format in customer registration form in PrestaShop.

    Open our widest collection of well-crafted PrestaShop templates!

    Feel free to check the detailed video tutorial below:

    PrestaShop 1.6.x. How to change date format in customer registration form
Best Prestashop Themes
This entry was posted in PrestaShop Tutorials and tagged date format, order, Prestashop, registration. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket