Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Sort v1.7


susan767

Recommended Posts

Hi,

 

I'm trying to install Product Sort v1.7 contribution

http://addons.oscommerce.com/info/911

 

and having problem right off the bat.

 

When I run the following product_sort.sql,

 

ALTER TABLE products ADD `products_sort_order` INT(3);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (263, 'Display Product Sort Order', 'PRODUCT_SORT_ORDER', '0', 'Do you want to display the Product Sort Order column?', 8, 29, '', '', NULL, NULL);

 

I get the "#1062 - Duplicate entry '263' for key 1" error message.

 

Your help would be greatly appreciated,

 

Susasn

Link to comment
Share on other sites

  • 2 weeks later...
Hi,

 

I'm trying to install Product Sort v1.7 contribution

http://addons.oscommerce.com/info/911

 

and having problem right off the bat.

 

When I run the following product_sort.sql,

 

ALTER TABLE products ADD `products_sort_order` INT(3);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (263, 'Display Product Sort Order', 'PRODUCT_SORT_ORDER', '0', 'Do you want to display the Product Sort Order column?', 8, 29, '', '', NULL, NULL);

 

I get the "#1062 - Duplicate entry '263' for key 1" error message.

 

Your help would be greatly appreciated,

 

Susasn

 

it means there is already an entry in your database for id=263 - just change the id in your sql statement to another number, like 432 or something and you should be fine. alternatively just leave it blank '' and it will pick the next available id.

 

Scott

Edited by olsonsp4c
Link to comment
Share on other sites

it means there is already an entry in your database for id=263 - just change the id in your sql statement to another number, like 432 or something and you should be fine. alternatively just leave it blank '' and it will pick the next available id.

 

Scott

 

Thank you very much Scott. I really appreciate your help.

 

Susan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...