Add Gravatar image to Accounts page in Opencart

  Recently I had an enquiry on how to add a customer’s Gravatar image to their Account page in Opencart. With a little bit of research I found out that you can “get” the following customer details: $this->customer->isLogged() $this->customer->getId() $this->customer->getFirstName() $this->customer->getLastName() $this->customer->getEmail() $this->customer->getTelephone() $this->customer->getFax() $this->customer->getNewsletter() $this->customer->getCustomerGroupId() $this->customer->getAddressId() $this->customer->getBalance() $this->customer->getRewardsPoints() So we can use “getEmail” to … Read more