Giter Site home page Giter Site logo

Remove store view from SKU about magmi-git HOT 10 OPEN

Josch- avatar Josch- commented on June 16, 2024
Remove store view from SKU

from magmi-git.

Comments (10)

dweeves avatar dweeves commented on June 16, 2024

Hi, unhopefully for your case products are not bound to store views but websites.

So using "websites" column , you may get what you want but at "website" level only.

Say:

you have sku001 in Website 1 & Website 2 and you want to remove it from WebSite 2

the following file:

"sku","websites","store"
"sku001","Website 1","ws1_german,ws1_english"

should do the trick (but will of course remove your item from all views from website 2)
The "store" column is just here for websites to be handled correcly & not return "admin" (default value if store not set) which would sort of cancel websites setting.

To "remove" a product from a given "store view" only,the best would be to "not show" it for this store view. ie set its visibility to "Not visible individually" for this particular store view.

Say

"sku","store","visibility"
"sku001","ws2_german","1"

would disable item for ws2_german store view.

from magmi-git.

Kamik avatar Kamik commented on June 16, 2024

status has scope website, not store view. cannot disabled for store view.
And I see that product can delete only from website, not from store view. or did I miss something?

from magmi-git.

dweeves avatar dweeves commented on June 16, 2024

you're right for status, let's play with visibility then , updated above post accordingly.

from magmi-git.

Josch- avatar Josch- commented on June 16, 2024

Hi,

thanks a lot for your answers. I'll try to specify the problem a little bit more.

@dweeves: we tried out your suggestion but that - as mentioned - only changes
the visibilty of the SKU under "Product Information" > "General" > "Visibility".

What we need is to assign a SKU to one or more websites. But that does not
work. The SKU appears generally on ALL websites under "Product Information" >
"Websites". How can we achieve that?

When we import like this:

"sku","websites"
"12345","Website 1"

the SKU appears in Website 1 AND Website 2. Before running this update we
unselected all Websites under "Product Information" > "Websites". After the
import listed above all websites are selected instead of only Website 1.

What goes wrong here? Are we possibly missing a Magmi Plugin?

Thanks a lot in advance

Josch

from magmi-git.

dweeves avatar dweeves commented on June 16, 2024

after a quick look at the code, you also need to put "store" column , otherwise it will default to admin & get all websites back for assignment. updating sample
This is not very natural however, i'll try to update this to support the case in a rapid patch release.

from magmi-git.

Josch- avatar Josch- commented on June 16, 2024

Hi dweeves,

thanks a lot. We tried it out. Now we've imported this:

"sku","websites","store"
"12345","Website 1","Store 1"

That produces an error in the Magmi import, that says that the
store code "Store 1" is unknown.

When we import this:

"sku","websites","store"
"12345","Website 1","ws1_german"

here we set a store view code - not a store code - then it works
and the SKU has the Website "Website 1" enabled under "Product
Information" > "Websites".

Thats a little bit weird %-/

But that also works with this import configuration:

"sku","store"
"12345","ws1_german"

without the column "Websites".

That's the first strange thing.

Second problem - we are unable to delete a Website from a SKU.

Example: When we import this:

"sku","websites","store"
"12345","Website 1,Website 2","ws1_german"

The SKU is enabled in "Website 1" and "Website 2". When we
run this after it:

"sku","websites","store"
"12345","Website 1","ws1_german"

The SKU is still enabled in BOTH Websites.

Seems as if that could be a bug?

Thanks a lot in advance

Josch

from magmi-git.

Josch- avatar Josch- commented on June 16, 2024

Hi there - anything new about this problem?

Thanks a lot in advance and regards

Josch

from magmi-git.

Josch- avatar Josch- commented on June 16, 2024

Uhm - we are stuck here and unable to bring our shop to the newest Magento version. Please help :-)

from magmi-git.

aruna-emb avatar aruna-emb commented on June 16, 2024

Hi,
I have two website English and Russian. I am trying to upload the products using magmi v0.7.18beta2 to both the websites.All the values are same even the URL except Product name and description.

  1. When i import product sheet with magmi using mode "create new items & update existing ones" , all the data given for website mentioned in the last is overwritten.
  2. If i import using mode "create new items only, skip existing ones" the data given for website mentioned in the first is taken and all other data is skipped.
    So i wanted product to be mapped to both English and Russian website,and display in the frontend without any error.Please find the attached screenshot of the csv file.
    screenshot_csv

Thanks a lot in advance

Regards,
Aruna

from magmi-git.

Jeeva-Rathinam avatar Jeeva-Rathinam commented on June 16, 2024

Multi Store Details : https://snag.gy/rGlAPY.jpg, csv details : https://snag.gy/ZNicAE.jpg, still not working, images not updated? what is my error?

from magmi-git.

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.