Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing product image fro product name in review info box


johnc

Recommended Posts

Hi All

 

I want to change the product image to the product name in the the review's info box as I do not use any product images...can anyone help..

 

Thanks

Link to comment
Share on other sites

In includes/boxes/reviews.php:

 

Change

tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)

to

$random_product['products_name']

This performs the straightforward replacement of text for image. If you want to change the style, modify the preceding div tag accordingly.

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

John,

I have seen these in passing. Unfortunately they are not quick-n-easy fixes.

  • Full product list : looks to me like you want a cross between All Categories contribution and All Products contribution, but in a single language, and probably presented differently

[*]Display-only products : Here you probably need something that will use the Out-of-Stock status indicator to still let your customers see the product but not let them purchase

[*]Order delivery date : This is the trickiest to do because you not only have to validate and capture it (not an easy job in itself) but you then have to consider its usage (order history, emails, invoice, order details, etc, etc)

On a quick glance through the contributions I couldn't see anything that would immediately suit your needs. I'll have a play, but don't hold your breath.

What version of osCommerce are you running on?

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

Hi Wizzud

 

I really appreciate you looking at this for me, I will follow-up and have a look at the cvontributions you mentioned also and see if they are similiar.

 

I am using oscommerce ms1 2.2, I am extremely happy with-it after using many systems over the year it is by far the best value for money and effort :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...