close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Order number not being sent in email.

Thread began 7/17/2013 11:57 am by FrankJay | Last modified 7/17/2013 12:42 pm by FrankJay | 480 views | 2 replies |


Order number not being sent in email.

I've completed an eCart project for quotations and promotion items with each using its own checkout pages.

Both sets of information is being written to a database and emailed to the user as well as administrative personnel and the owner. All is working perfectly except for both the emails for the quotation and the promotion items do not display the order number for both the quotation and the promotion items.

on the waue_cart-promo-confirm_2.php page the order number is referenced as:

$MailBody = $MailBody . ((isset($_SESSION["ssCartPromo_OrderID"]))?$_SESSION["ssCartPromo_OrderID"]:"")

On the cart-promo-confirm.php page the eCart Store Summary behavior states:
Order ID: PromoID
Store As: ssCartPromo_OrderID - matches the above session.

The PromoID is being recorded in the database.

I'm not sure how to correct this.

Please point me in the right direction.

Sign in to reply to this post

Jason ByrnesWebAssist

the code to send the email is at lines 48 - 135. the code that stores the order summary and sets the session is at lines 207- 267

to fix the problem, move the code to send the email to line 268 so it is sent after the session is created.

Sign in to reply to this post



Now working perfectly!

Thanks Jason

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...