Filled out purchase functionality; added Spanish