Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick attributes sort order question


laptop13

Recommended Posts

Installed attributes sort order and got the 1136 code deal, searched it in google and the fix from the forum that came up didnt help. Heres the question

 

"products_attributes_id, products_id, options_id, options_values_id, options_values_price, price_prefix, products_options_sort_order, sort_order, attribute_sort"

 

Is what i have in my database for product attributes table, and

 

tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . $products_id . "', '" . $options['products_options_id'] . "', '" . $values['products_options_values_id'] . "', '" . $HTTP_POST_VARS['price'][$rows] . "', '" . $HTTP_POST_VARS['prefix'][$rows] . "', '" . (int)$attributes_sort . "')");

 

Is what I have in admin/product_attributes.php

 

 

Which one and i missing and what is the correct way to add it? is this the only file i add it too?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...