fo0bar - PLEASE feel free to share your changes here.. This way if you ever slip into the darkness:laugh:, folks won't be wondering where your cool changes went to..:smile:
As you can understand, I can't incorporate EVERYTHING people ask about here into the codebase.. From my perspective, Super Orders has to serve a WIDE audience.. So I make changes base don that perspective..
BUT...
others might be looking for the VERY change YOU are making and so I ENCOURAGE you to share your changes with the community!!
That said ScriptJunkie shared with me your changes to the "Master Packingslip List" (for those who don't know what this is, part of the PDF Packingslip features includes a master LIST of packing slips.. Think of it as a summarized order picklist)
My apologies for not understanding that the "Master Packingslip List" is what you were updating as opposed to the PDF Packingslip itself..
ANYWAY...
I'm LOVING the checkboxes and other changes you made to the "Master Packingslip List"..:clap: The addition of the customer address, and the modifications to the layout are outstanding and a must have IMHO!!! I have merged your changes into the "Master Packingslip List" in new fileset that I plan to submit (hopefully this weekend)
I am thinking that shipping method would also be something useful to include on the "Master Packingslip List" as well.. Gonna see if I can tackle that at some point for a later release..
I did not include your attributes code on the "Master Packingslip List" though.. Your code only supports ONE attribute (which may be FINE for some shopowners), and I think that for a wider audience, multiple attributes support will better serve a wider audience.
The upcoming update I plan to submit includes support for MULTIPLE attributes on the PDF packingslip, but NOT the "Master Packingslip List". (Oversight on my part for not seeing that when I BEGGED the original contributor to add multiple attribute support to the PDF Packingslip..:blush:)
I don't want to hold up the upcoming update any longer trying to get multiple attributes working on the "Master Packingslip List". I'm sure it's a simple adaptation of the new multiple attribute code from the PDF Packingslip into the "Master Packingslip List", but if you all saw the new code you'd know why a code challenged gal like me is a BIT hesitant to try adding it now..:laugh: I'm afraid it will further delay what has already been a long delayed update already.. (sorry I've been a LOT busy!!)
BUT that said I will give it the old college try to add multiple attribute support to the "Master Packingslip List" for another release..
fo0bar:
Thanks once again for a completely awesome contribution.
I've finished tinkering, and it turns out that with a bit of thought, my problem was much easier to solve than i initially expected - i now have attribute titles on the master pdf packinglist.
Here's the stupidly easy fix:
BACK UP THE FILE FIRST.
Open the following file:
**
[YOUR ADMIN FOLDER]/includes/functions/extra_functions/lcsd_merged_packing_slips.php**
find this line:
$orderText .= '(' . $order->products[$i]['qty'] . ') ' . $order->products[$i]['name'] . '/' . $order->products[$i]['model'];
> ```php
$attribText = (!$order->products[$i]['attributes'][0]['value']) ? '' : (' - ' . $order->products[$i]['attributes'][0]['value']) ;
$orderText .= '(' . $order->products[$i]['qty'] . ') ' . $order->products[$i]['name'] . '/' . $order->products[$i]['model'] . $attribText;
```And then the attribute title will show up after the model on the PDF Master Packing List.
>
> Hope this assists some people.
>
> I've also done many other customisations to the packinglist pdf - a 'tick' box next to each item (with each item on its own line), shifted the order date and number to the right of the row, and also inserted the customer address. I'm working on postage type, but Austpost is making it difficult.
>
> **Let me know if anyone wants a copy of this customisation.**