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

#   Send email attachment upon consuming serial

##

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 7 months ago [\#196400](#196400) by [suew](/forum/user/32859-suew "View suew's Profile")  *[Send email attachment upon consuming serial](/forum/15-general-talk-about-hikaserial/876000-send-email-attachment-upon-consuming-serial#196400 "Hi Jerome. Sorry to work you so hard but another question...  I have the override to the consume page working well and collecting extra data from my customers. And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.  My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?  Thanks once again for all your help.  Sue")* was created by *[suew](/forum/user/32859-suew "View suew's Profile")*

Hi Jerome. Sorry to work you so hard but another question...

I have the override to the consume page working well and collecting extra data from my customers.
And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.

My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?

Thanks once again for all your help.

Sue

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

11 years 7 months ago [\#196432](#196432) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Send email attachment upon consuming serial](/forum/15-general-talk-about-hikaserial/876000-send-email-attachment-upon-consuming-serial#196432 "Hi Jerome. Sorry to work you so hard but another question...  I have the override to the consume page working well and collecting extra data from my customers. And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.  My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?  Thanks once again for all your help.  Sue")*

Hi,

By default, consuming a serial does not update the order ; so there is no order notification email send to the user.
If you want to send an order notification to send a new version of the "attach serial" image ; you have to have/create a consumption plugin to update the order or manually force the notification email.

But I have some difficulties to understand what your are trying to perform ; if you want to send the "attach serial" image afterwards, it means that in the first emails, before the serial is consumed, you don't want to include the image but you want to display the serial in the email (so the user will have the information to consume it).
Am I right ?

Regards,

---

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

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 7 months ago -  11 years 7 months ago [\#196463](#196463) by [suew](/forum/user/32859-suew "View suew's Profile")  Replied by *[suew](/forum/user/32859-suew "View suew's Profile")* on topic *[Send email attachment upon consuming serial](/forum/15-general-talk-about-hikaserial/876000-send-email-attachment-upon-consuming-serial#196463 "Hi Jerome. Sorry to work you so hard but another question...  I have the override to the consume page working well and collecting extra data from my customers. And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.  My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?  Thanks once again for all your help.  Sue")*

Hi Jerome,
Thanks very much for your reply which is very clear.

Yes, your understanding of what I am trying to do is correct.

When they first make the order they receive a consume serial. When they consume the serial they will provide extra data which is stored in the extra data fields. This data will then be attached to an image which will then be emailed to them or they will be provided with a download.

Sue

Last edit: 11 years 7 months ago by [suew](/forum/user/32859-suew "View suew's Profile").

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

11 years 7 months ago [\#196498](#196498) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Send email attachment upon consuming serial](/forum/15-general-talk-about-hikaserial/876000-send-email-attachment-upon-consuming-serial#196498 "Hi Jerome. Sorry to work you so hard but another question...  I have the override to the consume page working well and collecting extra data from my customers. And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.  My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?  Thanks once again for all your help.  Sue")*

Hi,

So, like I said in my previous message, it means that you have to use a modified version of the attach serial plugin in order to not attach the image when the extra data are not present ; or you can base it on the serial status (so only when the serial is "used" the plugin will attach it)
You also need a custom consumer plugin in order to force the order notification email when a serial is consumed.
It is the only good way I see to have the process you want

Regards,

---

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

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

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

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 7 months ago [\#196624](#196624) by [suew](/forum/user/32859-suew "View suew's Profile")  Replied by *[suew](/forum/user/32859-suew "View suew's Profile")* on topic *[Send email attachment upon consuming serial](/forum/15-general-talk-about-hikaserial/876000-send-email-attachment-upon-consuming-serial#196624 "Hi Jerome. Sorry to work you so hard but another question...  I have the override to the consume page working well and collecting extra data from my customers. And as you have said I can use the attach serial plugin to put this information onto an image which can be attached to an email or downloaded.  My question is: How can I make the email with the attached image be sent automatically upon the consumption of the serial?  Thanks once again for all your help.  Sue")*

Thanks very much Jerome. I will see what I can do. ![:)](/media/kunena/emoticons/3.png ":)")

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

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