Skip to content
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

Not importing fields to products makes them empty anyways #1505

Open
bartrylant opened this issue Sep 3, 2024 · 2 comments
Open

Not importing fields to products makes them empty anyways #1505

bartrylant opened this issue Sep 3, 2024 · 2 comments
Labels

Comments

@bartrylant
Copy link

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

  • Craft version: Craft Pro 5.3.6
  • PHP version: 8.3.8
  • Database driver & version: MySQL 8.3.0
  • Plugins & versions: 6.3.0
@bartrylant bartrylant added the bug label Sep 3, 2024
@i-just
Copy link
Contributor

i-just commented Sep 3, 2024

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
Copy link

hassanmah commented Sep 28, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants