Posted - 02/19/2018 : 19:19:15
Hopefully the ECT team will adopt dbdave's suggestion to add an [url="https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109282"]Email verification feature[/url] to the "Ask a Question / Email a Friend" form.
If you proceed to modify [navy]emailfriend.php/asp[/navy], then perhaps you could also consider making these very simple improvements ...
---------------------------------------- (1) Print line breaks in the "Comments" section of the email message body. Alter LINE 78 of [navy]emailfriend.php[/navy] as follows:
[font=Courier New]$yourcomments=str_replace[red](array("\r\n", "\n", "\r")[/red],$emlNl,substr(getpost('yourcomments'),0,2000));[/font=Courier New]
---------------------------------------- (2) In the email message body, print ProdID - ProdName ... just in case the visitor deletes that info from the comments field when entering their question. Also print VisitorName and VisitorEmail in the body. Alter LINE 80 as follows:
[font=Courier New]$seBody=[red]'A question about: '[/red] . getpost('origprodid') . $emlNl . [red]'Received from: '[/red] . [red]$yourname . ', ' . $youremail[/red] . $emlNl . $emlNl . $yourcomments . $emlNl;[/font=Courier New]
---------------------------------------- (3) Enhance detail in email Subject line to include VisitorName and ProdID Alter LINE 86 as follows:
[font=Courier New]$thesubject=$xxAsqSub [red]. ' from ' . $yourname . ' about ' . $theprodid[/red];[/font=Courier New]
So if you added this language override to [maroon]includes.php[/maroon]: [font=Courier New]$xxAsqSub='[green]A question[/green]';[/font=Courier New] Then the email message title would read something like: A question from Gary Flack about minicss-widgets
Gary [img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]
|