How to add a TrustLogo on your Xcart site - delete

We recommend that you have your designer add your secure logo to your page. If you do your own design and are looking for ideas, here is an abbreviated version of some instructions found on the x-cart forums.

For the full tutorial, see http://forum.x-cart.com/showthread.php?t=6004

  1. Upload the handsonssl-logo.gif image to your /xcart/skin1/images/ folder - substituting xcart for the actual directory name, of course.
  2. Create a file in xcart/skin1/ called secure_cert.tpl and save it with the following code:
    {literal}
    <script type="text/javascript">TrustLogo("https://yourdomainname.com/shop/skin1/images/handsonssl-logo.gif", "SC", "none");
    </script>
    {/literal}

    OR 

    If your certificate is installed to www.yourdomain.com, use this instead:

    {literal}
    <script type="text/javascript">TrustLogo("https://www.yourdomainname.com/shop/skin1/images/handsonssl-logo.gif", "SC", "none");
    </script>
    {/literal}
  3. Add the following code between the tags of customer/home.tpl (also add to single/home.tpl if you have enabled "1 page checkout" module):
    {literal}
    <script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript"></script>
    {/literal}
  4. Then using webmaster mode, insert the following script where you want your logo to appear:
    {include file="secure_cert.tpl"}

Now check the pages - refresh them; and the logo should appear. You can reposition it as you'd like by including the secure_cert.tpl file elsewhere.

Reviewed 12/20/16

  • Email, SSL
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

How to Generate Private Key for SSL Certificate

How to Generate an SSL Key in cPanel: 1) Log into cPanel 2) Click on "SSL/TLS Manager": 3)...

How to Generate a Certificate Signing Request (CSR) using Cpanel

How to Generate a CSR: 1) Log into cPanel 2) Click on "SSL/TLS Manager": 3) Click on...

SSL Overview

So you want an SSL certificate but aren't sure where to start? Well this is a good place. Each of...

Install SSL through WHM

To install the SSL Certificate through your WHM you will need to log into WHM first.You will want...

Do you offer Private / Dedicated SSL Certificates?

Total Server Solution Hosting does offer Private / Dedicated SSL Certificates.There are many...