If you don’t want to pay 50 bucks, I’m sure you could make something that at least “works” by putting S-shaped hooks to the 4 ends of 2 strings. (“tying” the strings to the barbell and letting each db rest on two hooks, suspended by the strings)
Shouldn’t cost more than 5 bucks total and should allow you to just drop the dbs after the set.