diff --git a/src/app/frontend/controllers/PageController.php b/src/app/frontend/controllers/PageController.php index 4c8e85c..a4ad707 100644 --- a/src/app/frontend/controllers/PageController.php +++ b/src/app/frontend/controllers/PageController.php @@ -798,7 +798,6 @@ if( !empty( $type_child ) ) { $type_alias = $type.'--'.$type_child; - } else { @@ -882,7 +881,7 @@ $news[$k]['link'] = $this->url->get(['for' => 'one_tips', 'tips_id' => $n['id'], 'tips_alias' => $n['alias']]); } - // get popular items_groups + // get popular items_groups // // $popular_groups = $this->models->getItems()->getPopularItems($this->lang_id); // $popular_groups = $this->common->explodeAlias($popular_groups); @@ -1469,15 +1468,19 @@ public function aboutuaAction(){ $this->view->setMainView('about_ukr'); } + public function aboutengAction(){ $this->view->setMainView('about_eng'); } + public function please_returnAction(){ $this->view->setMainView('please_return'); } - public function basket_uaAction(){ + + public function basket_uaAction(){ $this->view->setMainView('basket_ua'); } + public function basket_ruAction(){ $this->view->setMainView('basket_ru'); } diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php index a391a97..53faa25 100644 --- a/src/app/frontend/views/partial/item_group.php +++ b/src/app/frontend/views/partial/item_group.php @@ -39,6 +39,9 @@ echo ''.$i['price'].' грн
'; echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн'; } + else { + echo ''.$i['price'].' грн'; + } } else { echo ''.$i['price'].' грн'; -- libgit2 0.21.4