Coder Social home page Coder Social logo

Comments (4)

patrick-bigbridge avatar patrick-bigbridge commented on June 12, 2024

Is your store by chance still set to 'Enable Single-Store Mode'?

from product-import.

IvoJongmans avatar IvoJongmans commented on June 12, 2024

'Enable Single-Store Mode' is set to 'No'

image

from product-import.

patrick-bigbridge avatar patrick-bigbridge commented on June 12, 2024

This is quite a strange case, Ivo. But I think I found it.

I was able to reproduce your findings with your xml on a local 2.3.1 implementation. But when I checked it with my default xml import, a-basic-product.xml, I had no such problem.

So bit by bit I started to change your file into my file and see what happened. After a few tries I located the major difference: your xml file does not contain the website of the product.

What happens when you forget the website of a product is quite interesting. When you first modify the product via the backend, Magento offers to copy the global values to the store views of all websites:

product-in-websites

You are likely to miss this, because this tab is collapsed by default.

But when Magento copies these values, it just overwrites any existing store view values.

I was even able to reproduce this with a product I created in the backend (no import):

  • Create a product, with sku, name, description, price
  • Uncheck the websites that are checked by default
  • Save
  • Change to a store view
  • Change the store view values of name and description to something else
  • Uncheck the websites that are checked by default
  • Save
  • Change the store view values of name and description to something else
  • Leave the websites checked as is
  • Save

The store view now shows the global values again.

This may be considered a bug in Magento, but it is one does not normally occur. As long as you specify a website. :)

from product-import.

IvoJongmans avatar IvoJongmans commented on June 12, 2024

Hi,

This solved my issue. Thanks again!

from product-import.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.