Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where & how do you put the credit card logos on columns


Guest

Recommended Posts

Basically you just need the images on your site, then decide where you want them added.

 

I would select one of the boxes or within the column a new table and include them in it.

 

You can use the tep_image(DIR_WS_IMAGES . 'filename.gif') to retrieve them if they are in your /images directory.

Link to comment
Share on other sites

Sorry to be so ignorant, but I have done this and am getting errors. I added the table at the end of the column_right.php page.

 

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if ($HTTP_GET_VARS['products_id']) {

/*include(DIR_WS_BOXES . 'manufacturer_info.php');*/

}

 

require(DIR_WS_BOXES . 'best_sellers.php');

 

 

 

/*require(DIR_WS_BOXES . 'reviews.php');*/

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

/*include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');*/

}

 

 

?>

<center><table border="2">

<tr>

<td><?php echo tep_image(DIR_WS_IMAGES . 'paylogo2.jpg'; ?>

</td></tr></table></center>

Link to comment
Share on other sites

<center><table border="2">

<tr>

<td><?php echo tep_image(DIR_WS_IMAGES . 'paylogo2.jpg'); ?>

</td></tr></table></center>

 

Add the paren on the end of the tep_image function and see if that helps :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...