nagelkruid:
Ouch, not even when you select 2 or more orders and hit the print button? I may have bumped in the old "error behind keyboard" then, grmblll...:lamo:Nope not ever..
ScriptJunkie:
Hi Diva,
I have a question about customizing PDF packing slips.
I'm aware that I can change the default logo to my own logo through the SO config in admin...however, it advises to keep images to a specific size for best output. I prefer to use a banner logo, plus that gigantic font "Packing Slip" text just bugs me.
What I really want to do is get into the header portion of the PDF and take out all the space holders, pre-existing text, and white space and replace it with a banner logo.
The problem is that because it renders in the browser as a PDF, I'm unable to identify which file to edit.
Can you point me in the right direction?
Gonna say what I have said everytime someone has asked me about customizing the PDF packingslips..
It is somewhat of a PITA to modify them if you want to do anything drastically different than how they are setup..
Is this code customizable?? Yes.. But unless it's a SLIGHT variation to the current layout, it becomes a PITA to do..
nagelkruid:
Go into <admin folder>/includes/functions/extra_functions/lcsd_merged_packing_slips.php and find around line 73:```php
if(LCSD_SHOW_SHIPPING_LABEL == 'False'){
$this->SetFont('Arial','B', 28);
$this->SetXY(350, 85);
$this->MultiCell(270, 24, 'Packing Slip');
}
Yes you certainly can modify the header section of the packing slip to your liking.. Keep in mind though that if you modify the header section of the PDF packingslip, you will want to make sure that you don't get errors because of this missing admin control.. Meaning you MAY need to run a small bit of SQL to remove the admin control from the Super Order admin..
> **nagelkruid:**
>
> All the other lines regarding the logo and the rest of the text is in that file as well, it is -more or less- hardcoded into this file instead of adjustable in the admin. You could volunteer and make it with adjustable variables for the next version :cool:Well like everything in open source, it's usually something developed for a specific client (who does not need admin controls since the PDF will be constructed to theri specifications), and the developer was gracious enough to share it with the community (as was the case here).. However, if "someone" (hint hint) wants to take a whack at adding more admin controls, I welcome the improvement..:smile:
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.