$m->payment_method = $orderDetails['paymentMethod'];
$m->fake = 1;
$m->raw_data = json_encode($orderDetails, JSON_UNESCAPED_UNICODE);
-
+ $baseUrl = "https://flowwow.com/admin/order/index?Order%5Bid%5D=";
+ $m->order_link = $baseUrl . $m->marketplace_order_id;
$m->warehouse_guid = '206008';
$m->store_id = 4;
$m->status_1c = MarketplaceOrders::STATUSES_1C_CREATED_IN_ERP;
$m->cancel_requested = (int)$raw['cancelRequested'];
$m->fake = 1;
$m->raw_data = json_encode($raw, JSON_UNESCAPED_UNICODE);
+ $baseUrl = "https://partner.market.yandex.ru/order/";
+ $m->order_link = $baseUrl . $m->marketplace_order_id . "?tld=ru&partnerId=197274828";
$m->guid = DataHelper::createGuidMy('08');
$m->warehouse_guid = '109969229';
$m->store_id = 4;