• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Woocommerce Multiple Login Button Redirection

xlx

Active member
Dec 13, 2018
190
81
28
Hello,

It would be great if someone could guide me on this.
  1. I have a woocommerce site setup In DIVI theme
  2. There are 2 buttons on the header Login and Show Catalogue
  3. The show catalogue page content can only be seen by a logged-in user
  4. The Login Button needs to show the My Account page, I have some additional links added on that page
  5. The Default shop page set in woocommerce is Show Catalogue.
Now how I want the buttons to work is
  1. Login button -> login page -> My account page
  2. Show Catalogue button - > login page - > Show Catalogue Page
_______
HTML CODE for the buttons
<p style="text-align: right;"><a href="/show-catalogue/">Show catalogue</a> | <a href="/my-account/">Login</a></p>
_______

The Show Catalogue button works fine, after login it opens the Show Catalogue page
But the Login button after login opens the Show Catalogue page ( Though once I log in and click the Login button again it loads the My Account page)

I think it's because of how the Default shop page is set.

Could anyone please help of how could I resolve this
Would appreciate it very much

thanks for helping
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock