Jump to content

customize check box in WHMCS


jafrin

Recommended Posts

Hi

We can't alter addons checkbox html directly . But you can use css or js to achieve what you want.

That addon html is coming from

yourwhmcs/templates/orderforms/yourorderform/configureproduct.tpl

 

from this code

{if $addons}

<p><strong>{$LANG.orderchooseaddons}</strong></p>

<p>{$LANG.orderaddondescription}</p>

<div class="orderbox">

<table>

{foreach key=num item=addon from=$addons}

<tr><td>{$addon.checkbox}</td><td><label for="a{$addon.id}"><strong>{$addon.name}</strong> - {$addon.description} ({$addon.pricing})</label></td></tr>

{/foreach}

</table>

</div>

{/if}

WHat you can do is add a selector the parent and then use jquery or css.

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