Email truncating product ID and Descriptions

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

Does anyone know how to edit the program to allow for the product ID and product Descriptions to completely show up in the emails that are sent to the store owner and customer? We have users that have very long product ID's and Descriptions and the emails cut off most of everything that is required to be able to ship the product to the customer. I have been looking in the program files but so far I have not figured out how to change that part of it.

Thanks for your help, Ray

-- Ray Goniea (rgoniea@pcisys.net), February 24, 1999

Answers

You should be able to change these numbers to allow your longer item names. -Mike

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";

print MAIL sprintf "%-6.6s", $itemid; print MAIL sprintf "%-18.18s", $itemname; print MAIL sprintf "%13.13s", "\$$itemprice"; print MAIL sprintf "%10.10s", $itemquant; print MAIL sprintf "%18.18s", "\$$tmpprice";

-- Mike Lynne (mdlynne@worldnet.att.net), March 10, 1999.


Moderation questions? read the FAQ