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
  #51  
Old 05-15-2008, 09:19 AM
 
telimon telimon is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 93
 

Default Re: Printable Packing Slip - 4.0.x

I still have this problem. Haven't been able to figure it out. Can someone help us out??
__________________
4.710
  #52  
Old 05-15-2008, 02:21 PM
 
feeble_fuel feeble_fuel is offline
 

Member
  
Join Date: Mar 2008
Posts: 27
 

Default Re: Printable Packing Slip - 4.0.x

I figured it out. I missed the change of code in post #40.

You need to make the change to the code in include/process_order.php to include "packing" as part of the condition of the "if" statement. If it's not, when you click the print packing slip button, the logic never gets to process the packing slip.

Does that make sense?
__________________
Kelly

X-Cart DB Version: 4.1.9 GOLD
- X-AOM (Advanced Order Management)

  #53  
Old 05-23-2008, 01:47 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

Now, how do you make it print one packing slip per page?
__________________
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
  #54  
Old 05-23-2008, 02:05 PM
 
chris.barber chris.barber is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 74
 

Default Re: Printable Packing Slip - 4.0.x

imexhouse, forget what I posted I just realised you are using 4.0.19, not sure about that.

Although sorry guys I never realised that my copy and paste added extra spaces, weird must be the editor I was using.
__________________
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
  #55  
Old 05-23-2008, 02:05 PM
 
Andrew Gadsden Andrew Gadsden is offline
 

Member
  
Join Date: Aug 2006
Location: Portsmouth, UK
Posts: 20
 

Default Re: Printable Packing Slip - 4.0.x

<DIV style='page-break-after:always'></DIV>
__________________
Andrew Gadsden
xcart 4.1.8 [unix]

http://www.allabouttea.co.uk

The home of Tea on the Web - forum members please use code XCART-77 for a 10% discount!
  #56  
Old 05-23-2008, 02:16 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

Yeah, but where would you put it? I'm talking about printing packing slips for selected (batch).
If you put it on the invoice_packing.tpl itself, every single packing slip you print will add an empty page.
Do you add it in orders_list.tpl? After the <INPUT> tag that deals with printing packing slips for selected? That doesn't work.
__________________
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
  #57  
Old 05-23-2008, 02:17 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

chris.barber - it's not your editor. It's this forum's editor. Happens all the time..
__________________
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
  #58  
Old 05-23-2008, 02:30 PM
 
chris.barber chris.barber is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 74
 

Default Re: Printable Packing Slip - 4.0.x

imexhouse looking through all the changes the one that breaks the packing slip over the pages is this line...

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

Which for 4.1.8 and up is in the order_packing_print.tpl in the xcart/main directory, this if I remember correctly is created for the original mod.

The code around this line looks like this:

{if $config.Appearance.print_orders_separated eq "Y"}
{assign var="separator" value="<div style='page-break-after: always;'><!--[if IE 7]><br style='height: 0px; line-height: 0px;'><![endif]--></div>"}
{else}
{assign var="separator" value="<br /><hr size='1' noshade='noshade' /><br />"}
{/if}

I hope that helps
__________________
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
  #59  
Old 05-23-2008, 02:31 PM
 
Andrew Gadsden Andrew Gadsden is offline
 

Member
  
Join Date: Aug 2006
Location: Portsmouth, UK
Posts: 20
 

Default Re: Printable Packing Slip - 4.0.x

Does it not work if you put it in order_packing_print before </section>?
__________________
Andrew Gadsden
xcart 4.1.8 [unix]

http://www.allabouttea.co.uk

The home of Tea on the Web - forum members please use code XCART-77 for a 10% discount!
  #60  
Old 05-23-2008, 03:04 PM
 
feeble_fuel feeble_fuel is offline
 

Member
  
Join Date: Mar 2008
Posts: 27
 

Default Re: Printable Packing Slip - 4.0.x

Have you tried doing a test print of the batch? The page breaks were in there for me already. If you are just looking at the batch of packing slips in the pop-up window, they look like they run together, but when printed, the page break will start a new sheet of paper.

Just a thought.
__________________
Kelly

X-Cart DB Version: 4.1.9 GOLD
- X-AOM (Advanced Order Management)

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 10:21 AM.

   

 
X-Cart forums © 2001-2020