The love potion is a quest item used to win over Pirate John. Pour it on him, then head to the chapel in Thais.
While you are there, buy a wedding ring — between the potion and the ring, that is what the sequence is asking you to set up.