[Skip to main content](#vessel-content)

#   Last X orders info

##

- **[phiddius](/forum/user/41209-phiddius "View phiddius's Profile")**
- [![phiddius's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41209-phiddius "View phiddius's Profile") Topic Author
- [ Offline](/forum/user/41209-phiddius)

Less More

- Posts: 161
- Thank you received: 4
-
-

8 years 2 weeks ago [\#299838](#299838) by [phiddius](/forum/user/41209-phiddius "View phiddius's Profile")  *[Last X orders info](/forum/36-reports-statistics/896103-last-x-orders-info#299838 "-- HikaShop version -- : 4 -- Joomla version -- : 3.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi I have a widget showing most recent orders, it shows: INV No. - Customer - Status - Total  in the customer part, it shows the customer name, then email address twice, once in brackets, once with edit pen.  Asxxxxgh Bxxxxn ( ) edit  &#91;1&#93; can I change that to just the name? &#91;2&#93; Can I add the date of the sale?  thanks")* was created by *[phiddius](/forum/user/41209-phiddius "View phiddius's Profile")*

-- HikaShop version -- : 4
-- Joomla version -- : 3.8
-- PHP version -- : 7.1
-- Error-message(debug-mod must be tuned on) -- : none

Hi
I have a widget showing most recent orders, it shows:
INV No. - Customer - Status - Total

in the customer part, it shows the customer name, then email address twice, once in brackets, once with edit pen.

Asxxxxgh Bxxxxn ( asxxxxghbxxxxnx@yahoo.co.uk )
asxxxxghbxxxxnx@yahoo.co.uk edit

[1] can I change that to just the name?
[2] Can I add the date of the sale?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTYxMDMtbGFzdC14LW9yZGVycy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 2 weeks ago [\#299841](#299841) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Last X orders info](/forum/36-reports-statistics/896103-last-x-orders-info#299841 "-- HikaShop version -- : 4 -- Joomla version -- : 3.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi I have a widget showing most recent orders, it shows: INV No. - Customer - Status - Total  in the customer part, it shows the customer name, then email address twice, once in brackets, once with edit pen.  Asxxxxgh Bxxxxn ( ) edit  &#91;1&#93; can I change that to just the name? &#91;2&#93; Can I add the date of the sale?  thanks")*

Hi,

1. The text inside the parenthesises is not the email address but the username of the user account. It seems that the email address has been used as username for that user account (or maybe the website is configured to always be like that), which is why it looks redundant.

2. Yes.

In both cases you can edit the file "order" of the view "dashboard" via the menu Display&gt;Views. There, you can change the code: Code:

if(isset($row-&gt;user_cms_id)) { $customer = JFactory::getUser($row-&gt;user_cms_id); if(!empty($customer-&gt;username) &amp;&amp; !empty($customer-&gt;name)) echo $customer-&gt;name.' ( '.$customer-&gt;username.' )&lt;/a&gt;&lt;br/&gt;'; } $url = hikashop_completeLink('user&amp;task=edit&amp;cid[]='.$row-&gt;user_id); echo $row-&gt;user_email.' &lt;a href="'.$url.'"&gt;&lt;i class="fas fa-pen"&gt;&lt;/i&gt;&lt;/a&gt;';

for the name of the customer, and you can add a new column to the HTML with the date that you'll have with hikashop_getDate($row-&gt;order_created);

The following user(s) said Thank You: [phiddius](/forum/user/41209-phiddius "View phiddius's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTYxMDMtbGFzdC14LW9yZGVycy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[phiddius](/forum/user/41209-phiddius "View phiddius's Profile")**
- [![phiddius's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41209-phiddius "View phiddius's Profile") Topic Author
- [ Offline](/forum/user/41209-phiddius)

Less More

- Posts: 161
- Thank you received: 4
-
-

8 years 2 weeks ago [\#299915](#299915) by [phiddius](/forum/user/41209-phiddius "View phiddius's Profile")  Replied by *[phiddius](/forum/user/41209-phiddius "View phiddius's Profile")* on topic *[Last X orders info](/forum/36-reports-statistics/896103-last-x-orders-info#299915 "-- HikaShop version -- : 4 -- Joomla version -- : 3.8 -- PHP version -- : 7.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi I have a widget showing most recent orders, it shows: INV No. - Customer - Status - Total  in the customer part, it shows the customer name, then email address twice, once in brackets, once with edit pen.  Asxxxxgh Bxxxxn ( ) edit  &#91;1&#93; can I change that to just the name? &#91;2&#93; Can I add the date of the sale?  thanks")*

excellent ![:)](/media/kunena/emoticons/3.png ":)") thanks nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTYxMDMtbGFzdC14LW9yZGVycy1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
