Get highest bid into frontend

Options

Hey all, I am trying to get only the highest bid to show on the auction item. I can't seem to wrap my head around how to do this. Any help is apprecaited.

My auction site is like any other site. Whoever is the highest bidder shows first.
https://cora-rose-foundation.webflow.io/

Tagged:

Answers

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options

    If you have a table of bids, you could use "query all records", and after applying the filter (e.g. only get records for this item) go to the "output" tab, and click on the pencil icon to the right of "results". This lets you sort the result (e.g bid price descending to get the highest bid first). Then activate pagination (leave the "meta data" off) and set the page size to 1.

    Voila - you have the top bid!