paperweight Posted August 5, 2014 Share Posted August 5, 2014 When an order is placed, we only take the user's email address, password, and security answer. So the firstname, lastname, companyname, city, etc. is all not required and not included on the checkout form (viewcart.tpl). This all works great, but on some admin pages like the "Manage Orders" page, there is therefore no active link to go into the user's account because the name is missing. Is there a workaround that will allow me to use the emailaddress in place of the name if the name is not present? And I do not want the emailaddress ot open into a "mailto" link either -- I just want to open the user's account page. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
kargh Posted August 5, 2014 Share Posted August 5, 2014 The back-end area is pretty much locked down with very limited template access. You might be able to save the email address in the Company field in the tblclients table. It seems that it uses Company first, and if that doesn't exist, then First/Last name for orders. Not sure if you can easily save email to Company (save it in the email spot also) or if you'll have to write a quick hook to do this. The hook should be fairly minor to add. 0 Quote Link to comment Share on other sites More sharing options...
paperweight Posted August 7, 2014 Author Share Posted August 7, 2014 Yes I was hoping of a way to change the /admin/clients.php layout to add a table of email addresses. 0 Quote Link to comment Share on other sites More sharing options...
paperweight Posted August 7, 2014 Author Share Posted August 7, 2014 Yes this is very very very frustrating. The more I look, the more depressed I become. I need to use the client's email address rather than their ID and/or name in many areas, such as the Admin Emails and in backend admin areas, but all that stuff is locked up. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.