spacegremlin Posted January 27, 2020 Posted January 27, 2020 i have the review, in the oscommerce 2.3.4.1 al works, and need to be aproved by me, before it can be seen on in the shop. but is it true that if someone does a review, i do not receive an email? i would assume that i would receive an email when a review is than, that has te be aproved. all my other email all works
kgtee Posted January 29, 2020 Posted January 29, 2020 You can insert a sendmail command line in the file products_review_write.php as follows: Quote $messageStack->add_session('product_reviews', TEXT_REVIEW_RECEIVED, 'success'); tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'A Review Has Been Submitted' , 'A review has been submitted by ' . $customer_first_name . ' on ' . $product_info['products_name'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_redirect(tep_href_link('product_reviews.php', tep_get_all_get_params(array('action')))); With this mod, you will be notified of any successful review submission by email.
spacegremlin Posted January 31, 2020 Author Posted January 31, 2020 thanks, great gonna try that. thank you so much it works.
spacegremlin Posted January 31, 2020 Author Posted January 31, 2020 is het ook mogelijk om deze daar in te krijgen, dat die ook deze mail ontvangen SEND_EXTRA_ORDER_EMAILS_TO,
♥ecartz Posted February 1, 2020 Posted February 1, 2020 2 hours ago, spacegremlin said: it is also possible to get it there, that they also receive this mail SEND_EXTRA_ORDER_EMAILS_TO, Just add another mail line: tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'A Review Has Been Submitted' , 'A review has been submitted by ' . $customer_first_name . ' on ' . $product_info['products_name'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); if ('' != SEND_EXTRA_ORDER_EMAILS_TO) { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, 'A Review Has Been Submitted' , 'A review has been submitted by ' . $customer_first_name . ' on ' . $product_info['products_name'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Look at checkout_process.php for an example. Always back up before making changes.
spacegremlin Posted February 1, 2020 Author Posted February 1, 2020 yes i tried this, but i see you lines are different programmed, so im gonna try this one, because the first line also works good. thxs.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.