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

#   Manual Shipping Method - postcode case bug

##

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

Less More

- Posts: 48
- Thank you received: 5
-
-

6 years 1 month ago [\#324263](#324263) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  *[Manual Shipping Method - postcode case bug](/forum/28-shipping-methods/900860-manual-shipping-method-postcode-case-bug#324263 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21  Hello there,  Using HikaShop Essentials for my first site, I've come across a bug with the manual shipping plugin. For example, I'd like to have the rule:  if the UK Shipping postcode starts with &quot;CT14&quot;, then charge £5 for local delivery  With the prefix of &quot;CT&quot; and the range from &quot;141&quot; to &quot;149&quot; this works ... until the customer uses lowercase e.g. &quot;ct143ef&quot; - at which point the manual shipping plugin fails to execute the rule. Presumably the plugin carries out a case sensitive check on the prefix.  One solutions would be to duplicate all the postcode shipping rules for lowercase as well ... but then what would happen if the customer then typed &quot;Ct14&quot; - which is more than possible, as they accidentally release the SHIFT key whilst typing the postcode. Also I have a number of these rules, so it will be a lot of work.  Could this bug please be fixed? My site requires local delivery set up and this issue is causing delivery problems. Possibly provide a way to force upper case in the postcode custom field or provide an option for case insensitive checks on the prefix within the manual shipping plugin.  Many thanks Marcus")* was created by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21

Hello there,

Using HikaShop Essentials for my first site, I've come across a bug with the manual shipping plugin. For example, I'd like to have the rule:

*if the UK Shipping postcode starts with "CT14", then charge £5 for local delivery*

With the prefix of "CT" and the range from "141" to "149" this works ... until the customer uses lowercase e.g. "ct143ef" - at which point the manual shipping plugin fails to execute the rule. Presumably the plugin carries out a case sensitive check on the prefix.

One solutions would be to duplicate all the postcode shipping rules for lowercase as well ... but then what would happen if the customer then typed "Ct14" - which is more than possible, as they accidentally release the SHIFT key whilst typing the postcode. Also I have a number of these rules, so it will be a lot of work.

Could this bug please be fixed? My site requires local delivery set up and this issue is causing delivery problems.
Possibly provide a way to force upper case in the postcode custom field or provide an option for case insensitive checks on the prefix within the manual shipping plugin.

Many thanks
Marcus

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTAwODYwLW1hbnVhbC1zaGlwcGluZy1tZXRob2QtcG9zdGNvZGUtY2FzZS1idWc/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: 86556
- Thank you received: 14304
-
-

6 years 1 month ago [\#324265](#324265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Manual Shipping Method - postcode case bug](/forum/28-shipping-methods/900860-manual-shipping-method-postcode-case-bug#324265 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21  Hello there,  Using HikaShop Essentials for my first site, I've come across a bug with the manual shipping plugin. For example, I'd like to have the rule:  if the UK Shipping postcode starts with &quot;CT14&quot;, then charge £5 for local delivery  With the prefix of &quot;CT&quot; and the range from &quot;141&quot; to &quot;149&quot; this works ... until the customer uses lowercase e.g. &quot;ct143ef&quot; - at which point the manual shipping plugin fails to execute the rule. Presumably the plugin carries out a case sensitive check on the prefix.  One solutions would be to duplicate all the postcode shipping rules for lowercase as well ... but then what would happen if the customer then typed &quot;Ct14&quot; - which is more than possible, as they accidentally release the SHIFT key whilst typing the postcode. Also I have a number of these rules, so it will be a lot of work.  Could this bug please be fixed? My site requires local delivery set up and this issue is causing delivery problems. Possibly provide a way to force upper case in the postcode custom field or provide an option for case insensitive checks on the prefix within the manual shipping plugin.  Many thanks Marcus")*

Hi,

Thank you for your feedback. That will indeed be a nice improvement to have these prefix and suffix options be case insensitive.
I've added a patch for that on our end.
Download the install package of the latest version of HikaShop on our website and install it on yours and that will add the patch.

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

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

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

Less More

- Posts: 48
- Thank you received: 5
-
-

6 years 1 month ago [\#324280](#324280) by [marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")  Replied by *[marcusadamski](/forum/user/57919-marcusadamski "View marcusadamski's Profile")* on topic *[Manual Shipping Method - postcode case bug](/forum/28-shipping-methods/900860-manual-shipping-method-postcode-case-bug#324280 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21  Hello there,  Using HikaShop Essentials for my first site, I've come across a bug with the manual shipping plugin. For example, I'd like to have the rule:  if the UK Shipping postcode starts with &quot;CT14&quot;, then charge £5 for local delivery  With the prefix of &quot;CT&quot; and the range from &quot;141&quot; to &quot;149&quot; this works ... until the customer uses lowercase e.g. &quot;ct143ef&quot; - at which point the manual shipping plugin fails to execute the rule. Presumably the plugin carries out a case sensitive check on the prefix.  One solutions would be to duplicate all the postcode shipping rules for lowercase as well ... but then what would happen if the customer then typed &quot;Ct14&quot; - which is more than possible, as they accidentally release the SHIFT key whilst typing the postcode. Also I have a number of these rules, so it will be a lot of work.  Could this bug please be fixed? My site requires local delivery set up and this issue is causing delivery problems. Possibly provide a way to force upper case in the postcode custom field or provide an option for case insensitive checks on the prefix within the manual shipping plugin.  Many thanks Marcus")*

Hello Nicolas

Thanks very much for the speedy fix. I reinstalled with the newest version today and tested the prefix with lower, mixed and uppercase - and the manual shipping method worked how I needed. This will stop delivery issues for my customer,

Really appreciate the quick turnaround. Regards,
Marcus

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTAwODYwLW1hbnVhbC1zaGlwcGluZy1tZXRob2QtcG9zdGNvZGUtY2FzZS1idWc/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.046 seconds

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