Introduction

An eRestro(online food ordering system) will make it possible for you to sell your foods digitally without the involvement of any external portals or the need to pay commission. eRestro provides the possibility of placing orders on your appliation (and you don’t need any technical skills or help from IT specialists), which will enable your customers to place orders for delivery.

What is eRestro?

The eRestro system will make it possible to purchase meals through Application. This is an additional sales channel that will increase the number of orders carried out at your eatery. It is great way to attract customers near you.

An eRestro for you. Open up to new opportunities and win clients and Restaurants online - on this system and in applications.

In this system, New restaurants can register on system and Super admin can accept or rejct according to details. Super Admin will get commission per Restaurant. Super admin can add delivery boy for order delivery and set multiple commission methods.

System FLow

Order Flow

  1. Customer will place the order based on location they want.
  2. Customer can order form one restaurant at a time.
  3. After placing the order, partner and admin will get notify by email.
  4. Restaurant will confirm the order based on availablility.
  5. After confirmation of order, system will notify the customer by push notification about order. And also rider will get notify that new order has been arrived if you are in that area then you can get the order from restaurant. So, rider will check his pending order list which are confirmed by restaurant and accept or decline the order according to his location.
  6. In rider app map will show the location to restaurant to pick up an order.
  7. Then partner will set the order status to "out_for_delivery" after giving the order to rider. .
  8. Rider will show the direction to customer location so rider can get the order to it destination.
  9. After changing the order status to "out_for_delivery" customer will see the live tracking of his order.
  10. Rider will reach the destination and deliver the order. rider will set the order status to "delivered".
  11. Rider will get the commission after deliver the order.
  12. Note: Admin have to set the commission method for the rider. we have two types of commission methods for riders you can check on riders menu at admin panel.

  13. Also admin need to set up the crone job for partner payment.
  14. If admin did not want to set crone job then admin can give commission to partner manually.
  15. Note: System have button named "Settle Partner Payment" on Partner page at admin panel. just Click on that all the pending payments of partners will settle down. Click here, for more details   Here

Order assignent to rider in multiple ways / Dispatch Flow

  1. Admin can assign order to rider.
  2. If admin give permission to partner then partner will also can assign the rider to the order.
  3. Note: In partner menu admin can edit the permissions according to his choise.

  4. Rider will accpet the order according to his location

Revenue Model

In this section we are going to understand how system calculate the admin commission, partner earning and rider earning.

food price = price + tax_amount order total = subtotal + delivery_charge - promo_code_discount
  1. Admin Revenue: Commission that he will take from partner per order.
  2. Partner Revenue: After taking his commission by admin, remaining payment will transferred into the wallet of partner. then partner need to withdraw.
  3. Riders Commission:
  4. Rider Commission System
    1. Percentage on Delivery Charges
      • Rider will get commission on delivery charge of orders when he/she will delvier the order.
      • Payment will transfer in wallet of rider
    2. Fixed Commission per Order
      • Rider will get fix amount of commission per order when he/she delvier the order.
      • Payment will transfer in wallet of rider

Installation

Self manages servers are out of the support. that you have to manage by yourself.

  1. Login into your cPanel.
  2. Go to database in your cPanel
  3. Enter database name and Create a new database.
  4. Create Database user.
  5. Assign Database to the user.
  6. Open File manager now.
  7. Go to public_html or public_html/yourDomain.in folder in the file manager, whichever folder your domain points to.
  8. Upload the downloaded zip in public_html or public_html/yourDomain.in folder.
  9. unzip or extract the Code vX.X - upload this on server.zip file that you have just uploaded.
  10. verify that all these files are in public_html or public_html/yourDomain.in folder.
  11. visit http://yourDomain.in/install

After following the above steps you have successfully created a Database, User for the Database, and uploaded Ready to Install files. Kindly gather that database information and fill in the form as suggested.

  1. Database Hostname : Enter the hostname.
  2. Database Username : Enter the username that have access to the database.
  3. Database Password : Enter the password.
  4. Database Name : Enter the name of database.
  5. Admin Mobile : Enter the mobile number (The mobile number will be used further for user authentication)
  6. Admin Password : Enter the password number(The password will be used further for user authentication)

Now click Install. Thats it! You are ready to run your App : http://yourDomain.in/

Note

In order to VPS and NGINX Based System, you have to setup the code using commands and .htaccess file based on your server.

Common issues (Server Specific)

Change Admin Panel Theme?

  1. Open following by this location: assets\admin\custom\custom.css
  2. Here you need to replace this hash code only according to your requirements.

404 Code Found?

  1. Your .htaccess file is missing at your server.
  2. To resolve that open zip file which you have downloaded from codecanyon.
  3. Unzip this file Code vX.X - upload this to server
  4. Open that folder and you will get .htaccess file
  5. Upload that file on main folder.

Not Settling Payments to Partners while deliver the order?

  1. Check that you have set the Cron job on your server.
  2. Note: if you are not aware of cron job then you can ask your server for help or documentation.
  3. For more details of commission method you will find guidance on bottom of System -> System Settings page.
  4. This cron job is automatic system for payment Settling. If you want to do it manually then we have that option too.
  5. Go to Partners -> Partners Manu
  6. Click on Settle Partner Payment Button for settlement of partner payments.See below image :

Added product but not showing?

  1. Check that if partner has added then admin need to activate that product.
  2. Check your only_full_group_by_mode at your server. it has to be disable.
  3. If you are having this only_full_group_by_mode issue then this is your server side issue. please ask your server support to disable this only_full_group_by_mode at PHPMyAdmin(mySQL). i hope you will understand this simple thing and discuss this with server support.
  4. Check product is active or de-active. It ahs to be active for display.

Not installing?

  1. Set all the fields do not set blank in any field.
  2. Use this same mobile, password and email for the installation. You can change password from profile section.
  3. And if you want to change mobile then you need to run the query on your MySQL(PhpMyAdmin).
  4. Steps to run this query:
    1. Open PhpMyAdmin on your server. select your databse and table.
    2. Open Users table.
    3. Click on SQL tab
    4. Copy this following query and paste in that sql tab page UPDATE `users` SET `mobile` = 'YOUR_MOBILE_NUMBER' WHERE `users`.`id` = 1;
    5. And Click on GO Button to run that query. See the image below:

SMTP Email notification not working?

  1. You have to setup the email settings on panel.You can see below image.
  2. You can test your SMTP configuration here

Push notification not working?

  1. Setup FCM Server Key
  2. If still its not working then logout the app, then login the app and check the notification.

Invalid Hash Error?

  1. Ask your server support to add HTTP_AUTHENTICATION. this can be done from .htaccess file.

How to download prchasecode ?

  1. Please refer to the provided link for instructions on how to download the purchase code from envato here

Configure Google API KEY

    Note

    To use Google Map functionality at admin panel you need to create 2 credentials. One for get current location on patner page and city page. Another one for finding distance between restaurant and customer for calculating the delivery charge.

    You need to enable the billing to make work of map on admin panel. If its not dispalying the map thn you had miss some step on google console so please do proper setup for key.

    Note

    If map is not dispalying then it is your responsibiliy to do proper things.


    Installation and map setup is out of the scope.Please note it down.

  1. First step is to go to google developer console and follow this offical documentation of google.
  2. While following this Offical Documentation there you need to enable two APIs You need to enable

    1) Places, 2)distanceMatrix 3)Javascript Map API

    these APIs
  3. Offical Documentation for creating API key

  4. Usage of Google Map API Key:
    • While adding or registering the partner or restaurant we need to add location from map.
    • Setting delivarble area in city.
    • Calculating delivery charge on the basis of distance between customer and restaurant. So, the distance will calculate by using the Google DistanceMatrix API.
    • Adding address by selecting the map pin from customer application.
  5. Now, we need to restrict the APIs key for security purpose.For that you need to folow this official documentation from google Restrict API KEY

  6. Note

    After creating the GOOGLE API KEY for map and other work.Please do Restriction on that APi key by following the documentation provided by google. Restrict API KEY

    • Visit this documentation for enable or disable the APIs Here
    • Visit this documentation for API Restricting for security. Here
    • Then, Set created API KEY on System -> System Settings -> Google Map API KEY

Configure eRestro

Note

In order to Configure eRestro you must have an Admin Account.

Use the given guide to configure eRestro.

setup 3 things at admin panel to Configure the system.

  1. System menu has many settings that you need to setup item-5-1   System Settings
  2. Delivarble area management in location menu   Delivarable City Area

Login as admin by

  1. Login the system with default credentials

    Mobile : 9876543210

    Password : 12345678

  2. Great! You have logged in as Super Admin.
  3. Open System menu.

System Settings

  1. General Settings
    • App Name : Enter your System name.
    • Support Number : Enter your System Support Number for any query.
    • Support Email : Enter your Support Email.On this email you will receive all the notifications.
    • System Currency : Set your System Currency.
    • System Timezone : Set your System Timezone according to your country.
    • Google Map API KEY :   Here
    • Email Notification : Email notification on system email, restaurant email and customer email will enable or disable by this settings.
    • Logo : Set your System Logo.
    • Favicon : Set your System Favicon.
  2. Application Version Settings
  3. This settign is use for manage system version on application and admin panel side.

  4. Cart Settings
    • Minimum Cart Amount : User have to add item in cart atleast minimum amount.
    • Maximum Items Allowed In Cart : Maximum number of items user can add items in cart.
    • Low stock limit : Set number of stock limit that you can see number of product are out of stock when perticular product will reach that limit.You can see that Low stock product count on Admin dashboard.
  5. Delivery Settings
  6. App & System Settings
  7. Refer & Earn Settings
    • Refer & Earn Status: You can enable or disable the refer & earn system
    • Minimum Refer & Earn Order Amount: minimum order amount to apply this system
    • Refer & Earn Method: you can select method percentage(%) or flat amount for bonus
    • Refer & Earn Bonus: as you select method you can set amount or number as you want.
    • Maximum Refer & Earn Amount: You can also set maximum amount for bonus if bonus amount will increase this maximum amount then user will get this maximum amount as bonus.
    • Number of times Bonus to be given to the customer: You can also set number of time user can get bonus as per he/she place an order.
    • Note: Customer will get bonus in his wallet as his order will delviered successfully.

System Health

Here you can check which module is enable or disabled on your system and server. You can see the status or health of system

Email Settings

Configure Email settings. Just go to Settings -> Email(SMTP) settings.

You can check your SMTP Email settings at this URL

  1. Type the host name.
  2. Type SMTP user name.
  3. Type SMTP Password.
  4. Enter SMTP Port no.
  5. Select SMTP Encryption Type
  6. Select Mail type (HTML,TEXT)

Notification Settings

Configure Notification Settings from firebase console for application push notification. Just go to System -> Notification Settings.

Contact us

Configure Contact us settings. Just go to System -> Contact us.

  1. Enter all Contact us under Contact us section.

About us

Configure About us settings. Just go to System -> About us.

  1. Enter all About us under About us section.

Privacy Policy And Terms & Conditions

Configure Privacy Policy And Terms & Conditions settings for customer application. Just go to System -> Privacy Policy.

  1. Enter all Privacy Policy And Terms & Conditions details accordingly.

Rider Policies And Terms & Conditions

Configure Privacy Policy And Terms & Conditions. Just go to System -> Rider Policies.

  1. Enter all Privacy Policy And Terms & Conditions under Privacy Policy And Terms & Conditions section accordingly.

Partner Policies And Terms & Conditions

Configure Privacy Policy And Terms & Conditions. Just go to System -> Partner Policies.

  1. Enter all Privacy Policy And Terms & Conditions under Privacy Policy And Terms & Conditions section accordingly.

Delivarable City Area

Configure Delivarable City Area at Location -> Deliverable Area.

  1. Before configure the city area you have to add city in which you are going to delivery the online food.As you see following image there you can add city Location -> City
  2. For more details about this you can see City Tab explanation.   Here
  3. After adding the city go to Location -> Deliverable Area
  4. Here, You need to select the city in which you want to set the delivarable area.You can see following image.
  5. Here note the point that you can set city area approximately.
  6. If you have already set area for perticular city then it will show the drawing or shape that you have made for that city.
  7. You can change the area by drawing the new shape.
  8. Also use some action button we have given above map. See the following image.
  9. We have 3 buttons
    • Remove Newly Added Line : You can remove new Drawed shape.
    • Clear Map : You can clear all the shape you have drawed.
    • Restore Old Map : You can Restore the old saved shape of city which you have saved in database.

Payment Gateway Settings.

Verity of options available for paymemts, just follow the below steps to configure the payment gateways for eRestro.

Stripe

  1. Go to https://dashboard.stripe.com/login and sign in with your Stripe account
  2. Paste all Stripe Credentials here. (system -> Payment Methods)

Razorpay

  1. Go to https://dashboard.razorpay.com/ and sign in with your Razorpay account
  2. Paste all Razorpay Credentials here. (system -> Payment Methods)

Paystack

  1. Go to https://dashboard.paystack.com/ and sign in with your Paystack account
  2. Paste all Paystack Credentials here. (system -> Payment Methods)

Paypal

  1. Go to https://www.paypal.com/in/business and sign in with your Paypal account
  2. Paste all Paypal Credentials here. (system -> Payment Methods)

Flutterwave

  1. Go to https://flutterwave.com/us/ and sign in with your Flutterwave account
  2. Paste all Flutterwave Credentials here. (system -> Payment Methods)

Paytm

  1. Go to https://business.paytm.com/ and sign in with your Paytm account
  2. Paste all Paytm Credentials here. (system -> Payment Methods)

COD

  1. Enable or Disable the Cash On Delivery Payment Method. (system -> Payment Methods)

Tabs

Informations about all tabs in eRestro

Dashboard

  1. Dashboard of the app to view app insights.

Orders

Order system of eRestro is very simple and easy to manage.

  1. Customer will place an order as Pending
  2. Customer can see their city's restaurant and can order Restaurant delivrable area only.
  3. Restanurant will Confirm the order
  4. Rider will accept or reject the order according to their area/location.
  5. Customer can cancle the order if Perticular item or product will available for cancellation.
  6. Note: One Rider can delviery only one order at a time.

Categories

Admin can create/edit/delete/hide/show the categories.

Restanurant can see all categories. So, restaurant can add foods in that categories.

Tags

This tags will used in product tags and restaurant tags also. Admin and Restaurant can create or edit the tags.

Restanurant will be able to that tags which are created by him only because restaurant can manage their tags.

Restaurants

  1. You can manually add Restaurants under Add Restaurants section.
    1. Admin can add restaurants.And Also Restanurant can register the system and apply for partnership. Admin can Approve/Reject the request.
    2. Restaurant Payment System
      • Order payments will manage by admin. when order will deliver then restaurant will get paid by admin manually or by server cron job file settings
      • While admin add restaurant and restaurant will send Request to admin for partnership then admin will update the commission for restaurant.
      • Note: if you are not aware of cron job then you can ask your server for help or documentation.
      • For more details of commission method you will find guidance on bottom of System -> System Settings page.

Products

  1. See all the Products/Foods in this section.
  2. Before adding the product you need to create attributes for that.
  3. Attributes are just property of food for e.g. Pizza will have attributes like -> Size(Regular,Midium,Large,Giant). Here, Size is Attribute. and Regular,Midium,Large,Giant are Attribute values
  4. Here You can manage attributes and it's values.
  5. Admin can add/edit/delete/active/de-active the products/foods.
  6. Admin can edit or add the attributes. This will be used in products.

Media

  1. See all Media under Media Sections.
  2. Here you need to uplaod all the media which you will use in this system.
  3. you can add food images and restaurant gallary images here so when ou add product then you need to just select the Media.
  4. Here you can copy the image path so in future if you need then directly you can get access.

Sliders

  1. See all Sliders under Slider Sections.
  2. Here you can add/edit/delete sliders for home page on customer application.

Offers

  1. See all Offers under Offer Sections.
  2. Here you can add/edit/delete offer images.

Support Tickets

  1. See all Customer Queries under Support Tickets Sections.
  2. Admin need to create ticket type. So user can select the subject of issue.
  3. Customer need to create ticket for this if customer have some query and admin will answer their questions.
  4. Customer and admin can communicate through the system.

Promo Code

  1. See all Promo Code under Promo Code Sections.
  2. You need to create promo code and active promo codes will display at appication.

Featured Sections

  1. See all Featured Sections under Featured Sections Sections.
  2. Here you can set feature section for home page of customer application home page.
  3. Note: To show perfect result of feature section then you need to add more products/foods and orders to display products.

Customer

  1. See all Customer under Customer Sections.
  2. Here you will see the list of all customer of system.
  3. You can hide or show perticular customer.
  4. You can see transactions of customer.
  5. You can see the addresses of customers

Riders

  1. See all Riders under Riders Sections.
  2. Admin can add riders from admin panel.
  3. Riders will see the pending list of orders on rider panel and rider application.
  4. Rider can accept the order if he/she in that perticular area of customer or restaurant
  5. Admin will set the Serviceable City for rider.
  6. Rider Commission System
    1. Percentage on Delivery Charges
      • Rider will get commission on delivery charge of orders when he/she will delvier the order.
      • Payment will transfer in wallet of rider
    2. Fixed Commission per Order
      • Rider will get fix amount of commission per order when he/she delvier the order.
      • Payment will transfer in wallet of rider

Payment Request

  1. See all Payment Requests under Payment Request Sections.
  2. Here you will see the wallet withdrawal request from restaurants and riders.
  3. Admin need to accept/cancle the request.

Send Notification

  1. Here you can send push notifcation to customer application.
  2. All customers will get this notifications.

Location

  1. See all Cities under Location->City Manu.
  2. Add City with all the fields
    • Time to travel 1 (km) : Enter time to travel 1 km in city by rider. (Here we are caculating the approx deliverable distance from your customer and restaurant.)
    • Maximum Delivarable Distance :Enter maximum distance in kilometer(KM) you are delivering the orders. distance will calculate between restaurant and user
    • Delivery Charge Methods :
      1. Fixed Delivery Charges : In this method Fix delvery charge will apply to all orders
      2. Per KM Delivery Charges : In this method, On the basis of distance from customer to restaurant. FOr e.g. if distance is 10KM and charge is 5 Ruppies per Kilometer then final delivery charge will be = 10*5 = 50 Ruppies(Currency you will set in system)
      3. Range Wise Delivery Charges: In this method, you need to set distance range while adding the city. for e.g. 5-10 Kilometer and set price for that distance.

Deliverable Area

  1. See all Cities points(coordinates) under Location->Deliverable Area Manu.
  2. Add City points by drwing polygon or circle. that will the area in which you are delivering the orders.
    • Select the city which ou want to set points
    • Draw the area you want to allow deliver.
    • You will get the selected area if you have already selected deliverable rea for that perticular city.
    • If you want to change it then you can override the points and draw a new polygon or circle.

FAQ

  1. See all FAQ under FAQ Sections.

System Users

  1. See all System Users under System Users Sections.
  2. Here Super admin can create other roles on system like editer,member etc.
  3. You can select read,update,delete and create operations.

Support

If you are facing any technical issues or challanges while using our system. You can contact us on skype. We are available for technical support from 9.00AM to 6.00PM Indian Standard Time Monday to Friday .

For Web or backend related issues contact here,

Drop a Message on Skype or Search this ID on Skype : Seema Shah

And for mobile application related issues contact here,

Drop a Message on Skype or Search this ID on Skype : Hency Pithadiya

Auto Update

How to auto update your admin panel or web version to latest version?

Note

If you are upgrading your from very old version then please update the system in sequence one after the another. Don't skip any version in between.

  1. First copy one file from fresh Install code named "Code v1.0 - upload this to server "
  2. Goto this folder after extracting Code v1.0 - upload this to server Code v1.0/application/controllers/admin/Updater.php
  3. copy this file and paste it at same location on your current code. On this location: Code v1.0/application/controllers/admin/Updater.php
  4. First copy this file then you can uplaod zip file on admin pnel or system.
  5. Find update from vX.X to vX.X.X.zip file from downloded PHP source code.You will findfile on this location: eRestro/eRestro - PHP - v1.0/Updates/your_required_version_update_file.zip
  6. Visit https://Your_Domain/admin/updater
  7. You will see simple instructions, current version to latest version information and "Update The System" button.
  8. Upload update.zip file.
  9. Click on that Update Button.
  10. That's all. You have successfully updated your system from older version to newer one.