PDA

View Full Version : Can someone customize a script?


ScottG
11-15-2002, 09:50 PM
I have a shopping cart on my site and I use a cgi/perl script called:
Form2Mail v1.4 for Win32 from: http://www.liquidsilver.com/scripts[It's on a NT Server]

Anyway, after the customer submits the checkout form, it takes them to a confirmation page which shows the results of the order.
But it looks very ugly. It's just one long column of raw data. It looks really bad if someone orders several items.

Can someone customize the code so it prints out an attractive formatted confirmation page that looks more like a real invoice?

So instead of this ugly stuff:

ID_1: 81-22
NAME_1: Wheel/Pad/Rod
PRICE_1: 36.58
QUANTITY_1: 1
ID_2: 5H550
NAME_2: Evaporator Pad
PRICE_2: 20.78
QUANTITY_2: 1
ID_3: 1M113
NAME_3: Humidex Tablets
PRICE_3: 19.31
QUANTITY_3: 1
SUBTOTAL: $76.67
SHIPPING: $7.95
TAX: $0.00
TOTAL: $84.62
creditcard: Visa
card-name: Joe Smith
card-number1st: 1111
card-number2nd: 2222
card-number3rd: 3333
card-number4th: 4444
address: 200 Smith Rd
city: Somewhere
state: PA
zip: 11111
home-phone: 111-225-5745
work-phone: 111-225-5745

and so on...

Maybe something like below, only spaced out better

ITEM ID: ITEM NAME/DESCRIPTION QUANTITY PRICE
---------- -------------------------------- ------------ ----------
81-22 Wheel/Pad/Rod 1 $36.58
5H550 Evaporator Pad 1 $20.78
1M113 Humidex Tablets 1 $19.31

Subtotal: $76.67
Shipping: $7.95
Total: $84.62

BILLED TO:
VISA CARD# 1111-2222-3333-4444
NAME ON CARD- JOE SMITH
EXPIRES: 03/2003

ADDRESS:
JOE SMITH
200 SMITH ROAD
SOMEWHERE, PA 11111

SHIP TO:
SAME

...

If this can be done, I would be more than happy to pay someone for their time. I can send you a copy of my cgi/perl script

You can view the cart and the actual thing from
http://www.hannabery.com/shop.shtml

You can order stuff to test it, just make sure I know it's a test by using gibberish or "Test" in a field

Hope to hear from someone,
Scott