Jump to content

Removing Comany Name from Shopping Cart Page


Aaron Kolodjski

Recommended Posts

Hello

 

I would like to remove the company, like for example where you have:

I want YOUR COMPANY NAME to register a new domain for me.

I want to transfer my domain to YOUR COMPANY NAME

I will update my nameservers on an existing domain Or I will register a new domain

 

I changed the default above but cant figure out which template file to remove the company name on this page.

 

Any help would be fantastic :)

 

Aaron

Link to comment
Share on other sites

Look for a line like this one:

{if $registerdomainenabled}
<tr class="orderrow1"><td width="10"><input type="radio" name="domain" value="register"{if $domain eq "register"} checked{/if} /></td><td><label for="selregister">{$LANG.orderdomainoption1part1} {$companyname} {$LANG.orderdomainoption1part2}</label></td></tr>
{/if}

{$companyname} is what substitutes the actual company name in the configuration.

If you want to change the other text, look in the language file(s) for "orderdomainoption".

[WHMCS_root\lang\English.txt]

Link to comment
Share on other sites

For the best results when working on templated scripts like this, I've found getting a text editor that can search within files to be of great importance (UltraEdit is a great one). You find the one thing you need to locate, then search for that in all files within the folder, even unopened ones.

Saves a lot of time.

 

You listed "boxes/adddomain.tpl" twice, but it appeared in the default folder as well. Bear in mind, I'm not searching in the latest version, so it's possible there are changes in the files and names.

Link to comment
Share on other sites

  • 3 months 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