DPDBeNeLux / magento2-shipping

Let op: er zijn nieuwe DPD plugins (BETA versie) beschikbaar met belangrijke nieuwe functionaliteiten. De oude plugins zullen na Brexit niet meer goed functioneren, download daarom de nieuwe versie op Github/DPDconnect.
GNU General Public License v3.0
12 stars 15 forks source link

DPD shipping price is always displayed as "0.00" #11

Closed VesnaS closed 6 years ago

VesnaS commented 6 years ago

Hello,

We upgraded the extension to the latest version using composer. We re-configured extension (uploaded new tablerates files) per website level, for all DPD shipping methods, and selected "Condition" to be "Price vs. Destination".

But, on the checkout page, prices for all DPD shipping methods are always displayed as "0.00".

I checked out the code, and found that in all carrier models, condition name is read from the path "dpdshipping/tablerate/condition_name", which, as far as I can see, doesn't exist in this version of the extension.

In my opinion, those paths should be: "carriers/dpdpickup/condition_name" "carriers/dpdpredict/condition_name" "carriers/dpdsaturday/condition_name"

When I set those paths in the code, correct shipping prices are displayed per shipping method.

Can you please check this out, it prevents us from upgrading the extension?

dpdplugin commented 6 years ago

Thank you for reporting this issue!

We have verified that this is indeed a bug and released a new version (1.0.7) which includes a fix for this problem.

Please let me know if you experience any other issues.