Closed baali closed 3 years ago
When I upgraded the module by dropping the data, the column for DHL Label Status
was no longer there in the magento order grid and I also looked in the Columns
section to restore it but didn't find it. I will confirm this once more.
Following up on removing the data, is that necessary? Is there a way around it? Ideally I would like to avoid that.
You can migrate the old data as explained in the Wiki. But eventually the legacy module's data must be removed, yes.
Both the links, to the wiki and issue on not removing the data are helpful. Thank you @mam08ixo and @ngolatka. I am following the steps in wiki to install Post & DHL Shipping extension version 1.1.0
. Can I keep this thread open to resolve issues(if any) I can't resolve in the process of migrating the data?
If you encounter things that are likely to affect others, yes, that would make sense.
If you have other problems not related to this, you can go here: https://dhl.support.netresearch.de/support/tickets/new (ends up on my desk anyway).
Hello,
I followed the instructions on wiki, to port the data. As wiki suggested:
make sure to install the new Post & DHL Shipping extension version 1.1.0.
composer require dhl/shipping-m2:1.1.0
./bin/magento setup:upgrade
./bin/magento setup:di:compile
# Port the data:
php ./bin/magento dhlgw:migrate-attribute
At this stage I uninstalled the modules: Dhl_Shipping
and Dhl_LabelStatus
by also deleting the data:
./bin/magento module:uninstall --remove-data Dhl_Shipping Dhl_LabelStatus
Then I removed older module and upgraded to latest 1.5
version:
composer remove dhl/module-shipping-m2
composer require dhl/shipping-m2
./bin/magento setup:upgrade
./bin/magento setup:di:compile
./bin/magento setup:static-content:deploy
Beyond this, I am not able to confirm the data transfer of the attributes. Additionally:
DHL Label Status
but that column just shows, Not Available
. I can't seem to find a way to enable them again. Stores -> Configuration -> Sales -> Shipping Methods
I would see DHL Shipping
to configure Shipping account details, that are no longer visible. In my config.php
I see that line: 'Dhl_Shipping' => 1,
has been removed. Do I need to again install
the module Dhl_Shipping
after doing the step of installing shipping-m2
module? Or the additional modules like: Dhl_Ui
, Netresearch_ConfigFields
supposed to cover for them? If yes, where to setup DHL account settings again to be able to create shipping labels?I was not able to find my way through the user-guide to get the setup working again.
Please note there's also a quite comprehensive Knowledge Base for the module, covering both the legacy and the current module. Regarding the status "Not available" please see this article.
And about the configuration: it is now in a different area, which is also explained in the documentation.
Please read the Wiki/documentation carefully. There is also a chapter about account configuration.
The label status values are not migrated and will only be populated for new orders placed with the new module. Attribute values (HS code and item export description) should be copied to the new EAV attributes though.
Thanks a lot for the pointers and followup. I was able to get the plugin working.
We have an existing setup of magento version:
2.3.6
and now obsolete dhl-module-shipping-m2 module. My first attempt to update module by directly upgradingcomposer.json
didn't work, I was not able to add items to a cart(error I got was:quote couldn't be saved
)I followed comments on other closed issue and as pointed out here If I remove the data manually I am able to upgrade to this release.
But we are using another module: DHL Label Status extension and it is tied to obsolete extension. When I try to remove data just for
./bin/magento module:uninstall --remove-data Dhl_Shipping
, I can't because ofDhl_LabelStatus
dependency.Can this be resolved without removing data? Is there an alternate to
Dhl_LabelStatus
that works with latestDhl_Shipping
module?