Add a unique field for listed items
7 posts
• Page 1 of 1
Add a unique field for listed items
I think the system needs to have a field with unique value to make sure we do not upload duplicated items on our site. With the number of items increases, it would be very hard for us to memorize and check if the item has already been uploaded or not. Two many duplicated items will make the site look bad.
We need to have such a field for each item. So if we accidentially upload the same item, the program can pop-up an error message "Sorry. The same item has already been added [link to that item]."
Can someone answer this?
We need to have such a field for each item. So if we accidentially upload the same item, the program can pop-up an error message "Sorry. The same item has already been added [link to that item]."
Can someone answer this?
- workwonder01
- Posts: 7
- Joined: Wed Jul 14, 2010 7:22 pm
Re: Add a unique field for listed items
Pretty sure this is what the SKU is for...

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4633
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: Add a unique field for listed items
well actually there are no checks to make sure the sku is unique though.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
- Xsecrets
- Posts: 5042
- Joined: Sat Oct 24, 2009 7:51 pm
- Location: FL US
Re: Add a unique field for listed items
Ah I see. Would have thought this would be a basic addition to be honest. Could spice it up and run the query through AJAX to say "SKU already exists" or something like that as you change the field

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4633
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: Add a unique field for listed items
Well sku was added later in time.. initially only Name and Model were (and still are) required fields
Would it be best to do a check for unique skus or models?
Would it be best to do a check for unique skus or models?

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18199
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Add a unique field for listed items
don't think there's really much difference which really, whichever is easier. I guess since model is required it would make sense to have that as the UID

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4633
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: Add a unique field for listed items
Please don't make Model required to be unique. Some of us that don't have products with UIDs use that field for other things (since it's required to be filled in) and we don't want to have to add random numbers to the end of the field to enter a product.
If you do decide to use Model for the UID, at least make it only give a warning instead of making it a requirement.
If you do decide to use Model for the UID, at least make it only give a warning instead of making it a requirement.
-

Johnathan - Global Moderator
- Posts: 2854
- Joined: Thu Dec 17, 2009 7:08 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: calldrin31 and 8 guests























