close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How can I duplicate the order summary email

Thread began 9/07/2013 5:40 am by bentulk | Last modified 9/09/2013 11:18 am by Jason Byrnes | 234 views | 1 replies |

bentulk

How can I duplicate the order summary email

I used checkout wizard to produce pages.
I have 'confirm.php' page that has button when clicked sends email order to client.
I want to have another button which sends very similar email, but with different wording.

I have created a button.
I duplicated the email file and renamed (checkout_5_confirm_WAUE_HTML_WA_Universal_Email_1.php)
I ran the UE wizard and selected to use this file as template.

When I click this button on checkout, I get an error message.

It says:


( ! ) Notice: Undefined variable: madelena_cart in C:\wamp\www\madelena_prototype2\checkout_5_confirm_WAUE_HTML_WA_Universal_Email_Bank.php on line 7
Call Stack
# Time Memory Function Location
1 0.0043 330144 {main}( ) ..\checkout_5_confirm.php:0
2 1.0271 856040 include( 'C:\wamp\www\madelena_prototype2\webassist\email\waue_checkout_5_confirm_2.php' ) ..\checkout_5_confirm.php:153
3 1.0280 861816 GetFromPage( ) ..\waue_checkout_5_confirm_2.php:40
4 1.0316 1009592 require( 'C:\wamp\www\madelena_prototype2\checkout_5_confirm_WAUE_HTML_WA_Universal_Email_Bank.php' ) ..\mailformatting_php.php:151

( ! ) Fatal error: Call to a member function GetContent() on a non-object in C:\wamp\www\madelena_prototype2\checkout_5_confirm_WAUE_HTML_WA_Universal_Email_Bank.php on line 7
Call Stack
# Time Memory Function Location
1 0.0043 330144 {main}( ) ..\checkout_5_confirm.php:0
2 1.0271 856040 include( 'C:\wamp\www\madelena_prototype2\webassist\email\waue_checkout_5_confirm_2.php' ) ..\checkout_5_confirm.php:153
3 1.0280 861816 GetFromPage( ) ..\waue_checkout_5_confirm_2.php:40
4 1.0316 1009592 require( 'C:\wamp\www\madelena_prototype2\checkout_5_confirm_WAUE_HTML_WA_Universal_Email_Bank.php' ) ..\mailformatting_php.php:151

Do you know what I'm doing wrong?
Is there a better approach? Or an easy fix?

Thanks,

Ben

Sign in to reply to this post

Jason ByrnesWebAssist

Dont rename files, the Checkout wizard does not use a file as a template for the email body, so there is no email template file that you can rename to create the email message.

you will need to recreate the email receipt to send another one with slightly different wording.

if you want the second email to use a file for the email body, you will need to create one from scratch, add the cart display manager to it, select to use the email friendly design, and add any other content you want to show in the email.

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