Jump to content

v5.03 anyone knows how to change flag?


altomarketing

Recommended Posts

Answer that whmcs support said:

 

You would need to edit your active orderform template products.tpl and viewcart.tpl files to add in the new currency flag you wish to show.

 

The current line looks like:

 

<img src="images/flags/{if $curr.code eq "AUD"}au{elseif $curr.code eq "CAD"}ca{elseif $curr.code eq "EUR"}eu{elseif $curr.code eq "GBP"}gb{elseif $curr.code eq "INR"}in{elseif $curr.code eq "JPY"}jp{elseif $curr.code eq "USD"}us{elseif $curr.code eq "ZAR"}za{else}na{/if}.png" border="0" alt="" />

 

You would need to add another {elseif section before the {else} in this line.

Link to comment
Share on other sites

  • 5 months later...

In fact, they are 8 files to be edited (according your order template selection):

 

templates/orderforms/comparison/adddomain.tpl

templates/orderforms/comparison/products.tpl

templates/orderforms/modern/adddomain.tpl

templates/orderforms/modern/products.tpl

templates/orderforms/modern/viewcart.tpl

templates/orderforms/slider/adddomain.tpl

templates/orderforms/slider/products.tpl

templates/orderforms/slider/viewcart.tpl

 

My first post !

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