Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Graphic Inside Info Box


salesman

Recommended Posts

I made a copy of the Information Info Box and Deleted the link references and replaced it with the following code borrowed from another topic

 

?>

<!-- Free Shipping Graphic //-->

<tr>

<td>

<?php

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

                              'text'  => BOX_HEADING_FREE_SHIPPING

                            );

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

                              'text'  => tep_image('free_shipping.gif', 90, 90 'Orders over $50 Free')

        );

 

?>

            </td>

          </tr>

<!-- Free_Shipping_eof //-->

 

The graphic does not display and the Info Box header reads "BOX_HEADING_FREE_SHIPPING". The "free_shipping.gif" file is stored in the catalog/images directory.

 

What am I doing wrong? Any assistance is appreciated!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...