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

#   No serial data in confirmation email

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 3 months ago [\#209000](#209000) by [roeby](/forum/user/35464-roeby "View roeby's Profile")  *[No serial data in confirmation email](/forum/17-serial-how-to/878294-no-serial-data-in-confirmation-email#209000 "-- HikaShop version -- : HikaShop Essential: 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : Google Chrome -- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email  When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.  In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped The serial pack and serials are attached to to ordered product. The AttachSerial - HikaSerial plugin is tried enabled and disabled  What did I forget or do wrong?  Can you please help to get the serial data in the confirmation email?")* was created by *[roeby](/forum/user/35464-roeby "View roeby's Profile")*

-- HikaShop version -- : HikaShop Essential: 2.5.0
-- HikaSerial version -- : 1.9.1
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.40
-- Browser(s) name and version -- : Google Chrome
-- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email

When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.

In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped
The serial pack and serials are attached to to ordered product.
The AttachSerial - HikaSerial plugin is tried enabled and disabled

What did I forget or do wrong?

Can you please help to get the serial data in the confirmation email?

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 3 months ago [\#209002](#209002) by [roeby](/forum/user/35464-roeby "View roeby's Profile")  Replied by *[roeby](/forum/user/35464-roeby "View roeby's Profile")* on topic *[No serial data in confirmation email](/forum/17-serial-how-to/878294-no-serial-data-in-confirmation-email#209002 "-- HikaShop version -- : HikaShop Essential: 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : Google Chrome -- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email  When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.  In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped The serial pack and serials are attached to to ordered product. The AttachSerial - HikaSerial plugin is tried enabled and disabled  What did I forget or do wrong?  Can you please help to get the serial data in the confirmation email?")*

Got the serial data in the email working but how can I show extra serial date in the email as well?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc4Mjk0LW5vLXNlcmlhbC1kYXRhLWluLWNvbmZpcm1hdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#209037](#209037) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No serial data in confirmation email](/forum/17-serial-how-to/878294-no-serial-data-in-confirmation-email#209037 "-- HikaShop version -- : HikaShop Essential: 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : Google Chrome -- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email  When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.  In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped The serial pack and serials are attached to to ordered product. The AttachSerial - HikaSerial plugin is tried enabled and disabled  What did I forget or do wrong?  Can you please help to get the serial data in the confirmation email?")*

Hi,

It depends mostly where you want to display it.
HikaSerial have views for the content it adds in the pages or emails, like "orderserial / show_email_notification_html" for the notification email (one in the front-end and another for the backend dependings from which content the mail is sent).

I have made a patch for HikaSerial which will be in the next release ; the patch gave the "extra data" unserialized in the view.
For the moment, in the view, you need ot add that code Code:

if(!empty($serial-&gt;serial_extradata) &amp;&amp; is_string($serial-&gt;serial_extradata)) $serial-&gt;serial_extradata = unserialize($serial-&gt;serial_extradata);

in order to unserialized the extra data to be sure to have an array and not the serialized string.

Then you can display the extra data you want, like Code:

echo $serial-&gt;serial_extradata['mykey'];

Regards,

---

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

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 3 months ago [\#209141](#209141) by [roeby](/forum/user/35464-roeby "View roeby's Profile")  Replied by *[roeby](/forum/user/35464-roeby "View roeby's Profile")* on topic *[No serial data in confirmation email](/forum/17-serial-how-to/878294-no-serial-data-in-confirmation-email#209141 "-- HikaShop version -- : HikaShop Essential: 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : Google Chrome -- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email  When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.  In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped The serial pack and serials are attached to to ordered product. The AttachSerial - HikaSerial plugin is tried enabled and disabled  What did I forget or do wrong?  Can you please help to get the serial data in the confirmation email?")*

I tried to add the patch you gave me in the "show_email_notification_html" file , but for some reason cannot get the extra data in the conformation email. Maybe I do something wrong but can you please send me the complete html script with the patch?

Thanks so much!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc4Mjk0LW5vLXNlcmlhbC1kYXRhLWluLWNvbmZpcm1hdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#209171](#209171) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No serial data in confirmation email](/forum/17-serial-how-to/878294-no-serial-data-in-confirmation-email#209171 "-- HikaShop version -- : HikaShop Essential: 2.5.0 -- HikaSerial version -- : 1.9.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : Google Chrome -- Error-message(debug-mod must be tuned on) -- : No serial data in confirmation email  When I make a test order I will receive a created status and a confirmed status email correctly. But there is no serial data in the email.  In the back-end the Assignable order statuses of Hika sertial is confirmed, shipped The serial pack and serials are attached to to ordered product. The AttachSerial - HikaSerial plugin is tried enabled and disabled  What did I forget or do wrong?  Can you please help to get the serial data in the confirmation email?")*

Hi,

Like I wrote in my previous message, the email part is complex: Code:

one in the front-end and another for the backend depending from which content the mail is sent

For a start it's better to override the backend view and use the "email" button in the HikaShop order edition (in the backend).
The modifications can be then see directly in the email preview ; It is the best way to perform test and be sure that you're editing the right view.

Regards,

---

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.190 seconds

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

[](#top)
