Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Weird image on the page...


Guest

Recommended Posts

Newbie here, I've gotten a lot done in one day but there's one thing that's driving me crazy.... Within the category of the catalog I've changed the text to read 'Click on an item for more detail'. To the right of the text is an image that is not appearing (just the box with the 'x' and the alt text) and I have no idea how to get rid of it.

 

http://marctetrocanada.com/oscommerce/

 

is my site.

 

Thanks to anyone who can help me with this!

Link to comment
Share on other sites

Newbie here, I've gotten a lot done in one day but there's one thing that's driving me crazy.... Within the category of the catalog I've changed the text to read 'Click on an item for more detail'. To the right of the text is an image that is not appearing (just the box with the 'x' and the alt text) and I have no idea how to get rid of it.

 

http://marctetrocanada.com/oscommerce/

 

is my site.

 

Thanks to anyone who can help me with this!

 

It's pointing here http://marctetrocanada.com/oscommerce/images/ with no image file.

 

Remove this line (do a search for it, I think it's in your oscommerce/index.php) "<img src="images/" border="0" alt="Click on an item for more detail" title=" Click on an item for more detail " width="300" height="50">" or assign an image to it and change the width and height.

 

Dan

Link to comment
Share on other sites

It's pointing here http://marctetrocanada.com/oscommerce/images/ with no image file.

 

Remove this line (do a search for it, I think it's in your oscommerce/index.php) "<img src="images/" border="0" alt="Click on an item for more detail" title=" Click on an item for more detail " width="300" height="50">" or assign an image to it and change the width and height.

 

Dan

 

Hi Dan,

 

I downloaded the whole oscommerce directory files and did a search on this string, it was only once in the languages/english/index.php but only the text. I tried deleting the string following thinking that might do it but no luck.

 

Here is the whole file as is, any suggestions would be appreciated.

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '');

 

 

 

 

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Click on an item for more detail');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Welcome to the Store!');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

It might be an idea to

 

"assign an image to it "

 

as suggested in post 2.

 

Get an image for the category.

 

Go to the site admin area.

 

> Catalog > Categories & Products

 

Highlight the category, now on the right it should say image not found.

 

Edit

 

Code does need to be changed to not display if no image set up

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

It might be an idea to

 

"assign an image to it "

 

as suggested in post 2.

 

Get an image for the category.

 

Go to the site admin area.

 

> Catalog > Categories & Products

 

Highlight the category, now on the right it should say image not found.

 

Edit

 

Code does need to be changed to not display if no image set up

 

Thanks! That did it, I just assigned an empty gif to it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...