| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Copy of shipping address to packing slip at bottom | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi,
When we are packing up multipole orders, we have nothing to put on the outside of the package to know which one is which. I have some paper with integrated labels that I would like to use for packing slips, duplicating the shipping address to where the label area is at the bottom of the page. I have tried to find the right template to edit with no luck. The visual editor isn't available for this, and looking in the skins/admin/order/packing_slip/ doesn't seem to give me a layout template other than the items table. Which file do I need to edit to copy the shipping address section to another area? Thanks,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#2
|
|||||||
|
|||||||
![]() Quote:
There is a standard, default 'Packing Slip" (which you can customise - as we have done) It is generated using the "Print Packing Slip" icon on the top right hand side of each order's detail page. In theory ![]() Then again, maybe, you only want to extract the shipping address details from each order and then print those details onto your own custom labels instead? If this is your choice, then both the /skins/admin/order/packing_slip/parts/addresses/purchaser.address.shipping.twig file and the /skins/common/order/invoice/parts/bottom.address.shipping.twig file source each individual order's shipping address details, but they both only do this by using {% for idx, field in this.getAddressSectionData(this.saddress) %} so sourcing these twig file on their own, won't be enough in this case, to just extract just the shipping address details. If it really is just extracting specific order's shipping address details, then in that case, it might be much easer and much less work, to use the output of a purpose written MySQL query, which is then exported each time and the results printed directly on to your labels?
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
|
|||
X-Cart forums © 2001-2020
|