When the king was ready to return to his palace , he bethought himself that he would like to take home presents to each of his three daughters ; so he went into a jeweller 's shop , and bought a beautiful necklace for the eldest princess ; then he went to a rich merchant 's and bought a dress embroidered in gold and silver thread for the second princess , but in none of the flower shops nor in the market could he find the wreath of wild flowers that his youngest daughter had set her heart on .