Перейти к содержимому


Фотография
- - - - -

How to redirect after submitting order


Лучший Ответ Kess , 22 January 2014 - 21:48

I suppose you don't have payment methods enabled for your cart, if so, then you can change redirect in this file: media/zoo/applications/jbuniversal/framework/controllers/basket.php

$msg = JText::_('JBZOO_CART_SUCCESS_MESSAGE');
$this->setRedirect(JRoute::_($this->app->jbrouter->basketSuccess($Itemid, $appId), false), $msg);

You can change parameters of setRedirect function in order to set some specific page.

Перейти к сообщению


  • Закрытая тема Тема закрыта
Сообщений в теме: 4

#1 r.mahler

r.mahler

Отправлено 21 January 2014 - 13:49

Hi,

 

I must be overlooking something, but where or how am I controlling the redirect after submitting the order form?

I'm looking in the renderer templates section but can't find the file to tweak.

 

Hopefully you can help me out? :-)

 

Thnx in advance!

Roy


  • 0

#2 Kess

Kess

Отправлено 21 January 2014 - 21:20

Hello,

 

Please, tell us what version of JBZoo you are using. In the latest one it can be configured in the cart settings.


  • 0

#3 r.mahler

r.mahler

Отправлено 22 January 2014 - 09:01

what version of JBZoo

I'm using 2.0.2

 

Thnc for your time.

 

Roy


  • 0

#4 Kess

Kess

Отправлено 22 January 2014 - 21:48   Лучший Ответ

I suppose you don't have payment methods enabled for your cart, if so, then you can change redirect in this file: media/zoo/applications/jbuniversal/framework/controllers/basket.php

$msg = JText::_('JBZOO_CART_SUCCESS_MESSAGE');
$this->setRedirect(JRoute::_($this->app->jbrouter->basketSuccess($Itemid, $appId), false), $msg);

You can change parameters of setRedirect function in order to set some specific page.


  • 0

#5 r.mahler

r.mahler

Отправлено 23 January 2014 - 09:58

Thnx a lott Kess for your help!

 

 

You're the best O0


  • 0




Click to return to top of page in style!