-
Notifications
You must be signed in to change notification settings - Fork 307
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
[WIP] Restrict autolink to current file #36
Conversation
@dweeves Any feedback on this? |
Hi , i wanted to be sure it was "safe". so basically you will only use "simples" declared before the current configurable (not others). in that case it's ok for me but i cannot find the difference with "simples before configurable" case. |
Does 'simples before configurable' also work when I have simple products that shouldn't be matched?
Don't 1 and 2 also get connected to product 3? |
ah ok, so i begin to understand better. I'd rather expose it as a limitation of "simples before configurable" (i prefer this) since "simples before configurable" is an understable option that is already used by many user. Exposing it as "restict to simples of current import " is not clear in fact, since to work, your import mode needs simples before configurable structure as a prerequisite and don't perform matching over all file (hopefully ;) ) |
Yes indeed, it's just to restrict the configurables from matching all over the existing products, to only the current file. |
no , "basic" automatching is input data independent more or less. 2014-06-12 18:16 GMT+02:00 Barry vd. Heuvel [email protected]:
|
Yes okay. So how to proceed, should I change the naming of the checkbox/functions, or do you want me to change more? |
I was thinking about the case you wanted to resolve with the pull request and i'm quite convinced it's an invalid "generic" case. Let me explain:
So my thought is your code modification is trying to find a workaround to a misusage. |
I do agree that the problem could be solved by either:
But I do agree that in an optimal situation, this wouldn't bee needed. |
ok, so that's a very partcular setup constraint and i admit automatch may be too broad for overlapping configurable skus. since i can't find any simple way to pass trough such a constraint , here are the changes that would be necessary to make your feature understandable:
that should be sufficient for me to accept the pull. sorry for being that long to accept it but i really had to understand & discuss why it was necessary. |
OKay no problem :) I'll look into it as soon I have some free time. It isn't a problem directly because I just use this already, but it would be nice to be able to do this to keep up with new changes etc. |
Instead of creating a new option, I made this a sub-option of the 'simples before configurables', as suggested. Continued in #170 |
I have a webshop with many products, and some have short sku's. When importing via Magmi, I use automatching of sku's with the same start.
Is it possible to match the sku's only in the current file?
I did some tweaks, to also keep track of the skuList for the 'auto' matchmode, and do a link like this, instead of autoLink.
This hasn't been thouroughly tested, but what do you think of the idea/implementation?