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

#   own edit/view for delivery note

##

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

Less More

- Posts: 105
- Thank you received: 8
-

10 months 3 weeks ago -  10 months 3 weeks ago [\#369699](#369699) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  *[own edit/view for delivery note](/forum/35-orders-management/909965-own-edit-view-for-delivery-note#369699 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.4  Hi!  I am currently trying to change some aspects of the visual rendering of the delivery note. My goal is to make a few changes: the position of the address, the position and size of the logo image, information directly after the product table, and so on. It is extremely complicated to make changes without affecting the standard display of the invoice (with prices). I find it very inconvenient and risky that both displays are generated from a shared view. Could you please provide a separate view for the delivery note? But, if I'm wrong, please correct me - I assume that the view &quot;invoice.php&quot; is the right view for the delivery note (shipping invoice).  Cheers Rusty")* was created by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")*

-- HikaShop version -- : 6.1.1
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.4

Hi!

I am currently trying to change some aspects of the visual rendering of the delivery note. My goal is to make a few changes: the position of the address, the position and size of the logo image, information directly after the product table, and so on. It is extremely complicated to make changes without affecting the standard display of the invoice (with prices). I find it very inconvenient and risky that both displays are generated from a shared view. Could you please provide a separate view for the delivery note? But, if I'm wrong, please correct me - I assume that the view "invoice.php" is the right view for the delivery note (shipping invoice).

Cheers
Rusty

Last edit: 10 months 3 weeks ago by [Rusty](/forum/user/83085-rusty "View Rusty's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwOTk2NS1vd24tZWRpdC12aWV3LWZvci1kZWxpdmVyeS1ub3RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

10 months 3 weeks ago [\#369701](#369701) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[own edit/view for delivery note](/forum/35-orders-management/909965-own-edit-view-for-delivery-note#369701 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.4  Hi!  I am currently trying to change some aspects of the visual rendering of the delivery note. My goal is to make a few changes: the position of the address, the position and size of the logo image, information directly after the product table, and so on. It is extremely complicated to make changes without affecting the standard display of the invoice (with prices). I find it very inconvenient and risky that both displays are generated from a shared view. Could you please provide a separate view for the delivery note? But, if I'm wrong, please correct me - I assume that the view &quot;invoice.php&quot; is the right view for the delivery note (shipping invoice).  Cheers Rusty")*

Hi,

You can do that.
First, make an override for the view via the menu Display&gt;Views.
I suppose we're talking about the delivery note available by HikaShop without the PDF invoice plugin installed.
In that case, it's the view file order / invoice.
It will generate a file administrator/atum/html/com_hikashop/order/invoice.php for the override.
Copy this file to the same folder with another name via FTP.
For example administrator/atum/html/com_hikashop/order/delivery_note.php
Then, in your override, you can add at the beginning such code: Code:

&lt;?php if($this-&gt;invoice_type != 'full') { require __DIR__.'/delivery_note.php'; return; } ?&gt;

That way, you now have two different override files, one for the invoice, one for the delivery note, and you can modify them independently.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwOTk2NS1vd24tZWRpdC12aWV3LWZvci1kZWxpdmVyeS1ub3RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 105
- Thank you received: 8
-

10 months 3 weeks ago [\#369706](#369706) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  Replied by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")* on topic *[own edit/view for delivery note](/forum/35-orders-management/909965-own-edit-view-for-delivery-note#369706 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.4  Hi!  I am currently trying to change some aspects of the visual rendering of the delivery note. My goal is to make a few changes: the position of the address, the position and size of the logo image, information directly after the product table, and so on. It is extremely complicated to make changes without affecting the standard display of the invoice (with prices). I find it very inconvenient and risky that both displays are generated from a shared view. Could you please provide a separate view for the delivery note? But, if I'm wrong, please correct me - I assume that the view &quot;invoice.php&quot; is the right view for the delivery note (shipping invoice).  Cheers Rusty")*

Hi nicolas!

Thanks for your reply. But what, if I use the pdf plugin? ![:-)](/media/kunena/emoticons/3.png ":-)")

Cheers
Rusty

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwOTk2NS1vd24tZWRpdC12aWV3LWZvci1kZWxpdmVyeS1ub3RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

10 months 3 weeks ago [\#369707](#369707) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[own edit/view for delivery note](/forum/35-orders-management/909965-own-edit-view-for-delivery-note#369707 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.4  Hi!  I am currently trying to change some aspects of the visual rendering of the delivery note. My goal is to make a few changes: the position of the address, the position and size of the logo image, information directly after the product table, and so on. It is extremely complicated to make changes without affecting the standard display of the invoice (with prices). I find it very inconvenient and risky that both displays are generated from a shared view. Could you please provide a separate view for the delivery note? But, if I'm wrong, please correct me - I assume that the view &quot;invoice.php&quot; is the right view for the delivery note (shipping invoice).  Cheers Rusty")*

Hi,

You can do something similar with the view file pdf_layout / invoice.php (or another layout based on the one you selected in the plugin settings).
In this case, the overrides are stored in media/com_hikashop/plugins/ instead of administrator/atum/html/com_hikashop/order/ and the code should be adapted to something like this: Code:

&lt;?php if($this-&gt;shipping_invoice){ require __DIR__.'/delivery_note.php'; return; } ?&gt;

The following user(s) said Thank You: [Rusty](/forum/user/83085-rusty "View Rusty's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwOTk2NS1vd24tZWRpdC12aWV3LWZvci1kZWxpdmVyeS1ub3RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.054 seconds

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