Jump to content

How to change title 'Qty' on Shopping Cart Bar


Shenzo

Recommended Posts

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.

Shopping Cart.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated