[Skip to main content](#vessel-content)

#   Shping Zones Restrictions Only Works in State and Country

##

- **[uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")**
- [![uzielweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52285-uzielweb "View uzielweb's Profile") Topic Author
- [ Offline](/forum/user/52285-uzielweb)

Less More

- Posts: 2
- Thank you received: 0
-
-

9 years 2 months ago [\#277089](#277089) by [uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")  *[Shping Zones Restrictions Only Works in State and Country](/forum/2-general-talk-about-hikashop/891717-shping-zones-restrictions-only-works-in-state-and-country#277089 "In my country we have this hierachy: Country - Brasil State - Rio Grande do Sul City - Porto Alegre Neighborhood - Aberta dos Morros  I need individual prices for each neighborhood in the Porto Alegre City.  I setup at this way: Shipping Zone == Aberta dos Morros; Zone Method = For Aberta dos Morros ; Price 20,00 ; Restrictions Zone 4574 Aberta dos Morros  I have added custom field with this zone To &quot;Bairro&quot; Field in Form, too  But My Shipping Method do not Appears in frontend .... only COUNTRIES and STATES are accepted to zone resctrictions..... All others zones are not accepted. Please, help me")* was created by *[uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")*

In my country we have this hierachy:
Country - Brasil
State - Rio Grande do Sul
City - Porto Alegre
Neighborhood - Aberta dos Morros

I need individual prices for each neighborhood in the Porto Alegre City.

I setup at this way:
Shipping Zone == Aberta dos Morros;
Zone Method = For Aberta dos Morros ; Price 20,00 ; Restrictions Zone 4574 Aberta dos Morros

I have added custom field with this zone To "Bairro" Field in Form, too

But My Shipping Method do not Appears in frontend
.... only COUNTRIES and STATES are accepted to zone resctrictions.....
All others zones are not accepted.
Please, help me

- [ ![beifiori.com.br&#95;2017-08-28&#95;19-40-26.png](/forum/attachment/40011) ](/forum/attachment/40011 "...8&#95;19-40-26.png") [ ](/forum/attachment/40011?download=1 "...8&#95;19-40-26.png")
- [ ![beifiori.com.br&#95;2017-08-28&#95;19-44-19.png](/forum/attachment/40012) ](/forum/attachment/40012 "...8&#95;19-44-19.png") [ ](/forum/attachment/40012?download=1 "...8&#95;19-44-19.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTcxNy1zaHBpbmctem9uZXMtcmVzdHJpY3Rpb25zLW9ubHktd29ya3MtaW4tc3RhdGUtYW5kLWNvdW50cnk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

9 years 2 months ago [\#277092](#277092) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shping Zones Restrictions Only Works in State and Country](/forum/2-general-talk-about-hikashop/891717-shping-zones-restrictions-only-works-in-state-and-country#277092 "In my country we have this hierachy: Country - Brasil State - Rio Grande do Sul City - Porto Alegre Neighborhood - Aberta dos Morros  I need individual prices for each neighborhood in the Porto Alegre City.  I setup at this way: Shipping Zone == Aberta dos Morros; Zone Method = For Aberta dos Morros ; Price 20,00 ; Restrictions Zone 4574 Aberta dos Morros  I have added custom field with this zone To &quot;Bairro&quot; Field in Form, too  But My Shipping Method do not Appears in frontend .... only COUNTRIES and STATES are accepted to zone resctrictions..... All others zones are not accepted. Please, help me")*

Hi,

That's right, only the address_state and the address_country custom fields are used by the system for the zone restriction system of shipping plugins.
That's not a bug but how the system was designed.
You can also use the post cost restrictions if your Neighborhoods can be divided by post code.
Besides that, if you need something more complex with extra custom fields being supported, I'm afraid you'll have to create your own custom shipping plugin.
We have documentation for developer to be able to do that here:
[ www.hikashop.com/support/documentation/6...r-documentation.html](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html)
And they can also look at the existing shipping plugins for help.

The following user(s) said Thank You: [uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTcxNy1zaHBpbmctem9uZXMtcmVzdHJpY3Rpb25zLW9ubHktd29ya3MtaW4tc3RhdGUtYW5kLWNvdW50cnk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")**
- [![uzielweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52285-uzielweb "View uzielweb's Profile") Topic Author
- [ Offline](/forum/user/52285-uzielweb)

Less More

- Posts: 2
- Thank you received: 0
-
-

9 years 2 months ago [\#277140](#277140) by [uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")  Replied by *[uzielweb](/forum/user/52285-uzielweb "View uzielweb's Profile")* on topic *[Shping Zones Restrictions Only Works in State and Country](/forum/2-general-talk-about-hikashop/891717-shping-zones-restrictions-only-works-in-state-and-country#277140 "In my country we have this hierachy: Country - Brasil State - Rio Grande do Sul City - Porto Alegre Neighborhood - Aberta dos Morros  I need individual prices for each neighborhood in the Porto Alegre City.  I setup at this way: Shipping Zone == Aberta dos Morros; Zone Method = For Aberta dos Morros ; Price 20,00 ; Restrictions Zone 4574 Aberta dos Morros  I have added custom field with this zone To &quot;Bairro&quot; Field in Form, too  But My Shipping Method do not Appears in frontend .... only COUNTRIES and STATES are accepted to zone resctrictions..... All others zones are not accepted. Please, help me")*

I willl try to use an IF "zone == zone_of_the_user" in the template to bypass this statement via "template override".
This can work, I think.

I will get the variables via "var_dump" and, then, apply the "IF statements".

Suburb prices zones or Neighborhood prices are a convenient need in this actual days. I wish some like this in the next versions.
Think about. Many business works in big cities with many distances and custom manual shipping (pizza and flowers, for example).
Restrict by zones is vital for this business, not only ZIP Code.

I will try to build a custom plugin, too.
Thank You for fast response. I will inform my solution in the next post.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTcxNy1zaHBpbmctem9uZXMtcmVzdHJpY3Rpb25zLW9ubHktd29ya3MtaW4tc3RhdGUtYW5kLWNvdW50cnk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

9 years 2 months ago [\#277141](#277141) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shping Zones Restrictions Only Works in State and Country](/forum/2-general-talk-about-hikashop/891717-shping-zones-restrictions-only-works-in-state-and-country#277141 "In my country we have this hierachy: Country - Brasil State - Rio Grande do Sul City - Porto Alegre Neighborhood - Aberta dos Morros  I need individual prices for each neighborhood in the Porto Alegre City.  I setup at this way: Shipping Zone == Aberta dos Morros; Zone Method = For Aberta dos Morros ; Price 20,00 ; Restrictions Zone 4574 Aberta dos Morros  I have added custom field with this zone To &quot;Bairro&quot; Field in Form, too  But My Shipping Method do not Appears in frontend .... only COUNTRIES and STATES are accepted to zone resctrictions..... All others zones are not accepted. Please, help me")*

Hi,

View overrides won't cut it I'm afraid because the price used for the creation of the order and the payment gateway won't take into account your view overrides.
A custom plugin will be necessary to be able to do that properly.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTcxNy1zaHBpbmctem9uZXMtcmVzdHJpY3Rpb25zLW9ubHktd29ya3MtaW4tc3RhdGUtYW5kLWNvdW50cnk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
