Table of Contents
document-of-national-identity-extension-for-magento-2.html | Dni (Document Of National Identity) ]] Extension Detail Page for Features and Demo
Documentation for Dni (Document Of National Identity)
Preference
Dni is perfect extension for store owner who can restrict for each customer to validate the Dni/passport number on checkout page at order time.
- One customer can’t add multiple Dni/passport because it is unique for each customer.
Installation
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Dni, The module will be displayed in the admin panel.
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_Dni’ → 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to
Stores → Configuration → Mageants → Dni, the module will be displayed in the admin panel.
Backend Example
- After Installation of Extension login to magento admin panel to set configuration of the extension.
- we can easily changed text of Dni/passport from back-end as well as we can disable the functionality related to the Dni from the back-end admin panel
Extension Configuration:
- Display on invoice page in shipping address from backend
- Display on Shipment page in shipping address from backend
- Display on Credit memo page in shipping address from backend
- When we create new order from back-end, Dni Display on shipping address form
- Display Dni field, When we save customer information from admin account information page
- Display Dni field, When we save customer shipping address from back-end
Frontend Example
- Display on checkout page and enter Dni text ,for it restrict for each customer.
- Display Dni on payment page checkout
- Display Dni on shipping address on checkout page
- Display Dni on new shipping address form on checkout page
- Display Dni on billing-address section on checkout page
- Customer can easily modify Dni/passport data once they login in their account there we created a custom tab Dni/passport by clicking on this tab open page of Dni/passport field for save the data.
- Customer can easily modify their Dni data from their account
- Dni Data display on address book default shipping address section
- Dni data display on my account default shipping address
- Customer first time will be created account they want to created address direct their account there also appear Dni/passport field if they second time will be created or modify then our Dni field data disable for that customers
- Dni data display on re-order order information section
- Dni data display on multi-shipping address section
- Dni data display on order print , invoice print, shipment print in front-end
- Dni Data display on multi order place page from front-end