Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi

I am quite new i OScommerce.

 

can I get some help with this problem:

 

when I add a new product, and add pricing in f.eks VIP, I get following mess:

 

1062 - Duplicate entry '1' for key 1

insert into products_groups (products_id, products_price, customers_group_id, customers_group_price) values ('28', '123.0000', '1', '11')

[TEP STOP]

 

when I opdate the product.

There is no problem, if I use a new pricingkeyword, witch not have been used in any products.

 

 

Poul Knopp

Denmark

Posted

Hi Poul,

 

I have the same problem with this contrib. Perhaps the fault is in general.php.

 

Bye

 

Bernhard

Posted

Better keep this in the Separate Pricing per Customer thread guys.

 

Actually, this has been solved. If you go to page 15 of the thread you should read in post 294 and 296 that the solution is to make the combination of two columns the primary key (products_id and customers_group_id).

Posted

You can try to set the row "products_id" which is in the table "product_groups" as a primary key. Perhaps this will solve this problem.

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