Now you can use the tpl files for the account section. This is for customers can change the style and place the elements at their free will. If you want to add some custom/local changes to any of the following tpls, first you have to place that tpl in your site’s themes/enabled theme/account folder. For example, if we are using the grey theme and we need to add some changes in account.php page, account.tpl file should be placed in themes/grey/account/account.tpl.
If you want to add some new custom changes, you need to add a new custom php file for that page in themes/functions/ folder with name custom_tpl_{$page}. For eg: If you want to add some custom/local changes in account.php , you need to add a custom php file with name custom_tpl_account.php in themes/functions/ folder where you can add the new changes and assign those to a php variable. Also you should place that variable in account.tpl file on themes/enabled theme/account folder. This article explain the list of tpl files used in the account section.
1) Create_account.tpl – This tpl is using for create account (create_account.php) page.
2) Account.tpl – This tpl is using for account (account.php) page. we can go to this page after the customer is logged.
3) Account_edit.tpl – This tpl is using for account edit(account_edit.php) section , we can go to this page only after the customer is logged.
4) account_history.tpl – This tpl is using for account history(account_history.php) section. This contains the order history of that customer.
5) account_history_info.tpl – This tpl is using for account history info (account_history_info.php) section. Detailed order history of a particular order.
6) account_newsletters.tpl – This tpl is using for account newsletter (account_newsletters.php) section.
7) account_notifications.tpl – This tpl is using for account notification (account_notifications..php) page .
8) account_password.tpl – This tpl is using for account password(account_password.php) edit section.
9) address_book.tpl - This tpl is using for address book entries showing section(address_book.php)
10) address_book_details.tpl – This tpl is using for address book entries add/edit section in address_book_process.php .
11) address_book_entry_delete.tpl – This tpl is using for address book entries delete section in address_book_process.php |