Elaine Leung Posted October 2, 2014 Share Posted October 2, 2014 Hi My website is go live soon and my website has just passed PCI compliance. The is a trust seal which I can put on the site. How to copy and paste the entire code snippet below into the web page : <script type="text/javascript".. ..... </script> so the trust seal can be on the home page or crm. I don't know how to add the script. Please help and give me some advise. Thanks Kind Regards Elaine Link to comment Share on other sites More sharing options...
Dh42 Posted October 3, 2014 Share Posted October 3, 2014 You can paste it directly in your footer.tpl of your theme, just wrap in in {literal} {/literal} and put it in there. Link to comment Share on other sites More sharing options...
Elaine Leung Posted October 3, 2014 Author Share Posted October 3, 2014 Dear Dh42 Thank you very much for the reply. I went to the file manager in cpanel. I can only find /public_html/modules/blockcms/blockcms.tpl/ I can't find footer.tpl Will you please advise me? I want to be able to continuous upgrade (my version new is 1.6.0.9), the DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. in the .tpl What should I do ? Many thanks Kind regards Elaine Link to comment Share on other sites More sharing options...
bellini13 Posted October 3, 2014 Share Posted October 3, 2014 look in the themes folder. /themes/<your_theme_name>/footer.tpl Link to comment Share on other sites More sharing options...
Elaine Leung Posted October 10, 2014 Author Share Posted October 10, 2014 Hi Prestashop Fanatic I find out the /footer.tpl has the following, do I have to ask for license to add some code. Where can I add the code. How can I keep the seal when update the website due.? Do I remove the code each time when I upgrade and then add it back after I upgrade? Sorry I want to make sure as I don't want to make a mistake. Kind regards Elaine {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <table> <tr> <td style="text-align: center; font-size: 6pt; color: #444"> {if $available_in_your_account} {l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'} <br /> {/if} {$shop_address|escape:'html':'UTF-8'}<br /> {if !empty($shop_phone) OR !empty($shop_fax)} {l s='For more assistance, contact Support:' pdf='true'}<br /> {if !empty($shop_phone)} Tel: {$shop_phone|escape:'html':'UTF-8'} {/if} {if !empty($shop_fax)} Fax: {$shop_fax|escape:'html':'UTF-8'} {/if} <br /> {/if} {if isset($shop_details)} {$shop_details|escape:'html':'UTF-8'}<br /> {/if} {if isset($free_text)} {$free_text|escape:'html':'UTF-8'}<br /> {/if} </td> </tr> </table> Link to comment Share on other sites More sharing options...
Recommended Posts