Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attributes in New Product


mattjdye

Recommended Posts

Posted

hey, im not sure which version it is i use as it was preinstalled on my server. but ive tried installing the 'Product Attributes/Item Editor/Price v. 1' constribution. And i dont have the following code in my categories.php file under admin.

 

Just below:

 

if ($action == 'insert_product') {

$insert_sql_data = array('products_date_added' => 'now()');

 

$sql_data_array = array_merge($sql_data_array, $insert_sql_data);

 

tep_db_perform(TABLE_PRODUCTS, $sql_data_array);

$products_id = tep_db_insert_id();

 

 

Does anyone know how to go about this? or if there is another way to choose attributes while adding a new product. B)

Archived

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

×
×
  • Create New...