Oh.
Thanks for explaining in more detail. It's always helpful to step way back and explain the business problem behind the question. I think I know better now what problem you're wanting to solve...
You're asking to have the store read everything you've entered, compare it against everything already in the database, and intelligently know whether any of that information is already there.
What "rule" would it be able to use to know whether it's a duplicate? It's very difficult to consistently detect duplicates without having a common unique "key".
There are a thousand ways to misspell a product name or to add spaces between words or name a product differently ("Pictures of our Wedding" vs "Wedding Pictures" vs "Wedding Photos", for example), so using the product name would be a bad idea.
Most often stores will use the "product model number" as a unique key. If there was a plugin that would do the checking, would it be safe to tell it to only compare whether the MODEL NUMBER you entered is already in the database? If not, what else is your magical unique key in your business?
Oh, another important question: WHY do you find yourself entering duplicates anyway? What's the business process that makes you enter something that's already in there? Who's telling you to add it, without knowing it's already there?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.