Jump to content

Packing Slip Logo


Guest Beadvine

Recommended Posts

Guest xceejayx

I think this should work (i havent tried it yet as i'm sorting out the rest of my store first)

Edit this file - admin/sources/orders/print.inc.php

Find:

	  <img src="includes/extra/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" />

Replace with the image you want...

Link to comment
Share on other sites

Guest ochiburi

Thanks :D

I kinda figured it was probably something to do with it, only hope I don't make a hash of it!!

- Emma

PS Worked like :o

I got this problem too - glad the suggested fix works, but imho this is actually a BUG - surely the PHP should be finding the custom logo for that skin and substituting it?

- Laurence

Link to comment
Share on other sites

  • 3 weeks later...
Guest webicon

@jazzydan58 :

1. Have you tried clearing the cache on your computer?

2. Try deleting the old file on the server before re-writing to the server - It may be that the FTP program didn't want to overwrite...

Link to comment
Share on other sites

  • 5 months later...
Guest gavjof

I think this should work (i havent tried it yet as i'm sorting out the rest of my store first)

Edit this file - admin/sources/orders/print.inc.php

Find:

	  <img src="includes/extra/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" />

Replace with the image you want...

I'm guessing that if you make this change you'll need to keep an eye on any future patches to make sure it is not replaced.

Would be nice if the admin had an upload logo option for both store front and packaging slip :)

Link to comment
Share on other sites

Guest JodieR

I'm using 4.2.2 and this is the code I find (which is slightly different to the above)

<img src="<?php echo $glob['rootRel']; ?>images/getLogo.php?skin=<?php echo $config['skinDir']; ?>" alt="" />

about line 94

Just thought I'd update to make it easy for people to find. :)

Link to comment
Share on other sites

  • 3 weeks later...
Guest semolinapilchard

daft question i am sure but how do i resize the logo image just on the packing slip?? its cutting off half my company name??

thanks in advance

Link to comment
Share on other sites

  • 3 weeks later...
Guest bootcamp

daft question i am sure but how do i resize the logo image just on the packing slip?? its cutting off half my company name??

thanks in advance

Editing the line around line 94 works fine, but you also need to edit:

admin/styles/print.css

There is an id tag "storeLabel" that controls the width of the logo on the page.

You will have to edit these files again if you do any updates to your site in the future.

Hope this helps ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...