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

You can talk here in German about HikaShop. Please understand that we do not speak German at HikaShop and we can't offer support in German.

#   Lieferschein anpassen

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago [\#181129](#181129) by [joomer13](/forum/user/34042-joomer13 "View joomer13's Profile")  *[Lieferschein anpassen](/forum/7-german/873242-lieferschein-anpassen#181129 "-- HikaShop version -- : Business 2.3.4 -- Joomla version -- : 3.3.6  Guten Tag  Kann mir jemand erklären, wie ich das Layout des Lieferscheines anpasse? Konkret will ich die Lieferadresse verschieben, damit diese im Sichtfenster der Klebehülle sichtbar ist.  Besten Dank, Andy")* was created by *[joomer13](/forum/user/34042-joomer13 "View joomer13's Profile")*

-- HikaShop version -- : Business 2.3.4
-- Joomla version -- : 3.3.6

Guten Tag

Kann mir jemand erklären, wie ich das Layout des Lieferscheines anpasse? Konkret will ich die Lieferadresse verschieben, damit diese im Sichtfenster der Klebehülle sichtbar ist.

Besten Dank,
Andy

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 747
-
- [](http://www.inphase.one)
-

11 years 11 months ago [\#181133](#181133) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Lieferschein anpassen](/forum/7-german/873242-lieferschein-anpassen#181133 "-- HikaShop version -- : Business 2.3.4 -- Joomla version -- : 3.3.6  Guten Tag  Kann mir jemand erklären, wie ich das Layout des Lieferscheines anpasse? Konkret will ich die Lieferadresse verschieben, damit diese im Sichtfenster der Klebehülle sichtbar ist.  Besten Dank, Andy")*

Hi,

Dazu musst du eine der "Ansichten" editieren. Ein bisschen Basiswissen in Sachen HTML ist nötig, aber der Vorgang selbst ist eigentlich ganz simpel.

Das "Problem" ist, dass beides, Rechnung und Lieferschein, die selbe Ansicht (= PHP-Datei) verwenden, d.h. alle Änderungen, die du vornimmst, wirken sich auf Lieferschein und Rechnung aus. Wenn du ein spezielles Layout nur für den Lieferschein willst, dann ist das auch möglich, erfordert allerdings mehr Änderungen im Code, die dann nicht mehr ganz so einfach sind.

Hier jetzt auf jeden Fall erstmal, welche Datei und Codeblock du generell bearbeiten musst:

Im HikaShop Backend klicke -&gt; Anzeige -&gt; Ansichten, dann rechts oberhalb der Liste filtern nach: Backend / Isis (wenn das dein Joomla-Backend-Template ist) / order.
Jetzt in der Listenspalte Datei "invoice" finden und klicken.
Du siehst, dass (fast) die ganze Datei als "table" aufgebaut ist. Der Block (= Tabellenreihe), der die Adresse(n) enthält, ist der folgende:
Code:

&lt;tr&gt; &lt;td&gt; &lt;br/&gt; &lt;br/&gt; &lt;table width="100%"&gt; &lt;tr&gt; &lt;?php if($this-&gt;invoice_type=='full' &amp;&amp; !empty($this-&gt;element-&gt;billing_address)){?&gt; &lt;td&gt; &lt;fieldset class="adminform" id="htmlfieldset_billing"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php $this-&gt;setLayout('address_template'); $html = $this-&gt;loadTemplate(); foreach($this-&gt;element-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; if(!empty($this-&gt;element-&gt;billing_address-&gt;$fieldname)) $html=str_replace('{'.$fieldname.'}',$this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;billing_address-&gt;$fieldname),$html); } echo str_replace("\n","&lt;br/&gt;\n",trim(str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html)),"\n")); ?&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;?php }?&gt; &lt;td&gt; &lt;?php if(!empty($this-&gt;element-&gt;order_shipping_id) &amp;&amp; !empty($this-&gt;element-&gt;shipping_address)){ ?&gt; &lt;fieldset class="adminform" id="htmlfieldset_shipping"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_SHIPPING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php if(empty($this-&gt;element-&gt;override_shipping_address)) { $this-&gt;setLayout('address_template'); $html = $this-&gt;loadTemplate(); foreach($this-&gt;element-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; if(!empty($this-&gt;element-&gt;shipping_address-&gt;$fieldname)) $html=str_replace('{'.$fieldname.'}',$this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;shipping_address-&gt;$fieldname),$html); } echo str_replace("\n","&lt;br/&gt;\n",trim(str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html)),"\n")); } else { echo $this-&gt;element-&gt;override_shipping_address; } ?&gt; &lt;/fieldset&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt;

Eventuell ist dir damit gedient, diesen Block einfach an eine geeignete andere Stelle (z.B. weiter oben?) zu verschieben. Wie gesagt, bedenke, dass sich dieses dann auch auf die Rechnung auswirkt...

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

The following user(s) said Thank You: [joomer13](/forum/user/34042-joomer13 "View joomer13's Profile"), [eurokompass.com](/forum/user/42626-eurokompass-com "View eurokompass.com's Profile")

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 10 months ago [\#182988](#182988) by [joomer13](/forum/user/34042-joomer13 "View joomer13's Profile")  Replied by *[joomer13](/forum/user/34042-joomer13 "View joomer13's Profile")* on topic *[Lieferschein anpassen](/forum/7-german/873242-lieferschein-anpassen#182988 "-- HikaShop version -- : Business 2.3.4 -- Joomla version -- : 3.3.6  Guten Tag  Kann mir jemand erklären, wie ich das Layout des Lieferscheines anpasse? Konkret will ich die Lieferadresse verschieben, damit diese im Sichtfenster der Klebehülle sichtbar ist.  Besten Dank, Andy")*

Besten Dank - das hat mir schon geholfen!

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

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

[](#top)
