I try to make custom woocommerce Account with combine custom login/sign-up forms.
A made custom forms
and put the my-account shortcode to another Section.
In login form a made a lost pasword link.
Login section condition is “show if user not logged in”
The My account section is “show if user logged in” OR the url contain /lost-password/
I have tried everything condition but the my account section is show everytime or never.
Why i try this?
Becasue Bricks hasn’ got custom template for login / sign-up / my account / lost-password ect but i dont want to make lost of custom page to the end-point links.
In your screenshot, the or condition is if {post_url} EQUALS xyz/xyz which cannot be true, because the post URL starts with something like https://yourdomain…
The correct comparison operator should be “CONTAINS”, which works in my test.
Thanks your reply.
Yes, i have tried everything, tried every scenario, the screenshot is show only the last try.
I dont want to use full url (with domain) because it is just a dev stage, after i fininsh i will migrate full of site to andother URL. So, i dont want to search and change all of urls manually after migration process.
I tried “full” (without domain name) urls, but didnt work. Example “/account/lost-passwarod/”. (In the screenshot you can only see the “lost-password/” solution.
I think it is not same. I have more step conditional logi. Maybe the problem is there. Please test is.
So, again.
I make cutsom login / sign-up / My-account site page. This is only one page, but conditional logic i use it multipurpose.
Why i have to make this?
Because Bricks doesnt has any “Are you lost your password” solution, so i have to use the “my account” shortcode (because bricks doesnt have too it).
My conditional logis.
If you not login, you can only see the two form.
If you logged in, you can only see the my-account woocommerce dashboard.
If you NOT logged in, but click to “lost password” dynamically show the “my-account” woocommerce dashboard, becaut it will be only show the “add your email or user name and click to reset password” state.
It is has to working, because when you click the lost password, (default in /my-account/ page) it reload the page and the url will be /my-account/lost-password.