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 08-05-2003 04:13:46

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Product Options Confirmation Print Out

The confirmation printout looks terrible with all of my product options running together (No Spaces or Line Breaks) is there some way to add Spaces or Line Breaks Between product options on the Email confirmation invoices.


keyman

I would like to be able to modify the way the form displays my  product options and measurements From the checkout form?

Offline

 

#2 08-05-2003 11:20:42

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

Re: Product Options Confirmation Print Out

Modifications would be made in the routine 'ste_order_trackitem_disp' in the file ./cgi-bin/library/modules/ste_order.pl. 

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#3 08-05-2003 15:18:00

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Re: Product Options Confirmation Print Out

<font size="1" color="#FF0000">LAST EDITED ON 08-05-03 AT 04:19 PM (EST)</font><p>I found the file you mentioned ste_order.pl, but I'm still not sure what to edit?

My shopping cart is not taking orders at this time. It is just sitting there taking up space. So may I suggest you order one of my robe sets and a few of the optional items offered and look at the Email printout. It is extremely hard to understand the order when it comes to optional item fields.

What I would like to do is put a line break between each optional item.

http://www.weddingofficiants.org/cgi-bi … cp-app.cgi

I was hoping for a printout that I can pass directly to my processing people. After showing a sample to my senior seamstress she was unable or had a extreme difficulty understanding the order.

I tried to edit the file myself but decided not to touch anything, because it all looked Greek to me.

Keyman

Offline

 

#4 08-06-2003 14:55:19

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Re: Product Options Confirmation Print Out

I kind of gave up waiting for a reply sad So I attempted to modify the script and myself.  All I received was the following error? 

Script Execution Error
The following error was just encountered:

syntax error at /home/httpd/vhosts/weddingofficiants.org/cgi-bin/ccp5/library/modules/ste_order.pl line 214, near "my " syntax error at /home/httpd/vhosts/weddingofficiants.org/cgi-bin/ccp5/library/modules/ste_order.pl line 236, near ") {" syntax error at /home/httpd/vhosts/weddingofficiants.org/cgi-bin/ccp5/library/modules/ste_order.pl line 446, near "}" Compilation failed in require at /home/httpd/vhosts/weddingofficiants.org/cgi-bin/ccp5/library/common/initialize.pl line 291.

Thank God and I save a backup. How do I add the spaces or line breaks to my product options printout?

I would really hate to screw up CCP5.

Sincerely yours the keyman

Offline

 

#5 08-06-2003 15:55:56

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

Re: Product Options Confirmation Print Out

I think what you're trying to do is detailed here:

<A HREF="https://forum.kryptronic.com/viewtopic.php?id=2108">https://forum.kryptronic.com/viewtopic.php?id=2108</A>

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#6 08-06-2003 23:37:02

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Re: Product Options Confirmation Print Out

I keep trying and still get the same error or I don't get the change I m looking for?

On the Order Confirmation

I get:

Dickie Fastener Choice: Snaps; Robe Color Choice Black or White Only: Black; Cape and Cinture Purchased With Cassock: Not at This Time; Surplice Collar Style Choice: Rounded Neckline; White Lace Applique Choice: Butterfly; Lace Applique Gold Trim Choice: None

I am trying to get:
Dickie Fastener Choice: Snaps;
Robe Color Choice Black or White Only: Black;
Cape and Cinture Purchased With Cassock: Not at This Time;
Surplice Collar Style Choice: Rounded Neckline;
White Lace Applique Choice: Butterfly;
Lace Applique Gold Trim Choice: None

I don't really know what I am doing..


Ira keyman@keyman.com

Offline

 

#7 08-07-2003 09:28:53

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

Re: Product Options Confirmation Print Out

This is the code you need:

In the file ./cgi-bin/library/modules/ste_cart.pl in the routine 'ste_cart_add_cgi_api_proc' you will see the line:

###

$cart_prodoptions .= "; ";

###

In several spots. Change to:

###

$cart_prodoptions .= "<BR>";

###

Then change the lines:

###

if ($cart_prodoptions ne "") {

chop($cart_prodoptions);
chop($cart_prodoptions);

} ######### End of if statement.

###

To read:

###

if ($cart_prodoptions ne "") {

chop($cart_prodoptions);
chop($cart_prodoptions);
chop($cart_prodoptions);
chop($cart_prodoptions);

} ######### End of if statement.

###

Make sure your saved changes to ste_cart.pl get uploaded correctly.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#8 08-07-2003 17:58:13

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Re: Product Options Confirmation Print Out

I changed everything that you said??
I still get a straight line printout?
And now it seems to be cutting off some of the descriptions. 

Example below:
#######################################

Item: Custom Cut Wedding Pulpit Robe Set
Number: ROBEC002
Quantity: 1

Robe Color: White; Lace Appliques: Angel Gold Gliter Tr
#######################################

What it should read and what I am looking for is:
#######################################
Item: Custom Cut Wedding Pulpit Robe Set
Number: ROBEC002
Quantity: 1

Robe Color: White
Lace Appliques: Angel Gold Gliter Trim
#######################################

Is there anything else, I can try? and what can I do about it cutting off some of the description.  It can be very hazardous not to get someone's order right??

I am becoming very desperate and worried, that I'll have to continue to do business via the e-mail and skip out on the shopping cart altogether.

I don't feel it should be necessary for to rewrite the orders to get them processed. With a online system such as click cart?


keyman@keyman.com
http://www.weddingofficiants.org

Offline

 

#9 08-13-2003 09:07:37

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

Re: Product Options Confirmation Print Out

The thing that I don't think you're doing is making that same change "In several spots".  There are three spots in that routine where the exact same change needs to be made.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#10 08-13-2003 17:24:54

Guest
Guest

Re: Product Options Confirmation Print Out

I went through all 2052 lines of code. I changed every location where I found $cart_prodoptions = ""; to $cart_prodoptions = "<BR>";

It's still doesn't work.  I've plan on upgrading to 5.1, so if these changes are not going to stick would it be advisable to just pay for the extra charge of programming this stuff on your end.

Ira

 

#11 08-15-2003 12:00:31

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

Re: Product Options Confirmation Print Out

With the upgrade, those changes will not stick.  I could do the hack to 5.1 for you for the minimum support charge (15 minutes).  It's not:

$cart_prodoptions = "";

It should be:

$cart_prodoptions .= "; ";

That you're replacing.

___________________________

Nick Hendler
Webmaster, Kryptronic, Inc.


Nick Hendler

Offline

 

#12 08-15-2003 16:44:17

Guest
Guest

Re: Product Options Confirmation Print Out

I will purchase the support time and send in a money order with a copy of this post by mail.

Thank you very much,
Ira Gilmore
http://www.weddingofficiants.org

 

#13 08-15-2003 21:41:46

kingdavidK
Member
From: Modesto, Ca
Registered: 08-31-2003
Posts: 109
Website

Re: Product Options Confirmation Print Out

I still don't get it.

I have made the changes in the directions above, no change in the output results.


Is this the same issue for 5.1 as 5.0?


YOU DA MAN... What now? LOL smile



MD


Mark Downing
King David Enterprises

Mastering the art of customer satisfaction

Offline

 

#14 08-20-2003 20:44:54

WayneK
Member
Registered: 08-17-2003
Posts: 256
Website

Re: Product Options Confirmation Print Out

While I haven't done a bulleted list

I think the code in ste_cart.pl also needs all references to

<-- use at your own risk -->

$cart_prodoptions .= "$display_name: $field_value; ";
$cart_prodoptions .= "$sel_name; ";
$cart_prodoptions .= "; ";

changed to

$cart_prodoptions .= "$display_name: $field_value; <br>";
$cart_prodoptions .= "$sel_name; <br>";
$cart_prodoptions .= "; <br>";

I haven't experimented with taking out the semi-colon


- Wayne

http://grade-a.net/


- Wayne
<-- Witty Clever Phrase Goes Here -->

Offline

 

Board footer