# Shipping Price problem

Hello everyone! First of all thank you very much for your help.

I am building a shipping app for a restaurant, and I am faced with the problem that the restaurant only sends to some particular postal codes

And depending on the zip code it has a shipping price or another.

I can’t find conditionals or tables where I could tell if the shipping code is the following: xxx the shipping price must be: xxx

Is there a way to do this?

Thanks a lot.

Hello Roberto, how are you?
If I understand his difficulty, try the following:

Create two collections:

• Shipping Collection
• Freight Value Collection

Then you can tie the collections as follows.
Freight Collection> has multiple Freight Value Collections

Then you can create the shipping field.
Then you create a list that will show only the amount tied to the freight.
Like?:
Put a filter in the list: “show shipping value if” shipping field "is equal to shipping value.

I don’t know if I was able to help you, or hinder you more. = /
I hope it works.

Sorry for my English, I’m from Brazil.

1 Like

Hi Roberto - welcome to the Adalo forum.

In your particular use case, it seems like you want a restaurant to decide whether to charge a delivery fee based on the zip code, or how much this delivery fee should be, is this correct?

Can you provide me with the following information:

• How many zip code variations you’re dealing with (roughly)
• How many different price variations you’re dealing with (e.g. Min \$1, \$2, Max \$3 = 3 variations)
• How the zip codes & the prices interact with each other

This will give me an idea of how we should approach this problem

1 Like

The reason I ask is because here’s one option you could use (simple conditional actions). You can find common elements of different post codes & use different conditions to relate them to delivery fees (Click on the image to view GIF)

Hello Indigrodigital, thanks for your answer, I have approximately 50 postal codes in Barcelona (08026, 08041 for example), which are divided into several variables

20 of them, those that are less than 5km from the restaurant:

The shipping is € 3 and from € 30 order is free.

The other 30 zip codes more than 5km away:

Only shipments are made from € 40 and shipping costs € 5

Thank you very much for your help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.