Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column left picture in the bottom as opposed to the top


Guest

Recommended Posts

Adding the little html snippet below makes my "free delivery" image appear in the top of the column. Any chance of a short correction to sort this out? It would be great not to have to make a whole new box just for this.

 

<?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

<a href=shipping.php><img src=images/freeukdeliveryover20.jpg border=0></a>

Link to comment
Share on other sites

Does html have priority in this case and thats why the picture is added in the top?

I believe what's happening there is that that html is getting output before the echo statements contained in those files, try putting that anchor tag inside the php area, at the bottom of the listings like you have it, but make it use an echo statement to output it, and see if that helps...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...