Mark T
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hey,
Yes that entry in
wp_optionsis there, and it isn’t empty:a:6:{s:4:"site";a:2:{s:3:"url";s:51:"https://domainhiddenbyme.com";s:9:"installed";i:1692279309;}s:3:"api";a:1:{s:5:"token";s:0:"";}s:7:"account";a:6:{s:5:"email";s:0:"";s:6:"domain";s:0:"";s:9:"connected";b:0;s:4:"plan";s:4:"free";s:10:"website_id";s:0:"";s:11:"website_key";s:0:"";}s:12:"consent_logs";a:1:{s:6:"status";b:1;}s:9:"languages";a:2:{s:8:"selected";a:1:{i:0;s:2:"en";}s:7:"default";s:2:"en";}s:10:"onboarding";a:1:{s:4:"step";i:2;}}Hey Patrick
I knew it would be something a lot simpler!
That’s done the job perfectly, thank you
Consider this topic resolved
Mark
Hey
So, its a WooCommerce site. I’ve replaced the standard WC register form with a Forminator registration form for multiple reasons.
This is how the site currently works:
- The site is set so you cannot buy anything without being a registered user
- When you get to the checkout page, if you’re not logged in, WooCommerce redirects you to the standard login page
- You either login to an account or register for a new one
- The login form redirects you back to the checkout (custom code to bypass logging in to the account dashboard, which works fine)
- As it stands, the register form allows you to register but doesn’t redirect back to the checkout like the login form
- There is a custom
?redirect_to=[URL FOR CHECKOUT]URL parameter, which is part of the login redirect coding I made
Basically, I want the register form to redirect you to the checkout like the login form, BUT ONLY if that
?redirect_to=URL parameter is present (eg, if it’s not there, register as normal)Pastebin of form export – https://pastebin.com/ygUwtsTk
I hope that makes sense
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)