| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Placing Comodo certificate logos in the cart | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Placing Comodo certificate logos in the cart
I have a site that used a Comodo SSL cert. Comodo has a method of displaying a validated logo which superimposes the logo over the page (template) on which you place it. I was reminded of this while viewing another site (here http://www.extremepsi.com/store/customer/home.php).
So, I thought I'd post my own mod that places the Comodo logo ONLY on the check out page and then only in a small section of the page (not overlaid). Step 1. Create a file called comodo.html and place it somewhere in the cart sub-directory structure. This file should contain exactly the html COMODO sent you for integration. In my case it looked a little something like this: <html> <head> <script language="javascript" type="text/javascript"> //<![CDATA[ var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" : "http://www.trustlogo.com/trustlogo/javascript/cot.js"; document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>'); //]]> </script> </head> <body> <script language="JavaScript" type="text/javascript"> COT("https://your image URL here", "SC2", "none"); </script> </body> </html> Step 2. Replace the table in customer/main/checkout_notes.tpl with the following: <table cellspacing="0" cellpadding="2"> <tr valign="top"> <td>{$lng.lbl_customer_notes}:</td> <td> </td> <td nowrap="nowrap"><textarea cols="55" rows="10" name="Customer_Notes"></textarea></td><td><iframe height="139" width="105" marginheight="0" marginwidth="0" scrolling="no" frameborder="0" src="https://www.whereever you stored/comodo.html"></iframe> </td> </tr> </table> What this does is set up a table for the customer notes (conveniently displayed just below the payment entry section) that includes 1 column for notes and contains the comodo logo in a second column. That logo stays put, stays out of the way and still announces to your clients that you're a safe a secure place with which to do business.
__________________
X-Cart Pro - 4.1.8 X-Cart Pro - 4.1.9 Custom Mods and Skinning |
|||||||
#2
|
|||||||
|
|||||||
Re: Placing Comodo certificate logos in the cart
Moving to Template Editing. I'd suggest also adding it to the registration form, as that is where sensitive info is entered as well.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Placing Comodo certificate logos in the cart
Good point, and easy enough to do. However, one of the things I've done is to replace the x-cart registration form with my own registration form. The purpose was to capture data that could be shared with the client's CRM system (goldmine) that didn't really need to be in the commerce system and do so using a custom email form that gets consumed by Goldmine. It seemed just easier to bypass registration altogether, although I love the idea of adding this same mod to that form.
__________________
X-Cart Pro - 4.1.8 X-Cart Pro - 4.1.9 Custom Mods and Skinning |
|||||||
|
|||
X-Cart forums © 2001-2020
|