Changes to be done in the module’s product.php is shown in the following images

Send mail when review is done in opencart

 

Likewise we have to change in the product.tpl, type the code for the form as per your need

 

Now to the javascript part in the product.tpl which pass the data to the model and return whether the review is successfully added or not.

 

Hope you will get it because writing post and long stories i feel bored just post things what i have done and show you the logic i used in opencart to send mail to the specified mail.

I have not focused in the languages so sory for that as well will update this post when i will get the time 🙂 cheers

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here