How to calculate shipping fees based on delivery zones?

You can use the Fee function to calculate the shipping fee based on delivery zone/area selected by the user.

You can use the Fee function to calculate the shipping fee based on delivery zone/area selected by the user.

How to calculate the shipping fee?

Add a multiple choice or dropdown question to show the different delivery zones and a short answer question to display the delivery fee. Once the questions have been added in Google Forms, the formula for calculating the delivery fee can added in the Neartail. Please follow the instructions below.

Step 1: Add a multiple choice question with the delivery zones as answer choices in Google Forms.
Step 2: Add a short answer question with the number response validation for delivery fee.
Step 3: Click on the Addon icon > Select Neartail > Select Customize this form > Click on the Proceed button.
In the Neartail customize interface, click on the ⚙️icon next to the short answer question for delivery fee.
Step 4: Field settings screen will be displayed. Select the "Answer" tab and write the formula to calculate the delivery fee based on the zone selected by the user.

Use FEE function to calculate the shipping costs

FEE function assigns fees for each answer choices in a multiple choice, dropdown or checkbox question. The syntax for the fee function is:

FEE(currency, question, value1, [value2, …])
where

  • currency - The currency symbol to be displayed
  • question - The entry#id of the question. Type @ and select the required question from the list.
  • value1, value2 … valuen - Fees for the first, second … nth answer choice

Let's say there are three delivery zones -- Zone 1, Zone 2, Zone 3 -- and the fees for the three delivery zones are $10, $15 and $12 respectively. The FEE formula for calculating the delivery fees based on the zone selected by the user is: FEE("$",Choose the delivery area, 10, 15, 12)

Step 5: Write the formula in the Calculate option as shown below.

How to add the shipping costs and order amount?

Step 1: Add a short answer question for total amount to be paid.
Step 2: Click on the Addon icon > Select Neartail > Select Customize this form > Click on the Proceed button. In the Neartail customize interface, click on the ⚙️icon next to the short answer question for total amount to be paid.
Step 3: Field settings screen will be displayed. Select the "Answer" tab and write the formula in the Calculate option. Use the + arithmetic operator to add order amount and delivery fee as shown below.