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

#   Shipping Groups / shipping exceptions

##

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

Less More

- Posts: 50
- Thank you received: 4
-

5 years 8 months ago [\#329823](#329823) by [infinityb](/forum/user/60598-infinityb "View infinityb's Profile")  *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#329823 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")* was created by *[infinityb](/forum/user/60598-infinityb "View infinityb's Profile")*

I've got ~150 shipping rules set up to define my UK shipping by postcode.
The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately.
What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group.
So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)

- [ ![Screenshot&#95;2021-02-20INFINITYDEVSITE-Administration-Shippingmethods.png](/forum/attachment/51997) ](/forum/attachment/51997 "...ingmethods.png") [ ](/forum/attachment/51997?download=1 "...ingmethods.png")
- [ ![Screenshot&#95;2021-02-20INFINITYDEVSITE-Administration-Shippingmethods1.png](/forum/attachment/51998) ](/forum/attachment/51998 "...ngmethods1.png") [ ](/forum/attachment/51998?download=1 "...ngmethods1.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 8 months ago -  5 years 8 months ago [\#329872](#329872) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#329872 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")*

Hello,

From what you explained us, we have maybe an idea to suggest follow us step by step :
**1.** From Main HikaShop **Configuration**, go to **System** dropdown =&gt; **Zones**
**2.** Create **2** new custom zone :
[ ![alt](https://i.postimg.cc/qRGyCTXS/cust-zone.png) ](https://i.postimg.cc/qRGyCTXS/cust-zone.png "alt")

**3.** Define your zone type as "**Shipping zones**"
**4.** Fill in the **Sub-zones** part with the required zone

Later you will just have to restrict your shipping method with this 2 new custom zone.
Hope this will fit your needs.

Regards

Last edit: 5 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 50
- Thank you received: 4
-

5 years 8 months ago [\#329952](#329952) by [infinityb](/forum/user/60598-infinityb "View infinityb's Profile")  Replied by *[infinityb](/forum/user/60598-infinityb "View infinityb's Profile")* on topic *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#329952 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")*

Hi Philip, I did think of this but unfortunately the shipping zones don't have any configuration options for postcodes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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: 86541
- Thank you received: 14304
-
-

5 years 8 months ago [\#329955](#329955) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#329955 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")*

Hi,

The current version of HikaShop (4.4.1) has a new option "Post code RegEx" in shipping methods where you can enter a regex to match post codes:
[ www.regular-expressions.info/tutorial.html](https://www.regular-expressions.info/tutorial.html)
So for example, you can enter: (4568&#124;2135&#124;9852)
and the shipping method will match with any of these three post codes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 50
- Thank you received: 4
-

5 years 6 months ago [\#332428](#332428) by [infinityb](/forum/user/60598-infinityb "View infinityb's Profile")  Replied by *[infinityb](/forum/user/60598-infinityb "View infinityb's Profile")* on topic *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#332428 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")*

Hi, RegEx is unfortunately not a viable option for UK postcodes, as this discussion shows:
[ stackoverflow.com/questions/164979/regex...atching-uk-postcodes](https://stackoverflow.com/questions/164979/regex-for-matching-uk-postcodes)

The ability to group or categorise (and use these groups to include/exclude) shipping options would be useful.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

5 years 6 months ago [\#332481](#332481) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Shipping Groups / shipping exceptions](/forum/50-feature-request/901978-shipping-groups-shipping-exceptions#332481 "I've got ~150 shipping rules set up to define my UK shipping by postcode. The majority of postcodes get shipped for £7.95. A few very specific ones cost £27.95. Because of this I have to define each postcode area separately. What would be good is instead be able to group rules together, and/or create an 'exception group' - so I could say 'all £7.95 EXCEPT x' and just define that group. So if/when I need to update the price or description this wouldn't need to be updated individually (I do currently do this via sql to save time but not everyone can do that)")*

Hello,

If using the shipping method's options of restriction, then the last solution will be to directly develop a custom manual shipping plugin which will directly apply these restrictions in the code.
To do it, you'll just have to copy the code of the Hikashop manual shipping method and apply your restriction through the code of the "onShippingDisplay" function. For more information :
[ www.hikashop.com/support/documentation/6...ml#onShippingDisplay](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onShippingDisplay)

Kind regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDE5Nzgtc2hpcHBpbmctZ3JvdXBzLXNoaXBwaW5nLWV4Y2VwdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.063 seconds

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