Add to cart button keeps redirecting to localhost after moving to live server

Q: Recently I bought a WordŠress theme that included Jigoshop and i installed it locally using XAMPP.
When i moved the site on a live server the add to cart button keeps redirecting me to localhost!
Can you please help me on that because?

A: Change the home url in database that is still pointing to your localhost.