Putting items on a shelf i have an interactive Shelf but cant figure how to do item placement i have the interactive part done

Hello there so what i want to do is make it so the can in the picture can be place by players instead of me placing them so they cann sell products to AI but i cant seem to figure how to place the items on there


i was thinking of trying to do it procedural for each item so itll fit as many as possible before it runs out of spacver per item but idk how i could do that