craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
289 stars 139 forks source link

Not importing fields to products makes them empty anyways #1505

Open bartrylant opened 2 months ago

bartrylant commented 2 months ago

Description

When using FeedMe to update products in Commerce 5, existing values get overridden, even when you don't import the field.

Example:

Scherm­afbeelding 183

In this example, if FeedMe finds an existing product that has a description and has assets, the assets get removed and the description will be overridden by an empty value.

Steps to reproduce

  1. Import products with FeedMe
  2. Choose to update existing products
  3. Select a few field to NOT import
  4. The fields that have NOT been selected to update, will be updated anyway (with an empty value)

Additional info

i-just commented 2 months ago

Hi, thanks for getting in touch! I can’t replicate this issue.

Could you please share a screenshot of the entire mapping screen and provide a snippet of your feed? Also, what have you selected as the Primary Element (second screen when editing a feed)?

hassanmah commented 1 month ago

@i-just I also get this.

My config is set up as "Update", all fields other than the two in the CSV are mapped to "Don't import".

When I run the feed, it updates the two fields in the CSV but clears the data all other fields in the entry

Craft CMS - 4.12.1 Feed Me - 5.7.0