Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info Box Help


marinain

Recommended Posts

Posted

How to I add my own info box/image box to the right hand side of my site?

 

I want to be able to add a box/image that say my phone number and a box/image for my live help script.?

 

Also, how can I make a new page on the cart so I can (if I can) add a php include to include my FAQ's script/page?

 

Anyone know how please?

 

Thank you

Posted

here is a box template I picked up from another post. Just change the image name and add a definition for the BOX_HEADING_IMAGE_PHONE, similar for whatever you need to put into a box just place it next to the text field of the array. (scripts, custom text etc).

 

<!-- image_box //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_IMAGE_PHONE);

new infoBoxHeading($info_box_contents, false, false);

$info_box_contents = array();
$info_box_contents[] = array('text' => tep_image(DIR_WS_IMAGES . 'your_image_to_display_here.gif') );

new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- image_box_eof //-->

Archived

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

×
×
  • Create New...