Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image in shopping cart content


Guest

Recommended Posts

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...