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

#   Regenerate serial attach image

##

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

Less More

- Posts: 19
- Thank you received: 1
-
-

12 years 9 months ago [\#140296](#140296) by [ilan.power](/forum/user/12208-ilan-power "View ilan.power's Profile")  *[Regenerate serial attach image](/forum/17-serial-how-to/865130-regenerate-serial-attach-image#140296 "I want to design the attachment of the graphics, but since i am working with a RTL language it is not an easy task. i need to resend orders in order to regenerate the email attachment and align the fields. is there a way to resend the graphic email attachment attachserial plugin without regenerating orders?  if i try to go into an order and resend the email i get the following error: Notice: Undefined property: stdClass::$order&#95;discount&#95;price in /var/www/html/media/com&#95;hikashop/mail/order&#95;notification.preload.modified.php on line 208   it seems that the generation of the attachment works only once per order.  thank you in advance for your help")* was created by *[ilan.power](/forum/user/12208-ilan-power "View ilan.power's Profile")*

I want to design the attachment of the graphics, but since i am working with a RTL language it is not an easy task.
i need to resend orders in order to regenerate the email attachment and align the fields.
is there a way to resend the graphic email attachment attachserial plugin without regenerating orders?

if i try to go into an order and resend the email i get the following error:
*Notice: Undefined property: stdClass::$order\_discount\_price in /var/www/html/media/com\_hikashop/mail/order\_notification.preload.modified.php on line 208*

it seems that the generation of the attachment works only once per order.

thank you in advance for your help

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

12 years 9 months ago [\#140297](#140297) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Regenerate serial attach image](/forum/17-serial-how-to/865130-regenerate-serial-attach-image#140297 "I want to design the attachment of the graphics, but since i am working with a RTL language it is not an easy task. i need to resend orders in order to regenerate the email attachment and align the fields. is there a way to resend the graphic email attachment attachserial plugin without regenerating orders?  if i try to go into an order and resend the email i get the following error: Notice: Undefined property: stdClass::$order&#95;discount&#95;price in /var/www/html/media/com&#95;hikashop/mail/order&#95;notification.preload.modified.php on line 208   it seems that the generation of the attachment works only once per order.  thank you in advance for your help")*

Hi,

The image added by the plugin "attach serial" is generated dynamically.
You do the right thing by clicking on the button "email" in the order.
But you have introduced a PHP warning by modifying the email "order_notification". You have to fix this problem if you want to remove the notice.

Which version of HikaSerial are you using ?
The plugin AttachSerial will attach the image for every emails when the order status is right (depending on your HikaSerial configuration). If you didn't change the order status, you should see the attachment, as you can see the HikaSerial content in in the email itself.
If you do not see the attachment, you might not use the latest version. In HikaShop we introduce the email "order_notification" for the email button in a quite recent release, his support in HikaSerial as been introduced in the latest build (1.8.0).

Regards,

---

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

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

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

Less More

- Posts: 19
- Thank you received: 1
-
-

12 years 9 months ago [\#140298](#140298) by [ilan.power](/forum/user/12208-ilan-power "View ilan.power's Profile")  Replied by *[ilan.power](/forum/user/12208-ilan-power "View ilan.power's Profile")* on topic *[Regenerate serial attach image](/forum/17-serial-how-to/865130-regenerate-serial-attach-image#140298 "I want to design the attachment of the graphics, but since i am working with a RTL language it is not an easy task. i need to resend orders in order to regenerate the email attachment and align the fields. is there a way to resend the graphic email attachment attachserial plugin without regenerating orders?  if i try to go into an order and resend the email i get the following error: Notice: Undefined property: stdClass::$order&#95;discount&#95;price in /var/www/html/media/com&#95;hikashop/mail/order&#95;notification.preload.modified.php on line 208   it seems that the generation of the attachment works only once per order.  thank you in advance for your help")*

Hi,
I do use version 1.8.0 of HikaSerial.
the modification i did was only to adjust RTL and some graphics to the email. i will tray to see if i did something wrong there.

the HikaSerial configuration is at the default configuration (see attached). i did try to change the status from Confirmed to Created and back to Confirmed in order to regenerate the attachment, but then i get the PHP error.

- [ ![he5d7be4.PNG](/forum/attachment/14755) ](/forum/attachment/14755 "he5d7be4.PNG") [ ](/forum/attachment/14755?download=1 "he5d7be4.PNG")

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

12 years 9 months ago [\#140324](#140324) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Regenerate serial attach image](/forum/17-serial-how-to/865130-regenerate-serial-attach-image#140324 "I want to design the attachment of the graphics, but since i am working with a RTL language it is not an easy task. i need to resend orders in order to regenerate the email attachment and align the fields. is there a way to resend the graphic email attachment attachserial plugin without regenerating orders?  if i try to go into an order and resend the email i get the following error: Notice: Undefined property: stdClass::$order&#95;discount&#95;price in /var/www/html/media/com&#95;hikashop/mail/order&#95;notification.preload.modified.php on line 208   it seems that the generation of the attachment works only once per order.  thank you in advance for your help")*

Hi,

Please edit the file "administrator/components/com_hikashop/views/order/tmpl/mailform.php" and replace at the end of the file: Code:

&lt;input type="hidden" name="data[order][mail][html]" value="&lt;?php echo $this-&gt;element-&gt;mail-&gt;html;?&gt;" /&gt;

By: Code:

&lt;input type="hidden" name="data[order][mail][html]" value="&lt;?php echo $this-&gt;element-&gt;mail-&gt;html;?&gt;" /&gt; &lt;input type="hidden" name="data[order][mail][mail_name]" value="&lt;?php echo $this-&gt;element-&gt;mail-&gt;mail_name;?&gt;" /&gt;

It should fix the problem.

Regards,

---

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

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

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