I am looking to create a tool on my site that allows users to search and compare details of 2 or more items from my dataset. Example, the user wants to see how ‘item A’ compares to ‘item B’. User would search and select items A and B. A new page would be created that is titled ‘Item A vs Item B’, and on the page would be the stats and description for each item selected side by side.
What would be the best way to accomplish this?
Hey @ryanroubal ,
I myself am newbie to coding. But from what I know, here’s how you can create that:
You can give a compare button on your repeater. When the user clicks on it, they are asked to pick another item.
Once the user has picked the two items, you can redirect to the comparison page and raise a query (for example: www.mysite.com/comparison?item1=nameofitem1&item2=nameofitem2 )
Once on the comparison page, you can fetch the name of both the items from the url, search the database for their details, and have 2 sections/repeaters side by side that will display the information of both the items.