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