Previously I was able to use the function zen_trunc_string to truncate product names in the shopping cart sidebox.
Now I would like to also truncate product names in the packing slip.
I presume that the area I need to address is here:
PHP Code:
<tr class="dataTableRow">' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
However, I have not been able to figure how to use the truncate function there to accomplish what I want. All my efforts have ended up with either non-functioning or blank packing slips.
So can someone lend a hand? Thanks
Bookmarks