Kryptronic Software Support Forum

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.

#1 03-05-2004 09:54:18

Beth
Member
Registered: 11-30-2003
Posts: 64

Separate Lines For Product Options

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 sad 

Offline

 

#2 03-12-2004 12:11:28

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Separate Lines For Product Options

Are the options shown in admin on separate lines?


Nick Hendler

Offline

 

#3 07-18-2004 05:29:36

Social Smoke
Member
Registered: 09-21-2003
Posts: 39

Re: Separate Lines For Product Options

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

 

#4 08-13-2004 11:05:09

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Separate Lines For Product Options

Look in the routine 'ste_order_trackitem_disp' in the file ./cgi-bin/library/modules/ste_order.pl for:

Code:


if (!(exists($display_hash{$trackitem_shipadd_disp}))) {

Right above that, add:

Code:


$trackitem_options =~ s/\;/\<BR\>/gs;

That should get breaks in place of semicolons in the option display on the invoice.


Nick Hendler

Offline

 

Board footer