Hold the potion you wish to sell in your hand, type in "/iteminfo", set up a shop, placing the item id given in the last line and done!