Hi nicolas,
thanx for the info..
in my onShippingDisplay i fetches the delivery places from their feed and does
foreach ($servicePoints as $shop) {
$usable = new stdClass();
$usable->code = $shop->servicePointId;
$usable->shipping_currency_id = hikashop_getCurrency();
$usable->countries = $shop->visitingAddress->countryCode;
//$usable->email = $method['email'];
$usable->postal_code = $shop->visitingAddress->postalCode;
$usable->shipping_name = $shop->name;
$usable->shipping_type = "postdk shipping";
$usable->shipping_id = $shop->servicePointId;
$usable->shipping_price = $usable_methods[$key]->shipping_price;
$usable->shipping_ordering = $usable_methods[$key]->shipping_ordering;
$usable->shipping_description = $shop->name .' '. $shop->visitingAddress->streetName .' '. $shop->visitingAddress->streetNumber .', '. $shop->visitingAddress->postalCode .' '. $shop->visitingAddress->city;
$rates[$method->shipping_type ."-".$shop->servicePointId] = $usable;
}
unset($usable_methods[$key]);
$usable_methods = array_merge($usable_methods,$rates);
now i just added that the shipping-type in the names in $rates and now they have a name like postdk-7391
but its still not working and i still get same error as before.
I will gladly send you the whole plugin if you give me your email so you can look at it and maybe tell me what i'm doing wrong.