1 Comment

CSV import updates wrong attribute

Magento 2 Join Product Name To Custom Grid DI Not working
Dynamic Page Overriding the FPC

We have a dropdown attribute named product_dimmable which is set to a value of “Yes” for a product.

When we import the following CSV file the product_dimmable value gets reset to the default value of “No” for no apparent reason:

sku,price
80179,29.99

We are using the standard import method for Magento CE 1.7.0.2.

Does anyone know why this happens and how it can be prevented?

Related Posts

  • allow to save empty value for dropdown attribute while importing products through csv in magento2 import (1)
    while importing products in magento2 given feature,my csv has empty values for some columns like gender which are not required case which has to be updated to empty value if empty value exists in CSV file. can anyone suggest me how do this with default magento2 import feature.
  • Magento 2: Updated file not working (1)
    I want to update the class Select and its getValuesHTML() method which is saved here: module-catalog/Block/Product/View/Options/Type/Select.php I have made a copy of this file and placed it in my theme […]
  • Magento 2: The value of attribute “is_new” must be set (0)
    Whenever I try to save a category I get The value of attribute "is_new" must be set. How can I solve that? This issue occur after update magento version from magento 2.0.9 CE to magento 2.1.1 CE. Thanks!
  • Magento 2: The value of attribute “is_new” must be set (0)
    Whenever I try to save a category I get The value of attribute "is_new" must be set. How can I solve that? This issue occur after update magento version from magento 2.0.9 CE to magento 2.1.1 CE. Thanks!
  • Magento 2: The value of attribute “is_new” must be set (0)
    Whenever I try to save a category I get The value of attribute "is_new" must be set. How can I solve that? This issue occur after update magento version from magento 2.0.9 CE to magento 2.1.1 CE. Thanks!
  • Magento 2: The value of attribute “is_new” must be set (0)
    Whenever I try to save a category I get The value of attribute "is_new" must be set. How can I solve that? This issue occur after update magento version from magento 2.0.9 CE to magento 2.1.1 CE. Thanks!
  • How verify customer presence in database during the import (1)
    I've to import custumers from a txt file but I don't know what I have to use like univocal attribute to verify the customer presence into database. For example, for the products import I use the sku attribute. $product_model = mage::getModel('catalog/product'); […]
  • How update customer attributes (0)
    I've to import some customers from a txt file. I verify a customer presence from email attribute. How can I update a customer attribute? The code to import a new product is the following: $customer = $costumer_model = Mage::getModel('customer/customer'); […]
  • How verify customer presence in database during the import (1)
    I've to import custumers from a txt file but I don't know what I have to use like univocal attribute to verify the customer presence into database. For example, for the products import I use the sku attribute. $product_model = mage::getModel('catalog/product'); […]
  • When are sections.xml files considered? (1)
    I have the following XML file "sections.xml" at the following path: Magento2Dir/app/code/vendor/module/etc/frontend/sections/xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" […]
Magento 2 Join Product Name To Custom Grid DI Not working
Dynamic Page Overriding the FPC

1 Comment on this article

  • User November 12, 2016

    Tested this on both default Magento 1.7 and Magento 1.9 and the issue only occurs on 1.7 if the attribute is a dropdown type with a default value. If no default value is set for the attribute, the value is not lost when running an import.

    The solution is therefore to make sure that none of the values for the dropdown are set to be the default.

    Reply

Add a comment