netresearch / dhl-shipping-m2

DHL multi-division shipping extension for Magento 2
Open Software License 3.0
13 stars 4 forks source link

Free Shipping Option not working with DHL Shipping #40

Closed Assambra closed 2 years ago

Assambra commented 2 years ago

I have a free shipping option that can only be selected in the admin area. If I select this and try to create a delivery note, I am not redirected to the input mask for creating the shipping label, the shipping is created without a label and marked as shipped. Is there a solution for this?

ngolatka commented 2 years ago

@Assambra I guess your "free shipping option" is actually a separate shipping method that is not linked to DHL, therefore you don't get to the DHL shipping popup. Correct?

Assambra commented 2 years ago

Yes

I dont know if its allowed if yes i delete the link to the module i use: https://bsscommerce.com/magento-2-admin-shipping-method-extension.html

ngolatka commented 2 years ago

You could create a shopping cart price rule with a coupon code that you enter while creating the order. The shipping method would still be the one that works with DHL, and the cost would be zero. Does that work for you? Maybe you don't need the extra extension/shipping method anymore.

In my test, this was the result and I was able to create the DHL label as usual: image

Assambra commented 2 years ago

First of all thanks for your help. I've tried it and it works. The disadvantage is that the discount code appears in the order overview. This is not an option, because it can then be used again, which I see as a risk.

ngolatka commented 2 years ago

If you have specific criteria for free shipping (e.g. minimum order amount, customer group etc.), you could set those criteria at the cart price rule. That would prevent anyone from applying the discount code whenever they want.

Assambra commented 2 years ago

Yes, I saw that. It would only be nice if the DHL Shipping Module recognizes this and triggers the shipping label. Does the module recognize Magento's free shipping method and trigger the label?

ngolatka commented 2 years ago

The DHL module will always work in conjunction with the shipping method you configured here:

image

That's why I suggested the cart price rule: it let's you offer free shipping without changing the shipping method.

If you select another shipping method than the one in the dropdown above, our module will not "see" the order and do nothing.

Assambra commented 2 years ago

Actually I meant the Freeshipping on Order Amount from Magento. Whether this works with the DHL module. Described here for (UPS) https://docs.magento.com/user-guide/shipping/shipping-free.html#step-2-enable-free-shipping-in-the-carrier-configuration.

ngolatka commented 2 years ago

Sorry, that doesn't work. If it were so easy, we wouldn't need to use a cart price rule.

If I remember correctly, Magento changes the shipping method to "Free Shipping" when the minimum order amount is exceeded.

The cart price rule (with or without coupon code) is the easiest way I can think of. If you can describe your own conditions when to apply free shipping, you should be good to go.

ngolatka commented 2 years ago

No further activity -> issue closed.