SureCart Tips - How to Leverage SureCart Login for a Seamless Visitor Experience (Login Redirect)

Everyone knows that a good visitor browsing experience can reduce bounce rates and increase conversion probabilities. This is especially critical for e-commerce sites: the login experience when a visitor decides to buy after browsing products, and whether they stay on the original product page after logging in?

Once these key points are not handled well, visitors may lose patience and leave the site.

How to improve the visitor login experience? The interaction between WordPress's login mechanism, caching, and various plugins can truly test the patience of both site administrators and visitors.

How to utilize SureCart's login function to create a seamless, smooth login experience, while allowing visitors to stay on the original product page after logging in?

In this article, we will share the problems we encountered and the main topic of this post - how to utilize the SureCart login mechanism to build an uninterrupted visitor browsing experience.

Visitor Login Experience

Original Solution

When setting up the F&F Collection Contemporary Art Store, we tried using the WordPress Login/out block and the Header Account in Kadence that can be placed in the header menu.

For the Kadence Header Account, we chose the Modal Login method. After clicking login, a Popup login window appears, which looks quite premium and allows visitors to stay on the page they were browsing after logging in.

kadence-theme-account-login-modal

However, if the visitor's field of view has already scrolled past the header menu, it might be necessary to provide a login option within the product page, allowing visitors who decide to buy to log in quickly to proceed with the purchase.

Therefore, we added a login link using the Login/out block on the product page.

member-only-login-on-product-page

In a membership-based store, product prices, purchasing, and add-to-cart functions are hidden, and a login option is provided. We hope to use the "Redirect to current URL" feature of the Login/out block to allow visitors to have a smoother login and shopping experience.

Issues Encountered

Inconsistent Login Experience

First, this solution does not provide a consistent login experience for users because the interface of the header menu login function differs significantly from that of the Login/out block.

Showing Old Page Content After Login

Second, the site's caching mechanism causes quite a bit of trouble. Visitors often see the old page content (as if not logged in) even after logging in, even though we have already excluded the logged-in state from caching in Cloudflare.

Should we give up using caching to solve this problem?

It seems plausible, considering that the page load speed and checkout speed of many popular e-commerce sites are not very fast, and we have already gained significant advantages in this area using SureCart.

But I still don't want to give up so easily. After all, improving page load efficiency and reducing time can make the visitor's shopping experience smoother.

Firewall is Too Sensitive

The third issue is quite unique. We only discovered after the site went live that "so many customers do not remember their login passwords and frequently need to reset them."

This problem became another disaster when combined with the Cloudflare WAF mechanism and Facebook's in-app browser.

Because customers don't remember their passwords, they are used to using the browser's "Remember my password" and the site's "Reset Password" functions. Frequent interactions with the login form on the login page like this also often cause false blocks by Cloudflare.

banned by Cloudflare

Visitors being banned for no reason definitely results in the worst browsing experience.

Solution

SureCart Login Account Function

SureCart's Customer Dashboard login function is excellent. By default, it allows visitors to choose "Send magic link/code to Email" or log in directly by entering a password.

Nowadays, many e-commerce sites with excellent browsing experiences also provide the "Send verification code" function. After all, expecting customers to remember the password for every website they have ever used is quite unrealistic.

Through SureCart's login account function, customers don't need to reset passwords or repeatedly log in, allowing us to solve the aforementioned "Firewall is too sensitive" and "Inconsistent login experience" problems.

Since the default behavior is logging into SureCart's /customer-dashboard/ page, we have only one step left: as long as we can redirect back to the originally browsed product page after login, we are done.

Redirect to Original Page After Login

To solve the problem of defaulting to the Customer Dashboard after logging in and not staying on the original product page, we can refer to the "Redirect to current URL" mechanism of the Login/out block.

When clicking the login link of the Login/out block on the page, you can see that the parameter "?redirect_to=Original_URL" is added to the end of the link. Through WordPress's login_redirect core function, visitors can be redirected to the original page after logging in, which is quite convenient.

https://domain.com/wp-login.php?redirect_to=Current_URL

To achieve the same goal, we use any block editor or page editor capable of inserting Dynamic Links to dynamically add the "Original Page" to the end of the Customer Dashboard link.

https://domain.com/customer-dashboard/?redirect_to=Current_URL

In addition to this, by adding a bit of PHP code to specify the redirection mechanism, we can complete the "Redirect to original page after login" function!

By using SureCart's login account function and redirecting back to the original page after login, the page will also reload and update successfully, eliminating the "Showing old page content after login" issue.

Conclusion

Many members of the SureCart community are constantly wishing and asking the officials, hoping to use SureCart's login page to replace the traditional WordPress login interface, or hoping to combine SureMembers' Login Redirect function to gain higher design flexibility.

Because SureCart's login mechanism is truly ideal and convenient for customers to use.

It not only uses a step-by-step approach to assist customers in logging in but also allows customers to stop needing to memorize passwords for every shopping site via "Send verification code to Email".

If you are also a SureCart user, just by utilizing the solution mentioned in this article, you can allow customers to smoothly transition to various custom page URLs following the admin-designed flow after logging in, establishing an uninterrupted visitor browsing experience.

Want to know the detailed setup steps and PHP code?

For just the price of a coffee (Buy me a coffee), you can get the tutorial toolkit containing detailed setup steps and PHP code!

→ Check out the SureCart Login Redirect Toolkit

Boost Your SureCart Store’s Operational Efficiency

Have you ever thought about this while managing your e-commerce site? How great would it be if you didn’t have to manually copy customer and shipping details when shipping goods (avoiding frantic mistakes), didn’t have to log into the backend (reducing security risks), and didn’t have to be tied to your computer? After all, you are running an “Online Store,” right?!

To this end, we have developed a WordPress plugin that instantly sends SureCart store order notifications to Discord, and it is officially available in the WordPress Plugin Repository!

Once installed, with simple settings, you can send SureCart order notifications to your specified Discord channel, allowing you to manage orders more efficiently.

Plugin Introduction → SyncPA Discord Notifier for SureCart – Streamline Your Order Notifications to Discord

Documentation → SyncPA Documentation

Leave a Reply

Your email address will not be published. Required fields are marked *