Skip Navigation

[Closed] Request for Custom Code: Postal Code Search with Greater/Lesser Filtering

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by Minesh 3 weeks, 5 days ago.

Assisted by: Minesh.

Author
Posts
#2791360

I need assistance in customizing a view to implement a postal code search with the following requirements:

Currently, I have enabled the "similar" search option, which works by matching any occurrence of the entered number. However, my client needs the search to only match postal codes that start with the entered value (e.g., when 79 is entered, it should only match codes like 79117, 79102, but not 21790).
The search should also return results matching the complete entered postal code (e.g., 79117).

Could you assist with a custom solution to achieve this?

Thank you in advance for your support.

#2791385

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such native feature but once I look at your strucutrue and view I may able to offer you workaround that may help you to fix the issue.

For that I will require admin access details and problem URL and what postal code I should test with and what is your expected result. Can you please setup few test posts and tell me what postal code I should use.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

The topic ‘[Closed] Request for Custom Code: Postal Code Search with Greater/Lesser Filtering’ is closed to new replies.