{"id":76400,"date":"2016-09-29T10:20:48","date_gmt":"2016-09-29T14:20:48","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=76400"},"modified":"2016-11-16T10:25:46","modified_gmt":"2016-11-16T15:25:46","slug":"prestashop-1-6-x-change-date-format-customer-registration-form","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-change-date-format-customer-registration-form.html","title":{"rendered":"PrestaShop 1.6.x. How to change date format in customer registration form"},"content":{"rendered":"<p>This tutorial will show you how to change the date format in customer registration form in PrestaShop.<\/p>\r\n\r\n <div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/ZowMTS29YPU\"><\/iframe>\r\n<\/div>\r\n<ol>\r\n\t<li><p>By default we have the following fields order:<em> Day | Month | Year<\/em>.<\/p>\r\n\t<p>Lets change it and swap the Day and Month fields.<\/p><\/li>\r\n\t\r\n\t<li><p>Connect to your server using any FTP client and navigate to the root directory of your store.<\/p><\/li>\r\n\t<li><p>Then go to <strong>themes\/themeXXXX<\/strong> folder.<\/p><\/li>\r\n\t<li><p>Open the <strong>authentication.tpl<\/strong> file for editing.<\/p><\/li>\r\n\t\r\n\t<li><p>Locate and swap the following code:<\/p>\r\n\t\t<pre class=\"brush:html\">&lt;select id=&quot;days&quot; name=&quot;days&quot; class=&quot;form-control&quot;&gt;...&lt;\/select&gt;<\/pre>\r\n\t\t\r\n\t\t<p>With:<\/p>\r\n\t\t\r\n\t\t<pre class=\"brush:html\">&lt;select id=&quot;months&quot; name=&quot;months&quot; class=&quot;form-control&quot;&gt;...&lt;\/select&gt;<\/pre>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1-300x210.jpg\" alt=\"Prestashop_Change_date_format_in customer_registration-1\" width=\"300\" height=\"210\" class=\"alignnone size-medium wp-image-76402\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1-768x538.jpg 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\t\r\n\t<\/li>\r\n\t\r\n\t<li><p>Scroll down and do the same thing again.<\/p><\/li>\r\n\t<li><p>Save this file and upload to the server. Reload your site to see the changes applied.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2-300x210.jpg\" alt=\"Prestashop_Change_date_format_in customer_registration-2\" width=\"300\" height=\"210\" class=\"alignnone size-medium wp-image-76403\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2-768x538.jpg 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t<\/li>\r\n<\/ol>\r\n<p>You may also need to change the fields on Personal Information page.<\/p>\r\n<ol>\r\n\t<li><p>Open the <strong>identity.tpl<\/strong> file (located in the same directory) for editing.<\/p><\/li>\r\n\t<li>\r\n\t\t<p>Change the Days div with the Month div, same as it was done previously.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3-300x210.jpg\" alt=\"Prestashop_Change_date_format_in customer_registration-3\" width=\"300\" height=\"210\" class=\"alignnone size-medium wp-image-76404\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3-768x538.jpg 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\t\r\n\t<\/li>\r\n\t<li><p>Save this file and upload to the server. Reload the site to see changes applied.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4-300x210.jpg\" alt=\"Prestashop_Change_date_format_in customer_registration-4\" width=\"300\" height=\"210\" class=\"alignnone size-medium wp-image-76401\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4-768x538.jpg 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/Prestashop_Change_date_format_in-customer_registration-4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\t\r\n\t<\/li>\r\n\t\r\n<p>Thank you for reading this tutorial. Now you know how to change the date format in customer registration form in PrestaShop.<\/p>\r\n<p>Open our widest collection of well-crafted <a href=\"https:\/\/www.templatemonster.com\/prestashop-themes.php\" target=\"_blank\" title=\"PrestaShop Themes\">PrestaShop templates<\/a>!<\/p> \r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=ZowMTS29YPU?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to change date format in customer registration form<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to change the date format in customer registration form in PrestaShop.<\/p>\n","protected":false},"author":12,"featured_media":76407,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[2482,857,552,1234],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/76400"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=76400"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/76400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/76407"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=76400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=76400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=76400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}