Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cross-Sell v1.1 with MS2


JonCloud

Recommended Posts

B)

Hello,

 

I searched the forums first but couldnt find my answer. Hopefully someone can help out.

 

I get this error message in admin when I try to cross sell products. Anyone recognize it? I think everything else works, so maybe fixing this is all I have to do.

 

1062 - Duplicate entry '1' for key 1

 

INSERT INTO products_xsell VALUES ('',4,2062,1)

 

[TEP STOP]

 

I will appreciate any advice.

Thanks,

Jason

Link to comment
Share on other sites

I flushed the database with

 

DROP TABLE IF EXISTS products_xsell;

CREATE TABLE products_xsell (

ID int(10) NOT NULL auto_increment,

products_id int(10) unsigned NOT NULL default '1',

xsell_id int(10) unsigned NOT NULL default '1',

sort_order int(10) unsigned NOT NULL default '1',

PRIMARY KEY (ID)

) TYPE=MyISAM;

 

And that fixed it!

 

J

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...