Guest Posted December 3, 2008 Share Posted December 3, 2008 Hi, I have combed through these forums trying to find a way to display an alternate logo on the Print Packing Slip. This thread is promising: http://forums.cubecart.com/index.php?showt...&pid=147446 But, I am still getting a missing image icon. I believe the file path is correct. The thread provides this: gobuchul74 @ Jan 17 2008, 10:38 PM) Is there a way to change the logo for printed invoices? Currently it prints the same logo as on the website, but it is too wide and gets cut off. go into the print.inc file ( admin/sources/orders ) and hard code the path to the logo you want to include. youwill need to change the following line. <img src="includes/extra/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" /> ** Am I to assume that the image being displayed is from: store>skins>MySkins>styleImages>logo>default.gif I have placed logo_Receipt.gif inside that logo directory, and can't seem to come up with the result. I have tried various possibilities, with no luck. ******* Can anyone tell me how to integrate my logo_Receipt.gif into the line below, or how to get this alternate logo to display?: <img src="<?php echo $glob['rootRel']; ?>images/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" /> Thanks for any help! - shorescores Quote Link to comment Share on other sites More sharing options...
Ausy Posted December 4, 2008 Share Posted December 4, 2008 I put my new logo in the images/general folder, you could do the same, then change the code in print.inc.php <img src="<?php echo $glob['rootRel']; ?>images/general/logo_Receipt.gif?skin=<?php echo $config['skinDir']; ?>" alt="" /> Quote Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2008 Share Posted December 4, 2008 Ausy, Thanks so much. This worked perfectly! With a few tweaks to admin>styles>print.css I now have a nice sales receipt for my customers. - shorescores Quote Link to comment Share on other sites More sharing options...
Guest Posted March 14, 2009 Share Posted March 14, 2009 Hey.. Thanks for the info in this topic i have also editted following the above instructions and it is working great.. Thanks again Quote Link to comment Share on other sites More sharing options...
Guest byanothername Posted November 18, 2009 Share Posted November 18, 2009 I have made an alternate logo, called it logo.jpg, uploaded into the images folder. So its path is images/uploads/logo.jpg How then should this code read? <img src="<?php echo $glob['rootRel']; ?>images/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" />\ Mike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.