Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup for CC "Help"


Guest

Recommended Posts

Installed contirbution "99" for displaying CVV # for customer entry. Everything works great except when I click on "HELP" for displaying popup_cvv.php to show location of number it won't open. The popup_cvv.php itself works fine. Any suggestions would be appreciated.

Link to comment
Share on other sites

  • 6 months later...
Installed contirbution "99" for displaying CVV # for customer entry. Everything works great except when I click on "HELP" for displaying popup_cvv.php to show location of number it won't open. The popup_cvv.php itself works fine. Any suggestions would be appreciated.

 

In checkout_payment.php just above //--></script> add:

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re

sizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,l

eft=150')

}

 

To declare the function and change any of the sizes etc to suit

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...