lizzus Posted May 19, 2021 Share Posted May 19, 2021 Hello everyone. Thanks again to those who helped me in the past few days in customizing my whmcs template. Today I'm customizing the last aspects of the template. Specifically I'm setting up whmcsroot/templates/orderforms/custom_orderforms_name/viewcart.tpl I'm trying to modify the "Continue shopping" link in order to redirect to a page I created (for example custom_page.php) Original code of viewcart.tpl is <a href="cart.php" class="btn btn-link btn-continue-shopping" id="continueShopping"> {$LANG.orderForm.continueShopping} </a> and i change with <a href="custom_page.php" class="btn btn-link btn-continue-shopping" id="continueShopping"> {$LANG.orderForm.continueShopping} </a> This change appears to have no effect. I also tried putting some text in the divs to see if it appeared on the page, but it doesn't appear. At first I was thinking of a cache problem, but even after clearing the cache the problem remains the same. It is as if any changes I make to the template are ignored. 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted May 19, 2021 Share Posted May 19, 2021 Have you cleared the WHMCS template cache and your browser cache? If you have a CDN, clear that cache too. It's not a bad idea to try it in another browser too. 0 Quote Link to comment Share on other sites More sharing options...
lizzus Posted May 19, 2021 Author Share Posted May 19, 2021 how to clear whmcs cache? 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted May 19, 2021 Share Posted May 19, 2021 10 minutes ago, lizzus said: how to clear whmcs cache? Their documentation is pretty vague: https://docs.whmcs.com/System_Utilities#Empty_Template_Cache Once logged in, go to Utilities > System > System Cleanup > Empty Template Cache 0 Quote Link to comment Share on other sites More sharing options...
lizzus Posted May 19, 2021 Author Share Posted May 19, 2021 I empy template cache and all other cache, but problem not solving... 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted May 19, 2021 Share Posted May 19, 2021 It is impossible to troubleshoot without a URL at a minimum. Does that custom page exist on the server? 0 Quote Link to comment Share on other sites More sharing options...
lizzus Posted May 19, 2021 Author Share Posted May 19, 2021 very strange. it seems to be using the default_cart and not the customized one. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 20, 2021 Share Posted May 20, 2021 14 hours ago, lizzus said: very strange. it seems to be using the default_cart and not the customized one. the joys of conflicting orderform templates. are both products in that viewcart from the same product group, or at least assigned to product groups using the same custom orderform template ? 0 Quote Link to comment Share on other sites More sharing options...
lizzus Posted May 20, 2021 Author Share Posted May 20, 2021 Are from different product group, but both product group use same custom order form template 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.