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

#   Email confirmation - Attached pdf error

##

- **[nibe](/forum/user/5252-nibe "View nibe's Profile")**
- [![nibe's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5252.jpg)](/forum/user/5252-nibe "View nibe's Profile") Topic Author
- [ Offline](/forum/user/5252-nibe)

Less More

- Posts: 40
- Thank you received: 0
-
- [](http://www.nibe.ca)
-

12 years 6 months ago [\#153776](#153776) by [nibe](/forum/user/5252-nibe "View nibe's Profile")  *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#153776 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")* was created by *[nibe](/forum/user/5252-nibe "View nibe's Profile")*

We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop_get('class.product'); through is called in, it loads well
But when productClass-&gt;get ($ product_id) is called the plugins breaks and print a pdf error failing to include the verdana font file

Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#153830](#153830) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#153830 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")*

Hi,

Could you give us the error message, or a screenshot of the error ?
Any line indicated ?

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

- **[nibe](/forum/user/5252-nibe "View nibe's Profile")**
- [![nibe's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5252.jpg)](/forum/user/5252-nibe "View nibe's Profile") Topic Author
- [ Offline](/forum/user/5252-nibe)

Less More

- Posts: 40
- Thank you received: 0
-
- [](http://www.nibe.ca)
-

12 years 6 months ago [\#153867](#153867) by [nibe](/forum/user/5252-nibe "View nibe's Profile")  Replied by *[nibe](/forum/user/5252-nibe "View nibe's Profile")* on topic *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#153867 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")*

Now when this segment of code is run Code:

$productClass = hikashop_get('class.product'); $product_id = $order-&gt;products[0]-&gt;product_id; $product = $productClass-&gt;get($product_id);

The error on the attachment is seen.

A Second unrelated problem am getting is with the email templates. found here index.php?option=com_hikashop&amp;ctrl=email
I edited the email templates for order creation notification and order status notification. But i notice is for any change in order status, only this email template is used - order status notification.

We need a different message printed when an order is created so we edited the order creation notification template. But it doesnt use this rather it uses the old order status notification. Please how do i fix this.

- [ ![h6667ae1.png](/forum/attachment/16946) ](/forum/attachment/16946 "h6667ae1.png") [ ](/forum/attachment/16946?download=1 "h6667ae1.png")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#153872](#153872) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#153872 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")*

Hi,

The first problem is not related on the product class, but on the font used.
This font is not included in TCPDF.
[ www.yaronet.com/posts.php?s=133399](http://www.yaronet.com/posts.php?s=133399)

Have you tried to put a simple "Hello" in the order creation notification email in order to see if the changes are working fine or not. To test this email you must create new orders from frontend, else it's the status notification which is loaded.

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

- **[nibe](/forum/user/5252-nibe "View nibe's Profile")**
- [![nibe's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5252.jpg)](/forum/user/5252-nibe "View nibe's Profile") Topic Author
- [ Offline](/forum/user/5252-nibe)

Less More

- Posts: 40
- Thank you received: 0
-
- [](http://www.nibe.ca)
-

12 years 6 months ago [\#154003](#154003) by [nibe](/forum/user/5252-nibe "View nibe's Profile")  Replied by *[nibe](/forum/user/5252-nibe "View nibe's Profile")* on topic *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#154003 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")*

Regarding what you stated on tcpdf, I'll probably try to include the font. But the issue is that when i dont include a call to the product class, it works seamlessly without hiccups.

And regarding the email, I tried sending it from the "Backend" Do you mean to say that the order_creation notifcation template is only used when an order is made on the frontend?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#154010](#154010) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Email confirmation - Attached pdf error](/forum/32-content-creation/867750-email-confirmation-attached-pdf-error#154010 "We're facing an issue with the attached document to the confirmation email. Whenever the productClass = hikashop&#95;get('class.product'); through is called in, it loads well But when productClass-&gt;get ($ product&#95;id) is called the plugins breaks and print a pdf error failing to include the verdana font file  Do you have any idea why we're facing this issue and anyway to solve it ? Thanks.")*

That's maybe because this font is called only for the product data, but it's strange.
Thanks to try to include the font and see if it's working fine.

Yes the order creation is only on frontend, when creating from backend it use the order status notification one.

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

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