close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email on Last Page, not Confirmation

Thread began 6/28/2011 11:35 am by codamedia | Last modified 6/29/2011 10:27 am by codamedia | 560 views | 1 replies

codamedia

Email on Last Page, not Confirmation

I placed an email confirmation on the last page of the checkout (the succes page).

Also on the success page, at the very bottom of the page is code provided in these forums to clear the cart. This code (being at the bottom) allows the order confirmation to display, then clears the cart. If the person reloads the page - it shows as a blank order. (exactly what I want)

The problem I have is with the trigger for the email.

1: If I set it for when the page loads it works fine. Problem is, if the person refreshes the page it sends it again, of course with a blank receipt.

Preferred method
2: If I set it to send ONLY if the eCart object is not empty, it never sends. The email code is near the top of the page so the code to clear the cart should not intefere, but it seems to be.

Any suggestions?

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