How to remove social title (Mr , Mrs) and date of birth from registration
Transformer theme v3 & Panda theme v1 for PrestaShop 1.6
Transformer theme v3 and Panda theme v1 have options in the Theme editor module to remove social title and date of birth from registration.
You need to edit these files:
- \themes\yourtheme\authentication.tpl
- \themes\yourtheme\order-opc-new-account-advanced.tpl
- \themes\yourtheme\order-opc-new-account.tpl
- \themes\yourtheme\identity.tpl.
Here are pictures showing lines you need to remove.
order-opc-new-account-advanced.tpl
order-opc-new-account-advanced.tpl
order-opc-new-account.tpl
order-opc-new-account.tpl
Files you need to edit are
- \themes\yourtheme\authentication-create.tpl
- \themes\yourtheme\authentication-create-opc.tpl
- \themes\yourtheme\order-opc-new-account-advanced.tpl
- \themes\yourtheme\order-opc-new-account.tpl
- \themes\yourtheme\identity.tpl
Changes are similar as PrestaShop 1.6.
You can find an option called "Ask for birthdate" on the "BO>Shop parameters>Customer settings" page to remove date of birth from registration.
To remove social title, you need to edit \themes\yourtheme\templates\customer\_partials\customer-form.tpl.
Find this line
1
| {foreach from=$formFields item="field"} |
Add this code right blow it.
1
| {if $field.name=='id_gender'}{continue}{/if} |
Related PrestaShop Themes & Moduels
Sale!
Sale!
Sale!
Sale!
Sale!
Sale! Author: Jonny
Specialize in designing and developing PrestaShop themes and modules.