Re: Authorize.net Seal sidebox
Thanks for all the great info to implement this sidebox - but I really didn't want another sidebox header sooo - I took the $content section as built with the Authorize.net code, and placed it in the bottom of the tpl_shopping_cart.php file (saved in an override folder). It worked perfectly and sets the verified seal with the cart info, which seems appropriate.
I copied the $content code (as required to show the seal) and placed it just above the final:
$content .= '</div>';
?>
in the tpl_shopping_cart.php
Re: Authorize.net Seal sidebox
I am trying to implement both the GoDaddy SSL seal and the Authorize.net seal. Problem is that the Readme states:
Add the following files:
/includes/languages/english/extra_definitions/YOUR_TEMPLATE/authorizenet_defines.php
/includes/modules/sideboxes/YOUR_TEMPLATE/authorizenet.php
/includes/modules/templates/YOUR_TEMPLATE/sideboxes/authorizenet.php
My file structure in the Zen Cart is:
Includes
Re: Authorize.net Seal sidebox
I am trying to implement both the GoDaddy SSL seal and the Authorize.net seal. Problem is that the Readme states:
Add the following files:
/includes/languages/english/extra_definitions/YOUR_TEMPLATE/authorizenet_defines.php
/includes/modules/sideboxes/YOUR_TEMPLATE/authorizenet.php
/includes/modules/templates/YOUR_TEMPLATE/sideboxes/authorizenet.php
I have no templates folder in the modules folder. I am using Classic. When I add the first two files, in the zen cart admin sideboxes page it shows "sideboxes/Classic/authorize.php". All the other boxes list them as "sideboxes/file.php". In any event either place I put the file when I turn on the box my cart disappears except for the header. Is there an alternate location for the third directory? will that solve it or should I create a new template file under modules?
Re: Authorize.net Seal sidebox
Found the answer here. Indeed there the paths are incorrect:
http://www.zen-cart.com/forum/showth...sidebox&page=2
Center the seal in the sidebox
Has anyone figured out how to center the seal in the sidebox. I tried the css method and putting div tags around it and I cant get it to center. My site is here: http://www.aclassactapparel.com
Re: Authorize.net Seal sidebox
<center></center> I used the center tags around the code provided by Authorize.net on tpl_authorizenet.php
<?php
/**
* tpl_authorizenet.php
*
* Loaded automatically by index.php?main_page=account_edit.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* $Id: tpl_authorize.net.php v 1.5 2006-09-06
* Zen Cart Mod For 1.3.8 by knuckle-101
*/
$content .= '<center><!-- (c) 2005, 2010. Authorize.Net is a registered trademark of CyberSource Corporation --> <div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="id rermoved";</script> <script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script> <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank">Electronic Check Processing</a> </div></center>';
?>