DHL Order Export Weight

28.03.2023 08:07
#1
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Сообщения: 706
Quote
DHL Order Export Weight

Since DHL extremely recalculates incorrect weight information for deliveries, the Addon urgently need the function that also exports the total weight of an Order.

Is it possible to integrate?

Many thanks in Advance.

 
29.03.2023 08:38
#2
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Сообщения: 706
Quote
Aw: DHL Order Export Weight

Think i could solve the problem.

Edit dhlorderexport.php

Can delete. Thanks.

 
29.03.2023 10:34
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25852
Quote
Aw: DHL Order Export Weight

Details.
field name?

We can add in the new version.

 
29.03.2023 11:53
#4
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Сообщения: 706
Quote
Aw: DHL Order Export Weight

I think, it´s indivudally changes for our dhl-contract. Change weights and return-strings in dhlorderexport.php:

$returnString = '';
if ($weight <= 0 || $weight > 31.5) {
$returnString = '1';
} else if ($weight <= 1) {
$returnString = '1';
} else if ($weight > 1 && $weight <= 3) {
$returnString = '3';
} else if ($weight > 3 && $weight <= 5) {
$returnString = '5';
} else if ($weight > 5 && $weight <= 10) {
$returnString = '10';
} else if ($weight > 10 && $weight <= 20) {
$returnString = '20';
} else if ($weight > 20 && $weight <= 31.5) {
$returnString = '31';
}

and
$row[] = $this->getOrderWeightKey($data->order_id, $listcountries[$data->d_country]['']); // WEIGHT ---

Now the row in csv shows the Weight of the Package. that´s all i need.

 
30.03.2023 12:28
#5
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Сообщения: 706
Quote
Aw: DHL Order Export Weight

-


Последнее изменение: 30.03.2023 12:32
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.