This guide states the things to note like Admin Access, Custom Code, Notes, Paid API and others.

Admin Rights

Most of the template content is directly pulled from the database. Please do not delete an entire Data Thing unless you are sure of what you are doing. However, feel free to delete any template content you prefer.
For security purposes, Eaty has limited rights for potential customers. This means you will not be able to use the admin features at its fullest until you purchase the template and enable admin rights.
The restricted elements on the admin page for clicking are:
  • Button "Delete"
  • Button "rejectRestaurant"
  • Button "restaurantDecline"
  • Button "restaurantApprove"
  • Group "reject"
  • Button "declineCourierRequest"
  • Button "approveCourierRequest"
  • Button "Update"
  • Button "Update courier fee"
  • Button "DeleteUser"
  • Button "Delete reviewariables"
If you have already purchased the template, you can simply delete the following Conditional of these elements in order to gain full access to dashboard features.
Button "Delete"
Image without caption
Button "rejectRestaurant"
Image without caption
Button "restaurantDecline"
Image without caption
Button "restaurantApprove"
Image without caption
Group "reject"
Image without caption
Button "declineCourierRequest"
Image without caption
Button "approveCourierRequest"
Image without caption
Button "Update"
Image without caption
Button "Update courier fee"
Image without caption
Button "DeleteUser"
Image without caption
Button "Delete review"
Image without caption
Also, in order to be able to access the admin page, it is required to grant the admin rights.
1. Go to Data tab and select any existing user (or create a new one) you'd like to set as Admin of your platform.
Image without caption
2. Then set the isAdmin field to yes.
Image without caption
Note: Remember to hit the SAVE button.
Congrats! You have successfully granted the admin rights. Now, you can test the admin page and use its features to the fullest.
Also, delete the warning group that says to check template's documentation:
1. Locate the "Group wrapper":
Image without caption
2. And delete it:
Image without caption

Plugins

Zeroqode Air Native plugin

Note: This template has Zeroqode Air Native plugin installed. With the plugin you will be able to integrate all the native features into your Bubble app: Touch ID & Face ID, Push Notifications, Camera & Gallery Access, and many others. To be able to use all the native features, the plugin needs to be purchased (one-time payment or a monthly subscription) via Bubble’s marketplace. 
The Air Native plugin allows you to implement the native features within your Bubble editor, but in order to convert the Bubble app into native Android and iOS, it is required to use the Air Native service.
If you do not want to use it, simply remove the plugin from the template.

Zeroqode Air Bundle plugin

Note: This template has Zeroqode Air Bundle plugin installed. It contains six most commonly used and complex plugins that will easily extend your application. To be able to use it, the plugin needs to be purchased (one-time payment or a monthly subscription) via Bubble’s marketplace. 
If you do not want to use it, simply remove the plugin from the template.

Custom Code

On certain pages there are some HTML elements used for some solutions that are not available by default. You can find these codes on the following pages:
admin page: HTML dropdown - HTML dropdown - used to set a custom style to the dropdown elements (for adding some padding and make the dropdowns prettier on Safari).
Image without caption
chat page: HTML Styles used to change the appearance of the scrollbar and to make some elements extend to the height of the display.
Image without caption
courier page:
  • HTML Route Map - used to display the delivery route for a specific order. This one is a bit more complex but the only thing you will need to change is the Google API key used to get the route (it is stored in the database).
Image without caption
  • HTML noScrolBar - used to set a custom style to the scrollbar.
Image without caption
restaurant page: HTML dropdown - used to set a custom style to the dropdown elements (for adding some padding and make the dropdowns prettier on Safari.)
Image without caption
Feel free to customise the styles, but please note that changing the code may break the described functionality. Strong CSS/Javascript and Bubble skills recommended. For all things Bubble check: https://manual.bubble.io. For CSS/Javascript check: https://www.w3schools.com.

Changing radius

Radius represents the radius of activity for couriers and customers. If you want to change the radius of your customer/couriers, go to Data / App data /All Variables & settings. When you get there, edit the entry that you have on your right side of the screen. Over there you will have two fields you can change to match the radius you're looking for:
  • CourierRadius - the radius of activity of the courier, he can't take orders from restaurants outside this radius
  • CustomerRadius - the radius of activity of the customer, the restaurants outside this radius will not be visible

Adding new tags

To add a new tag , follow these steps:
  • go to the Data tab
  • go to the App Data tab
  • find the All Tags database
  • click on the "New entry" button
  • write down the name of the tag
  • click on "Create" button
  • click on "Got it" button
After that you will find a new tag in the "All Tags" database

Embedded Notes in Bubble Editor

This template comes with explicit Notes for Database fields, Option sets and their fields, and Privacy rules, which will guide you through the modification process.
In order to preview a Note of any data type or field, click on the 💬 icon.
Image without caption

Helpful?