Prestashop: fix typo

This commit is contained in:
Andreas Palm 2023-01-31 12:19:09 +01:00
parent 406811872c
commit 36322b0171

View File

@ -162,7 +162,7 @@ class Shopimporter_Presta extends ShopimporterBase
$this->prestaRequest('POST', 'order_histories', $obj->asXML());
$req = $this->prestaRequest('GET', "order_carriers?filter[order_id]=$auftrag&display=[id]");
$req = $this->prestaRequest('GET', "order_carriers?filter[id_order]=$auftrag&display=[id]");
$orderCarrierId = strval($req->order_carriers->order_carrier[0]->id);
$req = $this->prestaRequest('GET', "order_carriers/$orderCarrierId");
$req->order_carrier->tracking_number = $this->data['tracking'];