rabijit Posted January 3, 2018 Share Posted January 3, 2018 (edited) Hello, I want to add a custom code in checkout page, so I add following code in header.tpl {if $templatefile == 'checkout'} ================= {/if} But, it is not working. What is the exact template file name of checkout page? Edited January 3, 2018 by rabijit Link to comment Share on other sites More sharing options...
sentq Posted January 4, 2018 Share Posted January 4, 2018 the following ActionHook point will do what you need no matter what template are displayed and will not be overwritten by WHMCS upgrades: https://developers.whmcs.com/hooks-reference/shopping-cart/#shoppingcartcheckoutcompletepage Link to comment Share on other sites More sharing options...
Recommended Posts