Sai Mohit Posted May 31, 2018 Share Posted May 31, 2018 I have some text( HTMl-formatted) that I want to insert here: https://imgur.com/a/Oe0TvSE Can someone guide on which file to edit to achieve? And, where exactly(along with line number) should i place my code? Thank you so much for helping me! 0 Quote Link to comment Share on other sites More sharing options...
wp4all Posted June 8, 2018 Share Posted June 8, 2018 (edited) Hi Sai, You can edit --> templates/orderforms/standard_cart/viewcart.tpl Standard Theme search for : {if $cartitems > 0} <div class="empty-cart"> <button type="button" class="btn btn-link btn-xs" id="btnEmptyCart"> <i class="fa fa-trash"></i> <span>{$LANG.emptycart}</span> </button> </div> {/if} Then you can modify it like : {if $cartitems > 0} <div class="empty-cart">Text before <button type="button" class="btn btn-link btn-xs" id="btnEmptyCart"> <i class="fa fa-trash"></i> <span>{$LANG.emptycart}</span> </button> Text after</div> {/if} result: Greetings Christian Edited June 8, 2018 by wp4all 1 Quote Link to comment Share on other sites More sharing options...
Sai Mohit Posted June 9, 2018 Author Share Posted June 9, 2018 Thank you so much Sir! Your help is greatly appreciated! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Staff WHMCS Peter Posted June 13, 2018 WHMCS Staff Share Posted June 13, 2018 Hi, Please make sure that when you do this, you are copying the "six" folder in /templates to a new folder name of your choice. This is because as WHMCS updates in the future, the "Six" directory will be overwritten and you will lose any changes. Any custom templates remain untouched. 0 Quote Link to comment Share on other sites More sharing options...
Sai Mohit Posted June 14, 2018 Author Share Posted June 14, 2018 Thanks for your heads up! 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.