| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Printable Packing Slip - 4.4.x | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Printable Packing Slip - 4.4.x
Thought it was about time I updated this mod for 4.4
First, open up include/history-order.php. Find this code around line 56: Code:
Replace with: Code:
Next, find this code around line 143: Code:
replace with: Code:
Next, we add a new button to your admin area. Open up skin/common_files/main/history_order.tpl and look for this line of code around line 88: Code:
Add this immediately AFTER it: Code:
Next, create a template called order_invoice_packing.tpl (a simple text file) with the following code in it: Code:
Upload it to the skin/common_files/main/ folder. Create a new language variable in your 'languages' area of the admin called txt_thank_you_for_purchase_packing. This will be the 'thank you message' at the bottom of the packing slip so that you can have a different one for packing and the invoice. Finally, you need to upload the two attached files into the skin/common_files/mail/html folder. They are the packing slip and order data display. Note these are customized by me, so you'll want to tweak to your specs. Enjoy!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#2
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
I followed the instructions Exactly like your stated. But when I click on the "Print Packing Slip" button, I get a Blank page.
Is there something missing?
__________________
Using *Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4) X-Cart Gold Version 4.6.3 (Fresh Install) X-Cart Gold Version 4.4.4 X-Cart Gold Version 4.4.3 Godaddy Shared Linux Hosting PHP 5.3.24 MySQL server 5.5.33-log MySQL client 5.5.19 ----------------------------------------------- |
|||||||
#3
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
Double check that you uploaded the files to the correct place.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#4
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
Quote:
You are correct. I accidentally uploaded the 2 files: order_data_packing.tpl and order_invoice_packing.tpl in the wrong folders. I accidentally placed them in: skin/common_files/mail/ I deleted them, then uploaded in: skin/common_files/mail/html It's now working, Thanks a Million! * Now I need to modify the Packing Slip to add 1) My Logo 2) Each Product's SKU # (like on the Invoice) Very Important. 3) I wish there was 2 more columns for each product (to the right of QTY column). One titled "Shipped" (Yes or No), and another titled "Backordered" (displaying the 1 of items backordered for that product, if any, Zero being the default). 4) And a row underneath the table titled "Total Items Shipped", indicating the Total Number of items shipped.
__________________
Using *Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4) X-Cart Gold Version 4.6.3 (Fresh Install) X-Cart Gold Version 4.4.4 X-Cart Gold Version 4.4.3 Godaddy Shared Linux Hosting PHP 5.3.24 MySQL server 5.5.33-log MySQL client 5.5.19 ----------------------------------------------- |
|||||||
#5
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
I noticed in the order_invoice_packing.tpl file, at the end, there is a tag: {$lng.txt_thank_you_for_purchase_packing}
It doesn't display anything on the Packing Slip. What do I need to do to fix that?
__________________
Using *Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4) X-Cart Gold Version 4.6.3 (Fresh Install) X-Cart Gold Version 4.4.4 X-Cart Gold Version 4.4.3 Godaddy Shared Linux Hosting PHP 5.3.24 MySQL server 5.5.33-log MySQL client 5.5.19 ----------------------------------------------- |
|||||||
#6
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
You can do whatever you want with the packing slip/invoice, that is up to you. The variable at the bottom is a custom one so that the packing slip has a different footer message than the invoice. I've added that to the install instructions.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#7
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
Quote:
Thanks. I created the variable in the languages section and it's working fine. On Line 52 in order_invoice_packing.tpl file there is the code: <img src="{$ImagesDir}/invoice-logo.png" /> It's not showing my logo on the Packing Slip. Do I need to create an additional logo file and upload it? Thanks in advance for your assistance.
__________________
Using *Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4) X-Cart Gold Version 4.6.3 (Fresh Install) X-Cart Gold Version 4.4.4 X-Cart Gold Version 4.4.3 Godaddy Shared Linux Hosting PHP 5.3.24 MySQL server 5.5.33-log MySQL client 5.5.19 ----------------------------------------------- |
|||||||
#8
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
You can change that image to whatever you want.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
Quote:
What folder should it be uploaded too? I added it to folder: /skin/vivid_dreams_chromo/images/vivid_dreams/ And it's not showing up.
__________________
Using *Upgrading Dev Copy of 4.4.3 to 4.6.3 (currently at 4.5.4) X-Cart Gold Version 4.6.3 (Fresh Install) X-Cart Gold Version 4.4.4 X-Cart Gold Version 4.4.3 Godaddy Shared Linux Hosting PHP 5.3.24 MySQL server 5.5.33-log MySQL client 5.5.19 ----------------------------------------------- |
|||||||
#10
|
|||||||
|
|||||||
Re: Printable Packing Slip - 4.4.x
Quote:
You could try changing the code to be more specific, I think that something like this would work. /skin/vivid_dreams_chromo/images/vivid_dreams/logo.png You will also have to rename the last part of the code to match your invoice logo as people tend to rename these. e.g <img src="{$ImagesDir}/invoice-logo.png" /> will be <img src="{$ImagesDir}/YOURLOGOFILESNAME.png" /> Don't take my word for it though, i'm a complete noob.
__________________
Xcart 4.5.2 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|