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

Incorrectly imported csv with rates #52

Open
lisovyievhenii opened this issue Jan 21, 2020 · 0 comments
Open

Incorrectly imported csv with rates #52

lisovyievhenii opened this issue Jan 21, 2020 · 0 comments

Comments

@lisovyievhenii
Copy link

lisovyievhenii commented Jan 21, 2020

See https://github.com/DPDBeNeLux/magento2-shipping/blob/master/Model/ResourceModel/Tablerate.php#L315

Change it to:

$this->importConditionName = $this->getConditionName($object, $this->shippingMethod);

Explanation:
when importer runs, the $object->getGroupId() returns the name of the first shipping method that you have (dpd_classic). It walks through the files for import, but $this->importConditionName stays same for all other shipping methods.

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

No branches or pull requests

1 participant