Jump to content

show local currency no USD in page sell


Recommended Posts

hello

i put setting in currency USD, and after put CLP (chilean peso) i need  when people inside my website only see  CLP no USD.  I need and put getway payment only in  chilean pesos CLP. this is necesary for my country. 

i dont need sell in USD.  . go to currency put CLP, make  all information show in internet and continue show only USD. 

 

how can make It???

Link to comment
Share on other sites

On 23/09/2020 at 04:29, ctapix said:

how can make It???

if you don't want to sell domains/products in USD, then the simplest way is not to add pricing for them in USD.... or instead of adding CLP as a separate currency, you could have renamed USD to CLP and only have one currency in your install.

HLyaCrd.png

if you could remove/disable USD pricing for product/domains (from admin settings), use an action hook / CSS to hide the currency sidebar and add &currency=2 to product links on your main website, then that would add the product in CLP pricing.

<?php

use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) {
	
	if (!is_null($secondarySidebar->getChild('Choose Currency'))) {
		$secondarySidebar->removeChild('Choose Currency');
	}
});
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