X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   CVV2 Field in checkout v 3.4.0 (https://forum.x-cart.com/showthread.php?t=2866)

john80y 05-25-2003 04:10 PM

CVV2 Field in checkout v 3.4.0
 
Alot of customers don't know what there CVV2 number is or where to fins it... I have https://www.jab-tech.com/oldstore/cvv.html

I would like to put a small text link next to the CVV2 field that links to the above url.

How/where do I edit ??

shan 05-26-2003 11:34 AM

register_cc.tpl

john80y 05-26-2003 12:36 PM

Thank You...

The template looks like this

{* $Id: payment_cc.tpl,v 1.5 2003/03/31 08:36:51 sdg Exp $ *}
{if $config.disable_ccinfo ne "Y"}
<table border=0 cellspacing=0 cellpadding=2>
{include file="main/register_ccinfo.tpl"}
</table>
{else}
{$lng.disable_ccinfo_msg}

{/if}


Which means nothing to me... How/where do I edit to put a text link in ?

shan 05-26-2003 12:44 PM

sorry, try this file instead

register_ccinfo.tpl

john80y 05-26-2003 04:41 PM

This is a bit of code from register_ccinfo.tpl that relates to the cvv2

Code:

{if $config.disable_ccinfo eq "N"}
<tr valign=middle>
<td align=right>CVV2</td>
<td><font class=Star>*</font></td>
<td nowrap colspan=3>
{if #safeCCNum# eq ""}
<input type=text name=card_cvv2 size=4 maxlength=4 value="{$userinfo.card_cvv2}">
{else}
{#safeCCcvv2#}
<input type=hidden name=card_cvv2 value="{#safeCCcvv2#}">
{/if}
<a target="_blank" href="http://www.jab-tech.com/oldstore/cvv.html">
<font color="#000080">CVV2
Help</font></a>

</td>
</tr>
{/if}


I have entered the following html to try and get a text link to show but for some reason the link is not there ??

<a target="_blank" href="http://www.jab-tech.com/oldstore/cvv.html">
<font color="#000080">CVV2
Help</font></a>

john80y 07-13-2003 03:47 PM

Can anyone help or am I a lost cause ???

Xcart-Man 07-13-2003 04:16 PM

I put it right under my NEWS section
 
this way everybody sees it all the time as soon as they get to the store, and no pop-ups required.

adpboss 07-13-2003 04:18 PM

Quote:

Can anyone help or am I a lost cause ???

Do you really want an answer to that? :P LOL!

Code:

{if $config.disable_ccinfo eq "N"}
<tr valign=middle>
<td align=right>CVV2</td>
<td><font class=Star>*</font></td>
<td nowrap colspan=3>
{if #safeCCNum# eq ""}
<input type=text name=card_cvv2 size=4 maxlength=4 value="{$userinfo.card_cvv2}">
{else} <MOVE IT ABOVE THIS LINE>
{#safeCCcvv2#}
<input type=hidden name=card_cvv2 value="{#safeCCcvv2#}">
{/if}
<a target="_blank" href="http://www.jab-tech.com/oldstore/cvv.html">
<font color="#000080">CVV2
Help</font></a>

</td>
</tr>
{/if}


Try moving your link above the ELSE statement. I would imagine it is not being displayed because it is in the ELSE part of the IF statement. That ELSE is never happening because the first IF condition is being satisfied.

Or I could be totally wrong....

john80y 07-13-2003 08:20 PM

IT WORKS WOOHOO !


All times are GMT -8. The time now is 06:06 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.