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

#   Customizing the attach invoice

##

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 11 months ago [\#182752](#182752) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#182752 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")* was created by *[pouce](/forum/user/18026-pouce "View pouce's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : Firefox 33.1

Hi, I want to add some information on the invoice at least on the final confirmation of an order.

I use the plugin 'Attach invoice' and need to add some information as described below :

Reference (4 digits) &#124; Product Information &#124; A code (10 digits) &#124; Unit price &#124; Quantity &#124; Total Price
Product details
(below)

So there is the reference, the product details and the code to add.
If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php

I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself

Any help will be really appreciated !

Regards,

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

11 years 11 months ago [\#182776](#182776) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#182776 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi,

To display the value of the custom fields, you can directly use that kind of code: Code:

echo $product-&gt;CUSTOMFIELD_NAME;

To manage the display, change the columns, you just have to use html tags like &lt;td&gt;&lt;/td&gt;, &lt;tr&gt;&lt;/tr&gt;

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 11 months ago [\#182925](#182925) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#182925 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Thanks for your reply,

I added the custom field to the attachinvoice plugin, it shows well but the cells are empty for past orders.
Is it normal ? or should I already see the changes on past orders.

Maybe I missed something, I had this kind of line Code:

&lt;td&gt; &lt;?php echo $product-&gt;code_ean; ?&gt; &lt;/td&gt;

When I've created the custom field, I choose a 'product' type in the field "TABLE" and I called the custom field 'code_ean'
Of course I added information to the custom fields

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

11 years 11 months ago [\#183028](#183028) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#183028 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi,

If the products had a value for this custom field in the past orders so when sending a new email with attached pdf the value should be present.

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 11 months ago [\#183029](#183029) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#183029 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Ok, I recently add the custom fields I will see in the next order and will Tell you

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 10 months ago [\#184772](#184772) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184772 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi Xavier,

Well no luck, the last two orders don't show the custom fields.

I thought that may be it's because I have set a value for the variants of the main product but not for the main product because I don't need. I just need for the variants.

Do I have to change the code in some way ? to show the custom fields of the variants.

Cheers

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MzUzOS1jdXN0b21pemluZy10aGUtYXR0YWNoLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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: 86575
- Thank you received: 14318
-
-

11 years 10 months ago [\#184782](#184782) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184782 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi,

It should not be a problem.
Please provide a screenshot of the options of the custom field (just in case), and the code of the invoice (so that we can see where and how you placed your modification).

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 10 months ago [\#184813](#184813) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184813 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Here are the two screenshots of the custom fields option

[ ![600](http://www.the-m-equipment.com/images/hikashop/custom-fields-code-ean.jpg) ](http://www.the-m-equipment.com/images/hikashop/custom-fields-code-ean.jpg "600")

[ ![600](http://www.the-m-equipment.com/images/hikashop/custom-fields-reference.jpg) ](http://www.the-m-equipment.com/images/hikashop/custom-fields-reference.jpg "600")

I have modified the following line in the attached files :
to insert the name of the fields in the table =&gt; line 90-92 and line 96-98
to insert the custom fields in the table =&gt; line 120-122 and line 170-172
to set the layout of the table (colspan) =&gt; line 231, 276, 288, 297

[ Fichier modifié : invoice.php](http://www.the-m-equipment.com/images/hikashop/invoice.php)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MzUzOS1jdXN0b21pemluZy10aGUtYXR0YWNoLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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: 86575
- Thank you received: 14318
-
-

11 years 10 months ago [\#184819](#184819) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184819 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi,

I cannot access the file. Could you zip it so that we can download it ?

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 10 months ago [\#184867](#184867) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184867 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Oh sorry, I didn't test the link before submitting it

Here's a new one

[ Fichier modifié : invoice.php](http://www.the-m-equipment.com/images/hikashop/invoice.php.zip)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MzUzOS1jdXN0b21pemluZy10aGUtYXR0YWNoLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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: 86575
- Thank you received: 14318
-
-

11 years 10 months ago [\#184921](#184921) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184921 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi,

Ok, after the line:
foreach($order-&gt;products as $product){
Try to add that code:
$class = hikashop_get('class.product');
$prodData = $class-&gt;get($product-&gt;product_id);

and then, instead of the code:
&lt;?php echo $product-&gt;code_ean; ?&gt;
use that code:
&lt;?php echo $prodData-&gt;code_ean; ?&gt;

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

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

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

11 years 10 months ago -  11 years 10 months ago [\#184932](#184932) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[Customizing the attach invoice](/forum/35-orders-management/873539-customizing-the-attach-invoice#184932 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 33.1  Hi, I want to add some information on the invoice at least on the final confirmation of an order.  I use the plugin 'Attach invoice' and need to add some information as described below :  Reference (4 digits) | Product Information | A code (10 digits) | Unit price | Quantity | Total Price Product details (below)  So there is the reference, the product details and the code to add. If I create some customs fields how can I add those two columns and the detail of the product below on a second line or following the product information to the files plugins/hikashop/attachinvoice/attachinvoice/invoice.php  I know that I have to change the width of the existing columns, I saw it is set in pixels. I will manage the display by myself  Any help will be really appreciated !  Regards,")*

Hi Nicolas,

It works really fine :woohoo:, It even shows the custom fields in the older order.

thank you very much Nicolas and happy new year and best wishes for 2015 !!

Last edit: 11 years 10 months ago by [pouce](/forum/user/18026-pouce "View pouce's Profile"). Reason: Tried to mark the post as solved

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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