Selling items in the Zelda games usually comes down to finding the right character to trade with.
Look for a fellow with red hair, green clothes, and a black hat. Once you find him, show him a bottle that has something inside it—he'll happily buy whatever the bottle contains from you.