close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order number missing from confirmation emails

Thread began 4/02/2011 10:02 pm by SaladoGuy | Last modified 4/04/2011 11:34 am by Jason Byrnes | 1943 views | 5 replies |

SaladoGuyBeta Tester

Order number missing from confirmation emails

I have a new site I've been working on and I'm having a problem with the confirmation email: There's no order number printed out.

The code to make it print is:

<h3 style="font-size:small; margin:2px 0; color:<Text_Dark />; /* Text_Dark */" >Order number: <?php echo ((isset($_SESSION["gardencart_OrderID"]))?$_SESSION["gardencart_OrderID"]:"")?></h3>

I've compared it to another site I've done who's order confirmation works, and they seem the same:

((isset($_SESSION["eCart1_OrderID"]))?$_SESSION["eCart1_OrderID"]:"")?

The only different is gardencart_ vs eCart1, which is correct.

I'm attaching the confirmation page that contains the UniversalEmail object. Could someone please look at it and tell me why the order number does not come through? Everything else is coming through and being echoed into the email message just fine.

Thanks.

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the problem is caused by code order.


the order of the server behaivors on your apge is:
Universal Email
eCart Store Order Summary
eCart Store Order Details


you need to re arrange this so the email is sent after the store order details. the order should be:

eCart Store Order Summary
eCart Store Order Details
Universal Email

Sign in to reply to this post

SaladoGuyBeta Tester

Originally Said By: Jason Byrnes
  the problem is caused by code order.


the order of the server behaivors on your apge is:
Universal Email
eCart Store Order Summary
eCart Store Order Details


you need to re arrange this so the email is sent after the store order details. the order should be:

eCart Store Order Summary
eCart Store Order Details
Universal Email  



I have done this but now it does not seem to send email at all. Before I always got me email at least within a couple minutes. Now I've placed several test orders and none of the emails have come through.

Any ideas?

Attached Files
confirm.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the store order details behavior is set to redirect to the success page, this happens before the email can be sent.

edit the store order details behavior and remove the redirect, then edit the email behavior and set it to go to the success page after the email is sent.

Sign in to reply to this post

SaladoGuyBeta Tester

Originally Said By: Jason Byrnes
  the store order details behavior is set to redirect to the success page, this happens before the email can be sent.

edit the store order details behavior and remove the redirect, then edit the email behavior and set it to go to the success page after the email is sent.  



Got it. That worked - Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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

Content

rating

Layout

rating

Ease of use

rating

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...