This file holds the main elements for the account pages - You could call it the index to all the other accounting pages. This is also the file you would add new variables in - for custom use.
If you want to create a new style for the account.php page, you can create a custom template of your choice and upload it to the themes/{Current theme}/account/account.tpl. If the account folder is not present you can create a folder with name account.
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 define those to a template variable. Also you should place that variable in themes/{Current theme}/account/ account.tpl.
We have a custom file custom_add.php in themes/functions/ folder which will be available for all files. If you want a new template variable for all account section, you can define that on custom_add.php.
Here is the template variables used for account.php page.
1) {$account_page_heading} – To display the page heading of account.php page
The data of this can be change by changing the value of define HEADING_TITLE in account.php language file.
2) {$account_category_image} – This is the image showing on the right side on the {$account_page_heading}.
3) {$bg_invoice_overview} - To display my invoices overview and a link for viewing all invoice history.
4) {$bg_creditnote_overview} – To display My creditnotes and a link for viewing all creditnotes history.
5) {$bg_service_overview} - To display my service overview and a link for viewing all account service history.
Overview section
6) {$heading_title_overview} – To display the heading title for overview.
The data of this can be change by changing the value of define OVERVIEW_TITLE in account.php language file.
7) {$heading_title_overview_link} – To display the link for viewing all account order history.
8) {$heading_title_previous_orders} – To display heading title for previous orders.
The data of this can be change by changing the value of define OVERVIEW_PREVIOUS_ORDERS in account.php language file.
9) {$south_east_arrow_img} – To display the south east arrow image.
You can replace the image with a new image in the images folder. It should be placed in the root images folder and image name should be arrow_south_east.gif .
10) {$previous_orders} – To display last 3 previous orders with details like date, order no, customer name, country, order status, order total and a view button.
My Account section
11) {$heading_title_my_account} - To display heading title for my account.
The data of this can be change by changing the value of define MY_ACCOUNT_TITLE in account.php language file.
12) {$account_personal_img} – To display the account personal image.
You can replace the image with a new image in the images folder. It should be placed in the root images folder and image name should be account_personal.png.
13) {$my_account_edit} – To display the link to account_edit.php for editing the personal details.
The data of this can be change by changing the value of define MY_ACCOUNT_INFORMATION in account.php language file.
14) {$my_account_address_book} – To display the link to address_book.php for viewing the address book entries.
The data of this can be change by changing the value of define MY_ACCOUNT_ADDRESS_BOOK in account.php language file.
15) {$my_account_password} – To display the link to account_password.php for changing the account password.
The data of this can be change by changing the value of define MY_ACCOUNT_PASSWORD in account.php language file.
My Orders section
16) {$heading_title_my_orders} – To display the heading title for My Orders.
The data of this can be change by changing the value of define MY_ORDERS_TITLE in account.php language file.
17) {$my_orders_img} - To display the my order image.
You can replace the image with a new image in the images folder. It should be placed in the root images folder and image name should be account_orders.png.
18) {$my_orders_link} - To display the link to account_history.php for viewing all order history.
The data of this can be change by changing the value of define MY_ORDERS_VIEW in account.php language file.
Email settings section
19) {$heading_title_email_settings} - To display the heading title for Email settings.
The data of this can be change by changing the value of define EMAIL_NOTIFICATIONS_TITLE in account.php language file.
20) {$account_email_img} - To display the image for account email settings.
You can replace the image with a new image in the images folder . It should be placed in the root images folder and image name should be account_notifications.png.
21) {$account_email_notification_newsletter} - To display the link to account_newsletters.php for subscribe/unsubscribe newsletters.
The data of this can be change by changing the value of define EMAIL_NOTIFICATIONS_NEWSLETTERS in account.php language file.
22) {$account_email_notification_products} – To display the link to account_notifications.php for product notifications. This link will show only when ‘Use product Notifications’ is set true from admin ->settings-> configuration->Enable/disable features-> Features on/off tab
The data of this can be change by changing the value of define EMAIL_NOTIFICATIONS_PRODUCTS in account.php language file. |