They just use what the things’ MSRP is (and sometimes round the number to the nearest 0 or 5)… You can be really good at the a lot of the game if you shop a lot and know the average prices of most things.
Same with an older, less popular gameshow called Supermarket Sweep.