I have this small problem i am using open cart v 2.0.1.1 and when the user is logged in it shows my account with the drop down. I want to display the username of that particular user instead of " my account" can anyone help me with this problem?
Asked
Active
Viewed 748 times
-2
-
2Stack Overflow isn't the place to ask this as it isn't about programming. – AStopher Feb 11 '15 at 12:37
-
where is the code that you have tried? or even how do you think it can be done? – Abdo Adel Feb 11 '15 at 17:14
1 Answers
0
in case of you don't know how start
(1) you will need to read this post How to become an open cart guru
(2) steps
- you will need to pass the name of the customer in some variable to the template file by adding it to
$data
array incatalog/controller/common/header.php @ class ControllerCommonHeader @ function index
- in the template file, change the part that checks whether the user is logged in or not, and add the passed customer name or the old header My Account depending on the branch