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:
PHP Code:
$orderText .= '(' . $order->products[$i]['qty'] . ') ' . $order->products[$i]['name'] . '/' . $order->products[$i]['model'];
REPLACE it with this:
PHP Code:
$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.
Bookmarks