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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Custom email receipt from ecart

Thread began 2/25/2015 11:37 am by marsha431457 | Last modified 4/20/2015 2:35 pm by marsha431457 | 1984 views | 55 replies

Ray BorduinWebAssist

OK, we are getting close....

First you need to force people to always browse the site using http://www.bandofhonor.com and not just http://bandofhonor.com (missing the www.)

Since they function as separate sites from a Session perspective and we always return them to the www. version. The easiest way to do that is to add or update a rule to your .htaccess file (google will help you find what you need to add)

Once that is done, then the next issue is that we don't have the email address of the person to send the email to. So we will have to update the code on the success page to fix that.

1) update the code on the top of the page to pass it forward through the redirect:

php:
<?php

if (isset($_REQUEST['x_response_code'])) {
  die(
'<script>document.location.href="http://www.bandofhonor.com/checkout_success.php?email='.$_POST['x_email'].'";</script>');
}
?>



2) update the email address setting on the success page to send to the email address you are now passing through the url. That would be done by updating this line:

php:
$RecipArray[$CurIndex ][] = "".(WA_getSavedFormValue("CheckoutWizard_Sharp_Default","Email_Address"))  ."";



to this:

php:
$RecipArray[$CurIndex ][] = "".$_GET['email']  ."";

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