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

Printable Packing Slip - 4.0.x

 
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #61  
Old 05-23-2008, 03:49 PM
  imexhouse's Avatar 
imexhouse imexhouse is offline
 

eXpert
  
Join Date: May 2006
Location: Canada
Posts: 377
 

Default Re: Printable Packing Slip - 4.0.x

I did the test print and the original mod with the <DIV style='page-break-after:always'></DIV>. It doesn't work.
If I put it in the orders_list.tpl, it works for a single slip, but not the batch.

BUT! The latest suggestion with this line:

{assign var="separator" value="<div style='page-break-after: always;'><!--[if IE 7]><br style='height: 0px; line-height: 0px;'><![endif]--></div>"}

WORKS!

That line was missing from the 4.0.19 order_packing_print.tpl and order_invoice_print.tpl

Thanks, guys for all your input.

Jack
__________________
Jack@AquasanaCA
X-CART GOLD 4.0.19 Live
DSEFU, AOM, ezCheckout, ezUpsell, ezRecommends, RememberMe, RememberAnonCarts
AquasanaCanada.com - Aquasana╝ - #1 Rated Water Filters in America!
X-CART GOLD 4.4.5 Live
CDSEO Pro v. 1.8.4
AquasanaMontreal.com
Aquasana╝ & Rhino Water Filtration Systems
  #62  
Old 06-28-2008, 12:48 PM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default Re: Printable Packing Slip - 4.0.x

Imexhouse - I'm trying to get this great looking mod working on 4.0 but I'm still getting the 'You Should Select Orders Before' error, despite trying various variations on the script.

I have the original mod working, but the batch facility is proving to be problematic.

Any chance you could recap the batch facility code for the 4.0 branch?

Many thanks.
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
  #63  
Old 06-28-2008, 03:28 PM
  imexhouse's Avatar 
imexhouse imexhouse is offline
 

eXpert
  
Join Date: May 2006
Location: Canada
Posts: 377
 

Default Re: Printable Packing Slip - 4.0.x

The reason I was getting that error was that in history_order.php I had 'pck_slip' instead of 'packing', so there was inconsistency in naming.
Make sure you're consistent. Also, if you copy the code from the forum, you'll end up with some spaces where there shouldn't be any.
Look at posts# 45-47

Oh, by the way, the original mod is balinor's and the batch feature chris.barber's.
__________________
Jack@AquasanaCA
X-CART GOLD 4.0.19 Live
DSEFU, AOM, ezCheckout, ezUpsell, ezRecommends, RememberMe, RememberAnonCarts
AquasanaCanada.com - Aquasana╝ - #1 Rated Water Filters in America!
X-CART GOLD 4.4.5 Live
CDSEO Pro v. 1.8.4
AquasanaMontreal.com
Aquasana╝ & Rhino Water Filtration Systems
  #64  
Old 06-29-2008, 02:36 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default Re: Printable Packing Slip - 4.0.x

Got It!

I had missed Markwhoo's piece of code at post #44.

That's the mechanics sorted - now onto the formatting .....

Thanks to all for their contributions!
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
  #65  
Old 07-27-2008, 12:42 PM
 
auc auc is offline
 

Member
  
Join Date: Jul 2007
Posts: 10
 

Default Re: Printable Packing Slip - 4.0.x

What tool/s utilized to create unique Invoice look?

Thank you.
__________________
All USA Catalog
X-Cart Gold 4.1.9
  #66  
Old 08-04-2008, 02:21 PM
 
chris.barber chris.barber is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 74
 

Default Re: Printable Packing Slip - 4.0.x

AUC, you can use the built in template editor, the best approach I found was to look at an Invoice and then work out which bits do what, like including the name, address, order details etc.

You can include your own graphics or text, but I haven't done anything more clever than that, follow the instructions in the original posts for how to change Invoice to Packing Slip as an example.

I'd like to do some more flash stuff with the packing slip etc but don't have time at the mo., I will be working on replicating this mod again to create a Delivery Note for when we do local deliveries with our own vehicle.
__________________
Chris Barber
Version 4.1.9
MOD - BCSE Shipping Estimator
MOD - Shopzilla Feed
MOD - Price Match with Captcha
MOD - Links Manager 2008
MOD - One Page Checkout
MOD - Sitemap
  #67  
Old 10-27-2008, 03:01 PM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Question Re: Printable Packing Slip - 4.0.x

Hi...I would like to add this to my cart...can I make the changes in the Edit templates section ? What is the route to order.php so I can get started...I cannot seem to find it.
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
  #68  
Old 10-27-2008, 03:04 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Printable Packing Slip - 4.0.x

You can't edit php files through the template editor - you need to edit those via ftp.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
  #69  
Old 10-27-2008, 11:42 PM
 
chris.barber chris.barber is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 74
 

Default Re: Printable Packing Slip - 4.0.x

As balinor says you need to copy the files to your PC using FTP, make the necessary changes and then upload them back to the site via FTP.

I would say that anyone who wants to mod their site should replicate it to a PC using FTP, a) as a backup, b) as a means of change control.

I always rename the file I am going to replace to .bak, that way no matter how thorough I have been I am always sure that the original is safe, then after a time I do a clean up exercise to remove the .baks.
__________________
Chris Barber
Version 4.1.9
MOD - BCSE Shipping Estimator
MOD - Shopzilla Feed
MOD - Price Match with Captcha
MOD - Links Manager 2008
MOD - One Page Checkout
MOD - Sitemap
  #70  
Old 10-28-2008, 01:52 AM
 
chris chris is offline
 

Senior Member
  
Join Date: Sep 2002
Location: UK
Posts: 145
 

Default Re: Printable Packing Slip - 4.0.x

HI there can you please advise whether or not you have the above mod working for 4.1 as I would be very interested in receiving a copy of the code.

Thank you,
__________________
Chris
some carts at v4.4.5 security patched on a hardened managed unix server
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 01:11 PM.

   

 
X-Cart forums © 2001-2020