VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: blackdream on February 25, 2013, 13:19:30 PM

Title: Item two
Post by: blackdream on February 25, 2013, 13:19:30 PM
Hello
In my store, if I enter 2 times the same article with the same code is saved too and I see the two products, I would like you dasse the error that the item is already present, if possible when I create the item and insert the code sku
thanks
Title: Re: Item two
Post by: jenkinhill on February 25, 2013, 16:46:05 PM
Product names and SKUs are not unique so there is no error likely to be detected.
Title: Re: Item two
Post by: blackdream on February 26, 2013, 22:06:45 PM
I did not understand
In my shop, if I enter 2 times the same article with the same code will be saved, I would like dasse the error that the item is already present.
thanks
Title: Re: Item two
Post by: jenkinhill on February 27, 2013, 10:35:58 AM
Each would be saved with a different product_id so they are seen to be different in the database. It may be possible to write a plugin to check for duplicated SKU or product names if you need one, but you would have to ask a third party developer about that.