-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate Attribute Option Value #126
Comments
Webdlp, I'm not aware of a Standard Attribute Import plugin. Where did you find that plugin or is that plugin the "Mass Select/Multiselect Attribute value translater" utility plugin? I had a very similar problem in magneto 1.8, in my case when I looked at the attribute on the admin page I get a exception. |
In magmi 0.7.19a, all these utilities are included. |
I found duplication is not only just for attributes, but also for product tags. |
Hello, We encounter the same issue here (v0.7.19a and magento CE 1.9). Attribute values are duplicated during import. |
Hello all and @dweeves I also have a similar issue today and I have done some testing about this. Here is what I have found:
|
fixed by latest git commit, also you can use advanced utility, custom SQL, "remove orphan option values" option to fix the existing db. |
Thanks for the fix. |
Thank you dweeves ! |
I had tried v0.7.19a, v0.7.20 and v0.7.21_git on my magento v 1.901. The duplicate issues are still there. Which version do you guys use to fix the duplicate issue? Thanks! |
I think new duplicates won't be created but you need first to remove existing ones & perform à new import. |
Hello all, I tested with a fresh catalog and no attribute values, I have the same issue. Kevin |
Ok, so i'll need to strengthen my unit test. could you post some basic sample files that cause your problem, it may help. I need a much information as i can on the setups on which this bug is happening. |
I just have a configurable product with color as attribute. Here is the sample csv file I used to import. The products can be listed successfully but also create duplicate color options such as blue, purple, multicolor and pink: websites,store,attribute_set,type,sku,categories,name,description,visibility,qty,image,small_image,thumbnail,color,configurable_attributes Product #: HCC195 base,admin,Fashion Jewelry Attribute Set,simple,HCC195-Purple,Fashion Jewelry/Hair Accessories/Hair Pins,Test HCC195 Purple," Product #: HCC195 base,admin,Fashion Jewelry Attribute Set,simple,HCC195-Multicolor,Fashion Jewelry/Hair Accessories/Hair Pins,Test HCC195 Multicolor," Product #: HCC195 base,admin,Fashion Jewelry Attribute Set,simple,HCC195-Pink,Fashion Jewelry/Hair Accessories/Hair Pins,Test HCC195 Pink," Product #: HCC195 base,admin,Fashion Jewelry Attribute Set,configurable,HCC195,Fashion Jewelry/Hair Accessories/Hair Pins,Test HCC195," Product #: HCC195 |
I made some improvements on latest git commit. could you first use the "Advanced utilities/Custom Magento SQL Utility v1.0.3" and select the "Remove specific orphan option values" option of this utilty to cleanup the "color" attribute ? |
some html tags do not show in Description in above file. |
dweeves, I will try as you suggest. |
I ran "Advanced utilities/Custom Magento SQL Utility v1.0.3" and got this test result: Running Magmi Utilities Engine v1.0.1 by dweeves Magento Mass Importer by dweeves - version:0.7.21_git Custom Magento SQL Utility-1.0.3-Dweeves- But this script did not remove the duplicate options. Apparently, those duplicate options have at least one product associated with them - the one I just imported. To remove those duplicate options, I have to manually delete the options and save configuration for attribute "color". I updated magmi-git (the lastest one, three days old) as suggested. The duplicate options are still showing up after import. Do you think that my csv file may have some problem? |
maybe the attribute "color" itself may have a problem. it should be set could you send the "raw" csv file to dweeves@gmail.com ? 2014-11-24 15:48 GMT+01:00 webdlp notifications@github.com:
|
The setting was correct for attribute "color". I used this attribute to create many configurable products in the backend with no issue. I sent a sample csv file to your e-mail. Please check. Thank you! |
I totally refactored the option management. i cannot produce a case that generate duplicates with my unit tests. could you check latest ? |
Dear @dweeves Thank you for this amazing development. Will definitely make a donation to your project, saved so much time for our project. Best regards, |
Dear @dweeves, any news here? Could you replay this behavior? |
I have a similar issue with the latest git version:
Is this related? For example, admin = store_id 0, nl=1, en=2, de=3. After import, I should have 0, 2 and 3 as options, but for store 2 and 3, a duplicate option is added.. This will fail on the frontend and stop the search index.. |
It has been almost half year past since I first had this problem. Recently, I started to change my template to the rwd template and had problem in color swatch for certain colors. These colors were exactly the same with the duplicate colors I had encountered several months ago with Magmi. Since the color swatch is not related to Magmi, I believed there was some difference between the colors worked and the colors did not work. Finally, I found that those did not work had a white space in my database, which was created during attribute setup. That explains why I had value trimmer but still had the duplicate issue. |
I am new in Magmi. I am facing a issue while going to import the configurable products. Duplicate attribute option value are getting inserted. I am using Magmi v0.7.21. |
It seems the values are really different , so no real duplicates. "Alcaltel Lucent" <> "Alcatel-Lucent" ( - ) 2016-03-21 7:49 GMT+01:00 Chetan Bura notifications@github.com:
|
I'd rather use the Mass Select Attribute value translater utility, but I also tried this with the regular Product importer by using the following CSV data: It creates the new value for ebay_condition_id, but it doesn't seem to process the second row setting the ebay view value of 1500. Even if I separate them into different imports, it doesn't add the store view value of 1500. I'm using latest version off sourceforge: 0.7.22 |
If it can help... I've also been facing way too much duplicated entries in the attribute_option_value table and millions in catalog_product_attribute_pricing, causing the .ibdata file and import timing growing dangerously. We finally discovered that duplicated entries were coming from unmanaged input values using special characters (such as ¾). As these values were not handled, "39¾" was becoming a new "39" entry, at each import. Finally, if your database has been signifiticatibly growing, remember that truncate or delete data from tables won't drop your database weight. To get back to normal, you'll have to dump it, delete ibdata file and source it back. |
I had duplicate attribute option value issue for configurable products. My website is running magento 1.901 and magmi 0.7.19a. Everything seems running fine except duplicate attribute option values for configurable products. For example, I imported a configurable product with 5 colors (Blue, Gold, Green, Pink, Red) with configurable_attributes as color. The product was imported successfully. But it also created three new but duplicate attribute option values for color (Blue, Gold, Pink), which I had set up before. The other two color option values (Green and Red) still used the original values without duplication, which are correct. That is very weird.
I did not find Capital and white space issues. I also turned on value trimmer, which did not help. Therefore, I'd like to hear some advices from our magmi experts
The following are plugins I used to import configurable products.
CSV Datasource (1.3.1) by Dweeves
On the fly category creator/importer (0.2.3) by Dweeves
Image attributes processor (1.0.25) by Dweeves
On the fly indexer (0.1.5) by Dweeves
Tier price importer (0.0.9a) by Dweeves,bepixeld
Generic mapper (0.0.6a) by Dweeves
Configurable Item processor (1.3.7a) by Dweeves
Standard Attribute Import (1.0.6) by Dweeves
Thanks!
The text was updated successfully, but these errors were encountered: