Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

hello,

I have installed Paypal logo w. admin but i want to modify it a bit..

 

In my catalog includes boxes, i have installed a php file that defines what happens when a customer clicks on it.. i want to change it so that when someone cliks on it, my own page pops up.. instead of the paypall page.. I just can't figure out what code to change and to what.. any help?

 

i have included the box php code:

 

<?php

 $info_box_contents = array();
 $info_box_contents[] = array('text'  => '' . PAYPALLOGO_BOX_HEADING_TITLE);						   

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'center',							   
						   'text'  => '<a href="" onclick="java script:window.open(\'https://www.paypal.com/us/mrb/pal='. PAYPALLOGO_REFERRAL_ID .'\',\'olcwhatispaypal\',\'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350\');"><img src="'. PAYPALLOGO_IMAGE_LINK .'" border="0" alt="Solution Graphics">'. PAYPALLOGO_DISPLAY_LINK_TITLE .'</a>');

		new infoBox($info_box_contents);

?>

 

thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...