@@ -92,7 +92,11 @@ class OrderController extends ProducerBaseController | |||
if (\Yii::$app->user->isGuest && !$producer->option_allow_order_guest) { | |||
return $this->redirect( | |||
$this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producer', 'id' => $producer->id]) | |||
$this->getUrlManagerFrontend()->createAbsoluteUrl([ | |||
'site/producer', | |||
'id' => $producer->id, | |||
'return_url' => \Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order', 'slug_producer' => $this->getProducerCurrent()->slug]) | |||
]) | |||
); | |||
} | |||