template main purchase