The emails from my online store are not being sent correctly for my registered customers. They are always sent to the email address for the buyer, even though I allow people to override this.
Open 'OrderScript.pl' in your 'Site1' folder with Notepad.
Locate the line
push(@aRecipients, $$pBuyer{EmailAddress});
This is within the 'DisplayReceiptPhase' function. Add a '#' at the beginning of the line to make it read:
# push(@aRecipients, $$pBuyer{EmailAddress});
Underneath this line, add the following:
push(@aRecipients, $::g_BillContact{EMAIL});
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Open 'OrderScript.pl' in your 'Site1' folder with Notepad.
Locate the line
push(@aRecipients, $$pBuyer{EmailAddress});
This is within the 'DisplayReceiptPhase' function. Add a '#' at the beginning of the line to make it read:
# push(@aRecipients, $$pBuyer{EmailAddress});
Underneath this line, add the following:
push(@aRecipients, $::g_BillContact{EMAIL});
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.