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

#   PDF invoice plugin &amp; group priting of invoices and delivery orders

##

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

Less More

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

8 years 7 months ago [\#290389](#290389) by [dylis](/forum/user/4744-dylis "View dylis's Profile")  *[PDF invoice plugin &amp; group priting of invoices and delivery orders](/forum/35-orders-management/894267-pdf-invoice-plugin-group-priting-of-invoices-and-delivery-orders#290389 "-- HikaShop version -- : 3.4.0 business -- Joomla version -- : 3.8.6 -- PHP version -- : 7.1.14 -- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)  Hi,  I want to group print several invoices and delivery orders in one click from admin orders listing.  I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but - if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices), - if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing  so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.  Thanks")* was created by *[dylis](/forum/user/4744-dylis "View dylis's Profile")*

-- HikaShop version -- : 3.4.0 business
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.1.14
-- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)

Hi,

This message contains confidential information

I want to group print several invoices and delivery orders in one click from admin orders listing.

I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but
- if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices),
- if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing

so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NDI2Ny1wZGYtaW52b2ljZS1wbHVnaW4tZ3JvdXAtcHJpdGluZy1vZi1pbnZvaWNlcy1hbmQtZGVsaXZlcnktb3JkZXJzP3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

8 years 7 months ago [\#290405](#290405) 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 plugin &amp; group priting of invoices and delivery orders](/forum/35-orders-management/894267-pdf-invoice-plugin-group-priting-of-invoices-and-delivery-orders#290405 "-- HikaShop version -- : 3.4.0 business -- Joomla version -- : 3.8.6 -- PHP version -- : 7.1.14 -- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)  Hi,  I want to group print several invoices and delivery orders in one click from admin orders listing.  I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but - if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices), - if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing  so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.  Thanks")*

Hi,

I don't see what you mean.
The delivery invoice and the invoices are different in both cases when I test on your website.

Suppose that you deactivate the PDF invoice plugin, you'll see that the invoices and delivery invoices are almost the same. The only difference is that the prices are not on the delivery invoices.
And if you activate the PDF invoice plugin with the shipping invoices support option activated, then similarily, the invoices and the delivery invoices will be almost the same, with the prices not included in the delivery invoices.

So as far as I can see, it works as expected.

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

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

Less More

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

8 years 7 months ago [\#290464](#290464) by [dylis](/forum/user/4744-dylis "View dylis's Profile")  Replied by *[dylis](/forum/user/4744-dylis "View dylis's Profile")* on topic *[PDF invoice plugin &amp; group priting of invoices and delivery orders](/forum/35-orders-management/894267-pdf-invoice-plugin-group-priting-of-invoices-and-delivery-orders#290464 "-- HikaShop version -- : 3.4.0 business -- Joomla version -- : 3.8.6 -- PHP version -- : 7.1.14 -- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)  Hi,  I want to group print several invoices and delivery orders in one click from admin orders listing.  I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but - if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices), - if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing  so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.  Thanks")*

HI,

I see what you mean, but what I need is the order delivery produced by the plugin to be identical to the order delivery produced without the plugin. The plugin add the billing adress, the delivery method and the payment method in the delivery order, I dont want any of them.
Idealy I would even delete some details of the products.

The invoice produced by the plugin is ok as it is.

So I guess my question is How can I edit the plugin to produce same delivery orders than default hikashop without modifying the invoices produced by the plugin.

Attached both delivery orders (without and with plugin)

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NDI2Ny1wZGYtaW52b2ljZS1wbHVnaW4tZ3JvdXAtcHJpdGluZy1vZi1pbnZvaWNlcy1hbmQtZGVsaXZlcnktb3JkZXJzP3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

8 years 7 months ago [\#290477](#290477) 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 plugin &amp; group priting of invoices and delivery orders](/forum/35-orders-management/894267-pdf-invoice-plugin-group-priting-of-invoices-and-delivery-orders#290477 "-- HikaShop version -- : 3.4.0 business -- Joomla version -- : 3.8.6 -- PHP version -- : 7.1.14 -- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)  Hi,  I want to group print several invoices and delivery orders in one click from admin orders listing.  I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but - if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices), - if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing  so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.  Thanks")*

Hi,

Generating a PDF out of HTML requires really specific HTML. When we developed the PDF invoice plugin, we quickly found out that it would be impossible to use the design we already had for the invoices and that a new layout would have to be developed for the PDF invoice.
That's why, when you activate the PDF invoice plugin, the invoice looks quite different from the default one of HikaShop.

So I see only two options:
- you don't activate the shipping invoice support setting of the PDF invoice plugin and generate the shipping invoices one by one in each order
- you modify the code in plugins/hikashop/attachinvoice/attachinvoice/invoice.php to have the shipping invoice generated by the PDF invoice look more like the default ones. In that file, you can use such condition to have HTML/CSS added only to PDF shipping invoices and not PDF invoices: Code:

&lt;?php if($this-&gt;shipping_invoice){ ?&gt; HTML code &lt;?php } ?&gt;

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

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

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

Less More

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

8 years 7 months ago [\#290486](#290486) by [dylis](/forum/user/4744-dylis "View dylis's Profile")  Replied by *[dylis](/forum/user/4744-dylis "View dylis's Profile")* on topic *[PDF invoice plugin &amp; group priting of invoices and delivery orders](/forum/35-orders-management/894267-pdf-invoice-plugin-group-priting-of-invoices-and-delivery-orders#290486 "-- HikaShop version -- : 3.4.0 business -- Joomla version -- : 3.8.6 -- PHP version -- : 7.1.14 -- Browser(s) name and version -- : Firefox 59.0.2 (64 bits)  Hi,  I want to group print several invoices and delivery orders in one click from admin orders listing.  I'm using the plugin PDF invoice witch work well for invoices after selecting multiple orders and clicking the invoice button, but - if I activate the plugin for delivery orders, those delivery orders are identical to invoices (I dont want that, delivery orders shouldnt be identical to invoices), - if I dont activate the PDF invoice plugin for delivery orders, the delivery orders produced are ok, but I dont have a button to group print from admin orders listing  so how can I either, get a group print for delivery order without using the PDF invoice plugin, or how can I modifiy the PDF invoice plugin to customize the delivery orders (without touching the invoices). It seems to be only one view for the PDF invoice plugin.  Thanks")*

Great,

this code is exactly what I need I think

Thanks

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

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