Shenzo Posted October 4, 2015 Share Posted October 4, 2015 My business is about application hosting where I charge my customers on per users bases. How can I change title 'Qty' on Shopping Cart bar to 'Users', shown in box in attached picture? I think I have found the code but I don't know how to edit it properly. It is in viewcart.tpl on line numbers 80-81. <div class="col-sm-2 hidden-xs text-center"> {$LANG.orderForm.qty} Please help me edit this code or if I am wrong, help me do it right way. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 4, 2015 Share Posted October 4, 2015 you'll either need to edit the template directly and replace the language term in standard_cart/viewcart.tpl @ line 81 {$LANG.orderForm.qty} with Users the above is a quick way to do it, but the "correct" way would be to use Language Overrides - http://docs.whmcs.com/Language_Overrides create a replacement entry for each of the languages you use in your site... e.g for english, add the following to a lang/overrides/english.php file <?php $_LANG['orderForm']['qty'] = "Users"; and then do the same for the other languages. 0 Quote Link to comment Share on other sites More sharing options...
Shenzo Posted October 4, 2015 Author Share Posted October 4, 2015 you'll either need to edit the template directly and replace the language term in standard_cart/viewcart.tpl @ line 81 {$LANG.orderForm.qty} with Users the above is a quick way to do it, but the "correct" way would be to use Language Overrides - http://docs.whmcs.com/Language_Overrides create a replacement entry for each of the languages you use in your site... e.g for english, add the following to a lang/overrides/english.php file <?php $_LANG['orderForm']['qty'] = "Users"; and then do the same for the other languages. Great! It worked. Thank you very much! I used overrides method. 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.