It looks to me like you’re trying to achieve a filtering mechanism, is that right? – by which users can see a list of products which match the set of criteria they give in the drop-downs.
If that is the case, and although I haven’t any experience of doing this precise thing myself, a plugin I use for achieving similar outputs is Views by Toolset.
This provides the ability to do drop-downs, and user-driven parametric search.
You can learn more about it here
I use this, and their custom fields/post type generator on all my sites now for added flexibility and ease. Their support is top rate too.
Hope this helps.
Related Posts:
- Set Custom Post Type in Widget Settings for use in Widget
- Where to put my code: plugin or functions.php?
- Advanced search form with filters for custom taxonomies and custom fields
- Custom Post Type Data in Sidebar widgets?
- Search multiple custom fields by using meta_query
- Have different search results template depending of custom post type searched
- Limit widget to a specific registered sidebar
- The right way to create a custom search page for complex custom post types
- Include images from pages in wp search.php results in default wp search
- Separating Search Results By Post Type
- Including a custom post type in the Archives widget
- WordPress Admin Panel search posts with custom post meta values along with title
- Backend search; include CPT meta?
- Custom Search form not working in localhost
- Custom Search | Wrong output & question
- Limit search form to 4 custom post types only
- Group search results by post type, but hide post types with no results
- Search results ordered by custom post types are not grouped
- Is there An Input Checkbox Option That Works like `wp_dropdown_categories()` To Use In A WP Search Form?
- How can I include meta box content when searching?
- How to embed form data within the ‘Add new post’
- Include different loop templates in search query
- Search tags in CPTs
- Set meta_query only for specific post type
- Add custom post types stats to a custom dashboard widget
- ‘Pages’ widget alternative for custom post types?
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Add custom post type archives to search results?
- CPT Meta Searching
- CPT Search Form with Taxonomy filter & Or
- Custom search results page query, link permalink to post title while separating by post types
- right_now_content_table_end function not working?
- Including Custom Meta with posts_where query
- Random image from tag/custom type on sidebar
- Register widget only page is a singular of custom post type
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Custom Post Type And “fopen”
- Filter custom posts using auto populated dropdown selectors
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- Including metaboxes from custom post types in global search — continued
- Custom Widget WP_Query problem
- Include custom post type content in search
- Get post count for search result based on post type
- search suggest – filter post type
- Searching Custom Post Types
- Filter widget outputs
- How do i search authors from search form using author’s name
- Search filter triggered & sort by custom post type
- Searching Custom Fields
- Can NOT search my custom post type?
- Custom post_type search pages
- Pagination Error : Duplicate argument being outputted
- WordPress search and date filter not working with custom post type
- Custom Empty Results page for my Custom Post Type
- Why isn’t a list of posts from my custom post type displaying in this widget?
- Custom filter for main search: how to exclude specific post_type from search results
- Display an icon based on post type
- how to get this tax_query working?
- How to group search results by post type and only if post type result is not empty?
- find custom post type post by searching its custom field with my string
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- What is the correct term for a tool that filters content based on metadata?
- Post Query not working
- Ideas on how to organize a project [closed]
- display custom post type in widget aera
- Filtering custom posts by custom fields (ACF) [closed]
- CPT, meta-data, url parameter
- Search CPT Title AND Meta
- Building a Data Intensive Website with WordPress
- Truncate custom post type content
- Modifying search results based on post_type
- Change search query in wordpress custom post type
- Create a post automatically if search result has zero results
- Search only one custom post type
- Custom Page Template – Widgets of wrong sidebar
- Query first and last name from custom post type
- Advanced search form with multiple custom fields
- Custom Archive – hide posts until a search is made?
- I can not display search template created from a post type custom
- Creating a search results page from a custom post type in a plugin?
- Search custom post type result in same template page
- Display result as “prefix+ID” and show in the search result as bookcode
- Include images from pages in wp search.php results in default wp search
- Search facility with directories
- Create Second Search Page Only for Custom Post Type
- custom search results – order results differently by post type
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- Conditional posts in WP_query for search
- Post search not looking at post title since 4.4.2 upgrade
- Custom Post Search
- Custom post type not being pulled in widget
- Custom post types archive
- Custom Search not working
- Is it good practice to search for custom posts based on custom field values?
- Diffrent search templates for different post types
- Cannot get query var ‘post_type’ to work
- admin search of pages returns custom post types
- Why does ‘exclude_from_search’ exclude a custom post type from WP_Query?
- Custom post archive with search, is_search() is false?
- Group search results by post type, but having a unique heading for each section?