Guest speak2stv Posted November 4, 2005 Share Posted November 4, 2005 Running Killer_Silver-blue, ver. 3.0.5 If a customer orders multiple items, only one shows up in the email to the admin: A sample is included below. You can see at the top that $13 worth of product was ordered, but only one shows at the bottom (the last one, I think) . Any ideas? *** Dear CubeCart Store Administrator, New Order Number: 051103-101500-8849 placed on Nov 03 2005, 10:15 AM ~~~~~~~~~~~~~~~~~~~~~~~~~~ Name: first last E-Mail: xxx Subtotal: $13.00 Postage & Packaging: Tax: $0.00 Grand Total: $13.00 ~~~~~~~~~~~~~~~~~~~~~~~~~~ Invoice Address: first last street city state zip United States Shipping Address: first last street city state zip United States Payment Method: Print Order Form Shipping Method: Free Shipping ~~~~~~~~~~~~~~~~~~~~~~~~~~ Order Inventory: Product: Roasted Potato and Onion Bread Quantity: 1 Product Code: ROA83 Price: $4.00 **** Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Guest Posted November 4, 2005 Share Posted November 4, 2005 There's a dot missing. Read through the E-Mail thread, you'll see where I made note of it. :rolly: Quote Link to comment Share on other sites More sharing options...
Guest speak2stv Posted November 4, 2005 Share Posted November 4, 2005 Thanks, Sir William! Sorry to be dense, but is there supposed to be a link to an email thread? I don't see the missing period... -speak2stv Quote Link to comment Share on other sites More sharing options...
Guest Posted November 4, 2005 Share Posted November 4, 2005 The thread is here: http://www.cubecart.com/site/forums/index....showtopic=11940 Man I hate finding bugs in my work. I left out one stinkin period! Anyway guys, on line 113 of /includes/content/gateway.inc.php the assignment needs to concatenated, not strictly assigned. So instead of this: $prodtext = sprintf($lang['front']['gateway']['admin_email_body_4'], $basket['invArray'][$i+1]["name"]); It needs to read this: $prodtext .= sprintf($lang['front']['gateway']['admin_email_body_4'], $basket['invArray'][$i+1]["name"]); Otherwise, you'll only get one product listed in the admin e-mail. This fixes that. One darned little dot. Oh well, at least I found it. Quote Link to comment Share on other sites More sharing options...
Guest speak2stv Posted November 4, 2005 Share Posted November 4, 2005 Thank you, Sir!!! -speak2stv Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.