Page 1 of 1
Remove duplicates from manufacturer
Posted: Sun Oct 27, 2013 8:38 pm
by vijay.priyani
Can anyone help me to figure out how to remove duplicates from manufacturer using code
plz help me
Re: Remove duplicates from manufacturer
Posted: Sun Oct 27, 2013 9:15 pm
by labeshops
Duplicates of what? Which version of opencart?
Not enough information to figure out how to help you.
Re: Remove duplicates from manufacturer
Posted: Sun Oct 27, 2013 9:23 pm
by vijay.priyani
My Opencart Version is 1.5.4
And i want to remove duplicates it the admin section Catalog--> Manufacturer -> Insert
When we insert Manufacturer Name is just want it will not duplicate if same name is present in a list.
Re: Remove duplicates from manufacturer
Posted: Sun Oct 27, 2013 11:22 pm
by labeshops
Just check the box next to the one you want to delete, then click on "delete" instead of "insert" button.
If you have assigned that duplicate to products, you will need to change it on the product first to whichever version you want to keep, but otherwise, no coding needed - just delete what you want to delete.
Re: Remove duplicates from manufacturer
Posted: Mon Oct 28, 2013 12:18 am
by vijay.priyani
But problem is this that store has many Manufactures so its hard to find is Manufactures we want to insert is previously inserted or not
Re: Remove duplicates from manufacturer
Posted: Mon Oct 28, 2013 4:04 am
by labeshops
And you don't have a written list of manufacturers you can check it against?
There is no real way to guard against duplication - especially for something like manufacturers you could enter in different ways like "ABC Co" "ABC Corp" "The ABC Company" or whatever else you might come up with at the time. You really have to keep yourself consistent when entering data. Might take a while to clean it up if it's really that out of hand right now, but once you do, make sure you and every one entering items keeps track.