add post-checkout hook, in a default template