Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Modifying the Admin Packing Slip

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-02-2016, 08:59 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Modifying the Admin Packing Slip

In the admin area, where you are given the option to print invoice or print packing slip...I would like to modify the packing slip.

Here would be my ideal modified version of the packing slip.
Highlighted in yellow are the elements I would like to simply add to the packing slip template
Instead of the far right box saying "QTY Shipped" - I would like to simply change the wording to "QTY Needed"
and the bottom "Total" to say "Item Total"
Attached Thumbnails
Click image for larger version

Name:	modPackingSlipBlurred.jpg
Views:	178
Size:	233.8 KB
ID:	4546  
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #2  
Old 05-11-2016, 03:19 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Modifying the Admin Packing Slip

You can do that by modifying respective language labels.
Check this out:
* http://kb.x-cart.com/display/XDD/Managing+texts+labels+in+your+store
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
BrandonLR (05-11-2016)
  #3  
Old 05-11-2016, 04:37 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by razortw
You can do that by modifying respective language labels.
Check this out:
* http://kb.x-cart.com/display/XDD/Managing+texts+labels+in+your+store

Oh wow...I never knew that. That's interesting. Thank you!

How would I add labels to the packing slip then...?
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #4  
Old 05-11-2016, 04:42 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by BrandonLR
Oh wow...I never knew that. That's interesting. Thank you!

How would I add labels to the packing slip then...?
Sorry, I overlooked the part about adding new labels to the packing slip.
To add new text labels you should modify templates in the following folder within your X-Cart
Code:
/skins/admin/en/order/packing_slip/parts/footer
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
BrandonLR (05-11-2016)
  #5  
Old 05-11-2016, 04:49 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by razortw
Sorry, I overlooked the part about adding new labels to the packing slip.
To add new text labels you should modify templates in the following folder within your X-Cart
Code:
/skins/admin/en/order/packing_slip/parts/footer
I didn't get a chance to look at that file yet, but is the 'footer" file the correct one to use to add labels at the top of the packing slip as well?
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #6  
Old 05-11-2016, 10:39 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Modifying the Admin Packing Slip

Can anybody tell me how to get parts from the invoice to show up on the packing slip as well?
Anybody? I would really appreciate it.
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #7  
Old 05-13-2016, 05:16 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by BrandonLR
Can anybody tell me how to get parts from the invoice to show up on the packing slip as well?
Anybody? I would really appreciate it.
Could you please specify what exactly you would like to copy from the invoice to the packing slip, so that I would be able to provide you with a piece of code.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
BrandonLR (05-13-2016)
  #8  
Old 05-13-2016, 05:20 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by razortw
Could you please specify what exactly you would like to copy from the invoice to the packing slip, so that I would be able to provide you with a piece of code.

I would like to add "payment method" below order date in the top left.
And I would like to add the totals "subtotal", "shipping cost", and "grand total" at the bottom right...see attached image in my first post.
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #9  
Old 05-17-2016, 08:02 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Modifying the Admin Packing Slip

Eagerly awaiting your response, razortw
__________________
X-Cart Business 5.4.1.29
Reply With Quote
  #10  
Old 05-17-2016, 12:08 PM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Modifying the Admin Packing Slip

Quote:
Originally Posted by BrandonLR
Eagerly awaiting your response, razortw
Sorry for the radio silence.
Replace the following templates with attached, and you will be fine.
1. /skins/admin/en/order/packing_slip/parts/head/head.title.tpl
2. skins/admin/en/order/packing_slip/parts/body/items.tpl
After that re-deploy your store cache.
Of course, I recommend to wrap these changes into a module, so that they remain intact during upgrades.
Attached Files
File Type: tpl head.title.tpl (1.7 KB, 80 views)
File Type: tpl items.tpl (1.2 KB, 76 views)
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
BrandonLR (05-25-2016)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:09 AM.

   

 
X-Cart forums © 2001-2020