Jump to content

Help! transfer domain


wsd

Recommended Posts

Hi,

 

When a customer wants to transfer a.dk domain, it looks like I will give them one year free. and I will not and I can not give them a free year, as it is a customer relationship between the customer and DK-Hostmaster.

 

Is there someone who can help me to fix it, so 1 year is not displayed :?:

dom1y.jpg

dom1y_.jpg

Link to comment
Share on other sites

You did not read the rules for setting an undefined amount.

 

When you go and edit the pricing of a domain name you leave "-1.00" in the transfer field to deactivate it

 

"Leave Register at 0 to disable that term. Set Transfer/Renew to -1 to disable"

 

How would you set it up so it is allowed to transfer a .dk domain, of course it is possible to transfer a .dk domain, it costs just nothing and there is not one year free

Edited by wsd
Link to comment
Share on other sites

Any time anyone or company "transfers" a domain the acquiring host must renew that domain for another year.

 

Ex, a client pays you $10 to transfer a domain to your service, after it transfers 1 year of registration is added.

 

 

In the domain pricing area you need to update the price on the .dk domain to what you want it to be, else type -1 to disable transfers....

 

Setup > Domain Pricing > click the .dk domain and set your price

Edited by tripler
Link to comment
Share on other sites

Hi,

 

Here is my solution, in an attempt to remove the 1 year, using the order form template ajaxcart.

 

But what can I do to remove it so there will not be stored 1 year in the database, so it does not come out on the invoice?

 

The file changes \templates\orderforms\ajaxcart\cartsummary.tpl

Starts approx. on line 76

 

From:

 
{$domain.domain}<br />
{$domain.regperiod} {$LANG.orderyears}<br />
{if $domain.dnsmanagement} + {$LANG.domaindnsmanagement}<br />{/if}
{if $domain.emailforwarding} + {$LANG.domainemailforwarding}<br />{/if}
{if $domain.idprotection} + {$LANG.domainidprotection}<br />{/if}
</div>

To:

 
{$domain.domain}<br />
{php}
$dom = $this->get_template_vars();
$domainName = $dom ['domain']['domain'];
$tld = ".dk";
$result = substr_compare($domainName, $tld, -strlen($tld), 
strlen($tld)) === 0;
if ($result) {
// Afsluttes med .dk;
$this->assign('dom_tld', '.dk');
}else{
// Afsluttes ikke med .dk;
$this->assign('dom_tld', '');
}
{/php}
{if $domain.type neq 'transfer' || $dom_tld neq '.dk'}
{$domain.regperiod} {$LANG.orderyears}<br />{/if}
{if $domain.dnsmanagement} + {$LANG.domaindnsmanagement}<br />{/if}
{if $domain.emailforwarding} + {$LANG.domainemailforwarding}<br />{/if}
{if $domain.idprotection} + {$LANG.domainidprotection}<br />{/if}
</div>

Edited by wsd
Link to comment
Share on other sites

  • 3 weeks later...

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