Skip to content

Instantly share code, notes, and snippets.

@kugimiya kugimiya/4642.diff
Created Jan 4, 2019

Embed
What would you like to do?
diff --git a/app/addons/yandex_delivery/func.php b/app/addons/yandex_delivery/func.php
index 67def10157..22e180ff44 100644
--- a/app/addons/yandex_delivery/func.php
+++ b/app/addons/yandex_delivery/func.php
@@ -851,6 +851,7 @@ function fn_yandex_delivery_realtime_services_process_response_post($result, $sh
$yandex_delivery[$group_key][$shipping_id]['selected_point'] = $selected_point;
$yandex_delivery[$group_key][$shipping_id]['deliveries'] = $rate['data']['deliveries'];
+ Tygh::$app['view']->assign('yandex_delivery', $yandex_delivery);
Tygh::$app['session']['cart']['yandex_delivery'] = $yandex_delivery;
if (isset($pickup_points[$selected_point])) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.