Title: Merging does not replace attribute values when different.
Last modified: August 31, 2016

---

# Merging does not replace attribute values when different.

 *  [victoroem](https://wordpress.org/support/users/victoroem/)
 * (@victoroem)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/merging-does-not-replace-attribute-values-when-different/)
 * When I update a csv file to be imported, so most of the lines being imported 
   are similar with maybe some changes to some attributes, prices, etc.., I have
   found that if an attribute does not match the existing value, it will add on 
   to the existing value instead of replacing it.
 * What I would need it to do is to replace the attribute and not add on to it?
 * Example, I have an attribute slug name “gender” and a products with the value“
   male” for this attribute, in the new csv being imported I replaced the value 
   to female… What I get as a result is “male, female” registered in the product
   attribute. So it doesn’t replace the value male, instead it adds on to it. I 
   would like to replace the value and not add on to the existing value (which happens
   to work with all other types of data: price, descriptions, etc.., etc…)
 * I do not want to make new products with the same sku, as the id will be changed
   and I loose SEO rankings as I have seen that doing this method returns 404 error
   on google until they crawl and update the new item. So I suppose merging is the
   only method to not loose SEO.
 * [https://wordpress.org/plugins/woocommerce-csvimport/](https://wordpress.org/plugins/woocommerce-csvimport/)

The topic ‘Merging does not replace attribute values when different.’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-csvimport_aa9366.svg)
 * [Woocommerce CSV importer](https://wordpress.org/plugins/woocommerce-csvimport/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-csvimport/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-csvimport/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-csvimport/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-csvimport/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-csvimport/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [victoroem](https://wordpress.org/support/users/victoroem/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/merging-does-not-replace-attribute-values-when-different/)
 * Status: not resolved