View Single Post
  #2  
Old 02-14-2005, 04:02 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: How to add CVV2 help link and description?

Quote:
Originally Posted by Ryano
I noticed that the new versions of x-cart, 4.0 and higher have the CVV2 code help link with the description included in their cart program.

I have been wanting to intergrate this into my version 3.5.8 and I was wondering if anyone would have the code from the 4.0 version that will work within the 3.5 versions. I'm sure a lot of other people would find lots of use of this as well who are using the older versions. Thanks in advance!

Look at register_ccinfo.tpl

Around line 80 you will see something like this:

Code:
{if #safeCCNum# eq ""} <input type=text name=card_cvv2 size=4 maxlength=4 value=""> CVV2 {else} {#safeCCcvv2#} <input type=hidden name=card_cvv2 value="{#safeCCcvv2#}"> {/if} </td> </tr> {/if}

Change to:

Code:
{if #safeCCNum# eq ""} <input type=text name=card_cvv2 size=4 maxlength=4 value=""> <a target="_blank" href="https://www.your_name.com/ccInfo/cvv.htm"> <font color="#000080">CVV2 Help</font></a> {else} {#safeCCcvv2#} <input type=hidden name=card_cvv2 value="{#safeCCcvv2#}"> {/if} </td> </tr> {/if}

Create a file in the root called ccInfo and an htm or html page named cvv.htm and add your description, pics, info etc.

If the folder name is changed or the page name is changed remember to change this in the url.

Also remember to change the domain name to yours in the url.


Hope this helps. I posted this as an answer in here somewhere prior, but not sure where it is. I have slept since then.
__________________
vs 4.1.12
Reply With Quote