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

#   Info within e-mail

##

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

Less More

- Posts: 234
- Thank you received: 4
-
-

13 years 10 months ago -  13 years 10 months ago [\#83990](#83990) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  *[Info within e-mail](/forum/2-general-talk-about-hikashop/77184-info-within-e-mail#83990 "Hello  I am trying to get the email to show the full information of the following  &#42; Address, - This only shows the main parts of the address, could you get it to show the full address?  &#42; customers email address. - (could this be in the From email) so that rather than the emails saying from &quot;Draganfly Motorcycles&quot; could it say from &quot;Mr A Smith?  &#42; Credit Card number - See below  I have been playing around with the email settings and I want it to show the full card number in the email which I receive. I tried changing the following line  echo &quot;&quot;.JText::&#95;('END&#95;OF&#95;CREDIT&#95;CARD&#95;NUMBER').' : '.substr($data-&gt;credit&#95;card&#95;info-&gt;cc&#95;number,8);  so that at the end it changed from ,8); to ,16); this was far too simple and thus didn't work. I read in another post that changing the Credit card plugin was needed to get the full credit card number. Could someone please point me in the right direction.  Yours Iain  Happy new year HikaShop.")* was created by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")*

Hello

I am trying to get the email to show the full information of the following

1. Address, - This only shows the main parts of the address, could you get it to show the full address?
2. customers email address. - (could this be in the From email) so that rather than the emails saying from "Draganfly Motorcycles" could it say from "Mr A Smith?
3. Credit Card number - See below

I have been playing around with the email settings and I want it to show the full card number in the email which I receive. I tried changing the following line

echo "&lt;br/&gt;".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data-&gt;credit_card_info-&gt;cc_number,![8)](/media/kunena/emoticons/9.png "8)");

so that at the end it changed from ,![8)](/media/kunena/emoticons/9.png "8)"); to ,16); this was far too simple and thus didn't work. I read in another post that changing the Credit card plugin was needed to get the full credit card number. Could someone please point me in the right direction.

Yours
Iain

Happy new year HikaShop.

Last edit: 13 years 10 months ago by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#84119](#84119) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Info within e-mail](/forum/2-general-talk-about-hikashop/77184-info-within-e-mail#84119 "Hello  I am trying to get the email to show the full information of the following  &#42; Address, - This only shows the main parts of the address, could you get it to show the full address?  &#42; customers email address. - (could this be in the From email) so that rather than the emails saying from &quot;Draganfly Motorcycles&quot; could it say from &quot;Mr A Smith?  &#42; Credit Card number - See below  I have been playing around with the email settings and I want it to show the full card number in the email which I receive. I tried changing the following line  echo &quot;&quot;.JText::&#95;('END&#95;OF&#95;CREDIT&#95;CARD&#95;NUMBER').' : '.substr($data-&gt;credit&#95;card&#95;info-&gt;cc&#95;number,8);  so that at the end it changed from ,8); to ,16); this was far too simple and thus didn't work. I read in another post that changing the Credit card plugin was needed to get the full credit card number. Could someone please point me in the right direction.  Yours Iain  Happy new year HikaShop.")*

Hi,

**string substr ( string $string , int $start \[, int $length \] )**
Source: [ php.net/manual/en/function.substr.php](http://php.net/manual/en/function.substr.php)

The call remove the 8 first characters in the string so if you don't want to strip it, just remove the "substr" call.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTg0LWluZm8td2l0aGluLWUtbWFpbD90bXBsPW1hcmtkb3du) 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.051 seconds

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