PS: This has been done for demo purpose only, File may not be fully secured please verify it before executing on your server.
All you have to do is:
- Upload this file on a subdomain
- change server details in the file
- add cron job: wget -q -O- http://YOUR_SUBDOMAIN/rating_update.php --no-check-certificate
- change translation "Vehicle Text " from Vehicle: to Rating:
This will automatically update store rating and delivery guy rating in user applications as per rating in previous orders.
PFA image for more details