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

#   PDF Invoice - Missing Custom Fields

##

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

10 years 2 months ago [\#248056](#248056) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248056 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")* was created by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)

I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.

I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.

Please advise.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

10 years 2 months ago -  10 years 2 months ago [\#248062](#248062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248062 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

Try changing the code: Code:

if(!empty($fields['item'])){ foreach($fields['item'] as $field){ $namekey = $field-&gt;field_namekey; if(empty($product-&gt;$namekey)) continue; echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$product-&gt;$namekey).'&lt;/p&gt;'; } }

to: Code:

$itemFields = $fieldsClass-&gt;getFields('display:field_item_invoice=1',$product,'item'); if(!empty($itemFields)){ foreach($itemFields as $field){ $namekey = $field-&gt;field_namekey; if(!empty($product-&gt;$namekey) &amp;&amp; strlen($product-&gt;$namekey)) { echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$product-&gt;$namekey).'&lt;/p&gt;'; } } }

in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and that should hopefully behave similarily.

Last edit: 10 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: fix code

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

10 years 2 months ago -  10 years 2 months ago [\#248098](#248098) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248098 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Is there a marker or code missing in the replacement you provided? I am not familiar with PHP and did a direct copy/replace. It seemed to break everything.

Last edit: 10 years 2 months ago by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile").

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

10 years 2 months ago [\#248105](#248105) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248105 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

There was an code error in the Nicolas' post ; I fixed it.
Please re-do the copy-paste.

Regards,

---

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

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

10 years 2 months ago [\#248109](#248109) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248109 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

That took care of some of the orders, but not all. Here is another example.

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

10 years 2 months ago [\#248111](#248111) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248111 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

Can you please check the custom item field configuration for the "display" settings ?
The modification that Nicolas proposed you should only get the field set for display "field_item_invoice".

Regards,

---

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

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

10 years 2 months ago [\#248153](#248153) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248153 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

I believe you are referring to the first screenshot "configuration-display-products.png" but I have included the second screenshot in case I am wrong.

- [ ![configuration-display-products.png](/forum/attachment/33121) ](/forum/attachment/33121 "...y-products.png") [ ](/forum/attachment/33121?download=1 "...y-products.png")
- [ ![custom-field-settings.png](/forum/attachment/33122) ](/forum/attachment/33122 "...d-settings.png") [ ](/forum/attachment/33122?download=1 "...d-settings.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

10 years 2 months ago [\#248168](#248168) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248168 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

I don't see why that wouldn't work with all the display options set to yes.
Could you provide a backend access and a FTP access for your website via our contact form (along with a link to this thread) ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

10 years 2 months ago [\#248313](#248313) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248313 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Information submitted.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

10 years 2 months ago [\#248352](#248352) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#248352 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

Thanks. Ok, let's try this:
Download again the install package on our website via the menu My account&gt;My subscriptions and install it on your website. Then, edit the custom field and save its settings.
Then, try again. It should hopefully display fine for the PDF invoice too after that.

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

9 years 11 months ago [\#256471](#256471) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#256471 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

I apologize for the delay. I could not continue the edits while our event was in session.

Do you mean for me to reinstall the PDF invoice plugin or HikaShop?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 11 months ago [\#256494](#256494) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#256494 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hello,

Nicolas meant reinstall HikaShop install package, and not just the PDF invoice plugin.

Regards

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

9 years 11 months ago [\#256677](#256677) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#256677 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Will a reinstall delete all of my products and overall setup?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 11 months ago [\#256704](#256704) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#256704 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

No it won't.

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

9 years 11 months ago [\#256977](#256977) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#256977 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

I have updated to the HikaShop 2.6.4 and reinstalled PDF Invoice, updating the custom field code (plugins/hikashop/attachinvoice/attachinvoice/invoice.php) as instructed previously.

However, the problems still exist.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 11 months ago [\#257012](#257012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#257012 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

Did you edit the custom field setting and save the settings after updating the HikaShop package as well ?

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

9 years 11 months ago [\#257069](#257069) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#257069 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Yes, I double-checked to be sure the custom item field configuration for the "display" settings is set to Yes.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 11 months ago [\#257254](#257254) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#257254 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

I've activated the PDF invoice for the backend in the plugin and I did get all the fields for the order of your example:
[ take.ms/hwcVf](http://take.ms/hwcVf)
So to me it looks like it's working.
If not, could you provide instructions as to reproduce the problem ?

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

- **[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")**
- [![leitzdesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar39770.png)](/forum/user/39770-leitzdesign "View leitzdesign's Profile") Topic Author
- [ Offline](/forum/user/39770-leitzdesign)

Less More

- Posts: 32
- Thank you received: 0
-
-

9 years 11 months ago [\#257473](#257473) by [leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")  Replied by *[leitzdesign](/forum/user/39770-leitzdesign "View leitzdesign's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#257473 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Those fields had already been restored with your code adjustment from post
[ www.hikashop.com/forum/install-update/88...m-fields.html#248062](http://www.hikashop.com/forum/install-update/886077-pdf-invoice-missing-custom-fields.html#248062)

The standing issues with screenshots can be found in post
[ www.hikashop.com/forum/install-update/88...m-fields.html#248109](http://www.hikashop.com/forum/install-update/886077-pdf-invoice-missing-custom-fields.html#248109)

Other examples can be found in order numbers such as KS-00204 and KS-00061.

In addition, the installation of the PDF Invoice on the back end forces me to bring up another issue. Please refer to order number KS-00024, KS-00038, etc. The table blows off the page. The original HikaShop invoice does not have this display problem, but it is a consistent problem with the PDF Invoice plugin across multiple browsers. That's why I hadn't installed it on the backend. I needed a way to print what was missing when the PDF Invoice table blows out.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 11 months ago [\#257525](#257525) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice - Missing Custom Fields](/forum/25-install-update/886077-pdf-invoice-missing-custom-fields#257525 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- Browser(s) name and version -- : Chrome 52.0.2743.116 (64-bit)  I have installed the PDF Invoice plugin. For some products, it correctly displays all custom fields. For other products, it does not display all of the custom fields only some custom fields. I can find no differences in the options/settings for these custom fields. This happens across multiple products.  I have attached examples of the standard invoice with ALL custom fields and the PDF invoice with only some custom fields.  Please advise.")*

Hi,

1. Thanks, I'm able to see the problem with that KS-00039 order.
So I tried to access your FTP server in order to debug the issue but I wasn't able to connect to it:
[ take.ms/n0hyo](http://take.ms/n0hyo)
Maybe the host should be different than the domain name, but you didn't provide the host for the FTP access.

2. Try changing the line: Code:

echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$product-&gt;$namekey).'&lt;/p&gt;';

to: Code:

echo '&lt;p&gt;'.$this-&gt;str_split_unicode(strip_tags($fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$product-&gt;$namekey)),50).'&lt;/p&gt;';

in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and that should prevent that.

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

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