[Resolved] Use Non-Types custom fields of YITH Tickets plugin for Search filters
This thread is resolved. Here is a description of the problem and solution.
Problem:
Use Non-Types custom fields of YITH Tickets plugin for Search filters
Solution:
To use the non Types field (third-party custom fields) with views you should enable those fields from:
=> Toolset => Settings => Front-end Content => Hidden custom fields
Hi, I'm working on a website with WooCommerce and YITH Tickets plugins. I'm building custom single product page and shop page with Toolset.
YITH Tickets adds some custom field to WooCommerce like event "start date", "start time" and "Address" conencted to Google Map. I can display some of theme in my view by this shortcodes:
I would like to add also some filters based on this fields on my custom search, but Toolset doesn't display them on the Non-Types fields and I also cannot select them when I try to Add a filter or a query filter.
How can I register them on Toolset?
If it is not possible, is it a solution to copy those fields on product_save to some Toolset custom field? How can I do it?
Yes! This solved the main problem, they are there and now I can manage those fields.
I still have some issue.
I can display _start_date_picker filed by this shortcode:
[wpv-post-field name='_start_date_picker']
But it seems I cannot change the date format as I can do with a Toolset Date field. How can I manage it?
I also tested the date filter, I can set it up, I also set date_format to Y-m-d (the current data format of _start_date_picker), but the search result is "No items found". I also try setting the Query filter to "like", but it still doesn't get any result.
Any suggestion?
New threads created by Minesh and linked to this one are listed below: