/** * Подготовка данных для шаблона * @return $this */ public function run() { if ($this->allowRegisterAsset) { ShopGlobalWidget::widget(['clientOptions' => $this->shopClientOptions]); } return parent::run(); }
* @copyright 2010 SkeekS (СкикС) * @date 22.09.2015 */ /* @var $this yii\web\View */ if (!\Yii::$app->shop->shopFuser->buyer) { \Yii::$app->response->redirect(\yii\helpers\Url::to(['/shop/cart/checkout'])); } ?> <?php echo $this->render('@template/include/breadcrumbs', ['title' => 'Выбор способа оплаты']); ?> <? \frontend\assets\CartAsset::register($this); \skeeks\cms\shop\widgets\ShopGlobalWidget::widget(); $this->registerJs(<<<JS (function(sx, $, _) { new sx.classes.shop.FullCart(sx.Shop, 'sx-cart-full'); })(sx, sx.$, sx._); JS ); ?> <!--=== Content Part ===--> <section> <div class="container">