pratik_asabe Posted April 26, 2019 Share Posted April 26, 2019 Hello there, I want to change a URL of 'Add Web Hosting' box on domain checker page which usually points to cart page, but I want to change it and point it to my desired location. [refer screenshot] 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 26, 2019 Share Posted April 26, 2019 3 hours ago, pratik_asabe said: I want to change a URL of 'Add Web Hosting' box on domain checker page which usually points to cart page, but I want to change it and point it to my desired location. the easiest way would be to edit the standard_cart/domainregister.tpl template and change the link there... <a href="cart.php" class="btn btn-warning">{lang key='orderForm.exploreNow'}</a> you could do it with a Footer Output action hook, but with the href element not having any id or name, you're left trying to identify it by class and/or it's occurrence on the page. it can be done, but either class or position could change after a WHMCS or custom template update... so unless you're desperate to avoid editing templates, I don't think that i'd use a hook for this... though I can post the hook if you want to use it. 0 Quote Link to comment Share on other sites More sharing options...
pratik_asabe Posted April 26, 2019 Author Share Posted April 26, 2019 Thanks, Brian!! Thanks for the information. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.