* Tell us what you are trying to do?
For example, I create 2 post type "Resale" and "Rental". In one view search in one view, can I create 2 templates of view output for each post types? In view search, if visitors choose "Resale", the view output show "Sell price" from "Resale" post and its heading, and hide it and show "Rental price" and its heading from "Rental" post and its heading, if they choose "Rental" in view search.
* Is there any documentation that you are following?
* Is there a similar example that we can see?
* What is the link to your site?
Hello,
You can display different content templates for each post type.
For example:
1) Create two content templates for each post type.
2) In view's loop, use conditional block to check current post's post type value, and display different content template:
https://toolset.com/course-lesson/using-toolset-conditional-block/
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-type