Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Recommended Posts

Здравствуйте! Подскажите пожалуйси, как можно посредством модуля перенаправлять с (route=checkout/checkout) на свой route или же подменять контент за данным?

Edited by oRIOnTx
Link to comment
Share on other sites


21 минуту назад, AlexDW сказал:

пример в самом контроллере catalog\controller\checkout\checkout.php

$this->response->redirect($this->url->link('checkout/cart'));

Спасипотому что за ответ, но я понимаю как реализовать простот редирект. Выше описал другую проблему. Мне нужно понимать, как синдартные роуты, можно переопрегделять на свои ресурсы. Например: возьмем тот же роут checkout и посредством написания модуля направлять пользователя на свою страницу.

 

 

Edited by oRIOnTx
Link to comment
Share on other sites


1 час назад, AlexDW сказал:

пример в самом контроллере catalog\controller\checkout\checkout.php

$this->response->redirect($this->url->link('checkout/cart'));

Возможно есть эвент, что-бы можно было слушать с воем модули роуты и потом уже выполнять нужные гдействия ?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.