Formal:
* Au revoir et amusez-vous bien! (This is the most literal translation and is appropriate for formal situations.)
Informal:
* Ciao et amuse-toi bien! (This is a more casual way to say goodbye and is appropriate for friends or family.)
* A plus et bonne journée! (This means "See you later and have a good day!")
Other options:
* Bonne journée! (This means "Have a good day!")
* Profitez bien! (This means "Enjoy yourself!")
You can also use the phrase "Amusez-vous bien!" (Have fun!) on its own, which is appropriate for both formal and informal situations.
The best choice for you will depend on the specific situation and your relationship with the person you are saying goodbye to.