Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Sign in to follow this  

Quick attributes sort option question

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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this