| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Printable Packing Slip - 4.0.x | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
![]() I still have this problem. Haven't been able to figure it out. Can someone help us out??
__________________
4.710 |
|||||||
#52
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() 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
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() <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
|
|||||||||
|
|||||||||
![]() 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
|
|||||||||
|
|||||||||
![]() 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
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() 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) |
|||||||
|
|||
X-Cart forums © 2001-2020
|