Jump to content

Change large product icons on Product Details page


gbotica

Recommended Posts

With WHMCS 6, Six theme, the Product Details page has a large icon in a box -- is there a way to change these for given product groups / types?

it already does show icons for different product types... taken from six/clientareaproductdetails.tpl

 

                                <span class="fa-stack fa-lg">
                                   <i class="fa fa-circle fa-stack-2x"></i>
                                   <i class="fa fa-{if $type eq "hostingaccount" || $type == "reselleraccount"}hdd-o{elseif $type eq "server"}database{else}archive{/if} fa-stack-1x fa-inverse"></i>
                               </span>

it will show different font awesome icons depending on whether it's a hosting, server or other account... if you wanted to change the icon based on product groups, then you could check the value of $groupname in your {if} statement.

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.

×
×
  • 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