Redirect after Login

30.11.2023 15:20
#1
crimle
Joomshopping forum user no avatar
Name: crimle
09.01.2012
Posts: 50
Quote
Redirect after Login

Hi

When I login to the shop, I always get redirected to the homepage of the site. I would prefer a redirect to a page of the shop?

Thank you and kind regards
Chris


Joomla: 5.0.1
JoomShopping: 5.2.1
PHP: 8.2.12
MySQL: MySQLi 10.6.15-MariaDB
Website Url: https://swisstradinghub.ch/login
 
30.11.2023 19:41
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25969
Quote
Aw: Redirect after Login

components\com_jshopping\templates\default\user\login.php

or your template

components\com_jshopping\templates\{your template}\user\login.php

<input type = "hidden" name = "return" value = "<?php print $this->return ?>" />

change to

<input type = "hidden" name = "return" value = "<?php print $this->return ? $this->return : base64_encode('/shop') ; ?>" />

 
01.12.2023 08:27
#3
crimle
Joomshopping forum user no avatar
Name: crimle
09.01.2012
Posts: 50
Quote
Aw: Redirect after Login

It works!
Thank you for your swift support!
Kind regards
Chris

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.