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.
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
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