You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
A previous post allowed me to put product options on separate lines in the shopping cart. Unfortunately, options shown in the ship area at the bottom of the invoice are still only separated by the ";" and look like a run-on sentence.
It seems that the display for this area is governed by a variable which contains a hash: $trackitem_prodinfo = "$display_hash{$key}"; in ste_order.pl.
Since this summary of items carries to the final invoice, it would truly help to see the options defined on separate lines.
Can anyone help me?
Beth
Offline
Has anyone else tried to do what Beth wanted done? It would be awesome if we could get some control over the method the item options prints on our invoices.
Offline
Look in the routine 'ste_order_trackitem_disp' in the file ./cgi-bin/library/modules/ste_order.pl for:
if (!(exists($display_hash{$trackitem_shipadd_disp}))) {
Right above that, add:
$trackitem_options =~ s/\;/\<BR\>/gs;
That should get breaks in place of semicolons in the option display on the invoice.
Offline