Email Problem when Orders sent out

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hello Is there a way that we can change the way the email is being sent when the order is completed. The spacing for the Item name is too small that it isn't enough space for the full item name to appear.

Your kind assistance is appreciated Thanks

-- A Rasheed (navsm@singnet.com.sg), August 06, 1999

Answers

Hi,

In the "smart.cgi" file look for the mail section. Find these lines.

print MAIL sprintf "%-28.28s", "Item Name"; print MAIL sprintf "%14.14s", "Item Price"; print MAIL sprintf "%10.10s", "Quantity"; print MAIL sprintf "%18.18s", "Item Total";

The numbers "%14.14s" are what you have to change. You will have to change the numbers until you get the space you need. There is more than one set you will have to find and change them all.

Jim

-- James L. Farmer (jim@team-blankets.com), August 06, 1999.


Moderation questions? read the FAQ