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