I am trying to create multiple products per listing and therefore have prices.
My site will have multiple schools listed. Each school will have multiple courses and each course will have a corresponding price. I am able to achieve this using the repeatable field group however I am unable to search for repeatable groups. Please advise how this can be achieved.
When I create a search page and insert a search bar view it creates two a view with two parts. 1. View Search 2. view output.
I want to display my schools in the view output. Each school listed will have multiple courses and each course will have a price.
However, when I try to display repeatable fields in my output, it creates a separate view for every variation of the repeatable field.
Basically im trying to figure out how I can create multiple products with multiple prices under a single listing.
So, as I understand, you want to list your product as:
Product 1
- repeating field group, item 1
- repeating field group, item 2
- repeating field group, item 3
Product 2
- repeating field group, item 4
- repeating field group, item 5
- repeating field group, item 6
Product 3
- repeating field group, item 7
- repeating field group, item 8
- repeating field group, item 9
And you also want custom search to filter the results?
If you can share problem URL and access details I will have a better idea and please confirm what is your expected output?
*** 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.
Yes but unfortunately the access details you shared with me is not working at this end.
Can you please send me working access details as well as tell me:
- what is your Problem URL?
- What is your Expected output? (Maybe a screenshot or test case example will help)
*** 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.
I've created the following custom search view that query the intermediary post type and added price filter:
=> hidden link
[ You can add the as many filtres as you want to Search and Pagination Section]
And within the Loop Editor, I've added the following shortcode to display, price with related parent and child post:
I've created test page for you where I've added the above view I've created:
=> hidden link
As you can see there is a price field dropdown, as soon as you will select the price, it will filter the post and display the related parent and child posts.