Diese Seite ist auch auf Deutsch verfügbar.
Skip to main content
momocode

Redirect to previous page after login

Rating: no rating ( write a review )
Downloads: <100

Description

Highlights

  • Clean programming and best possibilities for individual adjustments
  • The app uses cookies, you can decide yourself whether these should be classified as technically necessary or as comfort features
  • Through the use of cookies, the app works even when HTTP cache is active
  • The redirection also supports URL changes triggered by Javascript, for example when filtering

Features

  • Redirect to the previous page after login
  • Can be activated for individual page types

About the Extension

Redirect to previous page after login

This app gives you the option to redirect the customer back to the previous page after login, instead of redirecting to the home page of the account area. In doing so, you can specify for which type of pages this function should be active, so that, for example, there is only a redirect to the previous page if the customer was on a product page before logging in.


You can enable login redirection for the following page types. If the customer goes to the login from one of these pages and you have enabled the redirection for this page type, then the customer will be redirected back to this page after login.

  • Home Page
  • Category Pages
  • Search Pages
  • Product Detail Pages
  • Cart Page
  • Wishlist Page
  • Landingpages

Note: By default, the redirect only works for the normal login under "/account/login". If someone clicks on "Proceed to checkout" in the shopping cart, he comes to the page "/checkout/register". If he logs in there, the logic of the app does not apply, so in that case after the login he is still forwarded to the checkout. If you want to use the redirect also for the login in the checkout or if you have built the login form into another page and want to use the redirect with this page as well, this is possible with a small code extension. More about this can be found in the documentation.


Cookie Note: The app uses cookies, you can determine via the app configuration whether the login redirect should be classified as technically necessary or as a comfort function. If you classify it as technically necessary, the redirect is always active, without explicit consent of the customer. If you classify it as a comfort function, the customer must first allow cookies in the Cookie Consent Tool in order for login redirect to work for them. If you are unsure how the function should be classified in your case according to the data protection regulations best to contact a data protection advisor.


The following minimum versions apply depending on the app version:

  • 1.x.x: Shopware 6.4.0.0 and PHP 7.4
  • 2.x.x: Shopware 6.4.0.0 and PHP 7.4
  • 3.x.x: Shopware 6.5.0.0 and PHP 8.1
  • 4.x.x: Shopware 6.6.0.0 and PHP 8.2

If you find an error, I would be glad if you inform me about it via the Shopware support tool. If you have a suggestion for improvement or individual customization wishes, you can contact me at moritz@momocode.de.


Ratings

If you like the app, please give a positive rating and help me and other interested shop owners.

Details

  • Available: English, German
  • Latest update: 11 November 2024
  • Publication date: 31 March 2022
  • Version: 4.0.0
  • Category: Customer account

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 5

    Average rating of 5 out of 5 stars

  • Partner since: 2019
  • Extensions: 6

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly