Adding Copy of shipping address to packing slip at bottom
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, |
Re: Adding Copy of shipping address to packing slip at bottom
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 :wink: there is a way to trace the templates used in XC 5.4.* admin via this free module: https://market.x-cart.com/addons/webmaster-kit.html but... it can be hit 'n miss sometimes. You can't use the Customs Skins module: https://market.x-cart.com/addons/custom-skin.html that's mentioned though, as that doesn't work in XC 5.4.*. You would normally need to provide your own custom module to add customisation and/or make changes in all XC admin.php areas. FWIW Customisation and/or making changes in all XC service.php areas is still pretty much, locked down in XC 5.4.* but that shouldn't affect you in this case anyway, fortunately. 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? |
All times are GMT -8. The time now is 07:27 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.