Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    send email when orderpage is closed

    i want to make a bit of code that will work when somebody closes the browser window.

    so when somebody leaves my order page by clicking the x in the top corner i want to send them an email asking them why they left or leaving them a discount code to re-order this i think will in creae my sales and hopefully make my site more efficiant.i seem to be losing customers at the order page and think this is a great way to find out please helps guys

    in asp and javascript please thanks alot in advance

    but they must enter an email address in a page just before the order page so if they leave i have the email to send to.

    cheers guys.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,302
    Thanks
    203
    Thanked 2,561 Times in 2,539 Posts
    Well, the reason they quit your page is that they decided that they did not want to submit an order. You can only receive their email address if they submit a form, which is what they clearly do not want to do.

    Personally I would not be happy if a firm which I decided I did not want to deal with (for whatever reason) sent me emails.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •