Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image in shopping cart content


Guest

Recommended Posts

Posted

Hi all,

 

Does any of U know of a way to include Image of the item in shopping cart content,

 

Thanx,

 

:)

 

Ikon

Posted

Trying to add AddImageInCart_1_01 to my shop but can not find the:

 

orders_details.php in the code

 

:(

 

Ikon

Posted

Sorry about the trouble,

 

but in the instructions of the add AddImageInCart_1_01 it says:

 

Place this code in your includesmodulesgeneral.php

Add this Code:



////

// Return a product's image

// TABLES: products

function tep_get_my_products_image($product_id) {

   $product_normal_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . $product_id . "'");

   $product_normal = tep_db_fetch_array($product_normal_query);

   return $product_normal['products_image']; 

}

 

But There is no file like that in includesmodulesgeneral.php

 

The only general.php is in includesfunctionsgeneral.php

 

???

 

Thanx,

 

Ikon

Archived

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

×
×
  • Create New...