Store Foundation Template Learning