I am working on a cash on delivery store that doesn't require to get an account
the checkout fields required are : Name / Phone Number / City / Adress
when i visit the checkout while connected i get exactly what i want but when i log out and visit it as a guest i get an extra email field
I am working on a cash on delivery store that doesn't require to get an account
the checkout fields required are : Name / Phone Number / City / Adress
I autorized the clients to make purchase without an account and i used Woocommerce Checkout Manager to customize the fields and to delete the onces i dont need (https://i.stack.imgur.com/86EYj.png)
when i am trying to checkout while i am connected to dashboard i get exactly what i want (https://i.stack.imgur.com/5F4lY.png)
but once i try it on incognito i get an extra email field (https://i.stack.imgur.com/4XMk3.png)
any suggestions to solve this problem?
CodePudding user response:
Most likely this is due to cache in your case since you see it correctly when logged in . (Even in Incognito mode cache issues are possible) Try opening it in a different browser while not logged in , it should be good. I am pretty certain in your case it is cache.
Some other things you could check for are :
WooCommerce checkout settings to make sure that the billing email field is indeed disabled. To do this, go to WooCommerce > Settings > Checkout and look for the "Billing Email" field. Make sure that it is set to "Hidden" or "Not Required".
Make sure that you are not using any plugins or custom code that might be adding the billing email field back to the checkout form. This could be a custom plugin or code snippet that you have added to your site, or a plugin that you are using that adds additional fields to the checkout form.
Check your WordPress theme to make sure that it is not adding the billing email field back to the checkout form. Some themes include custom checkout form templates that might add the billing email field back to the form, even if it has been disabled in the WooCommerce settings.
CodePudding user response:
now that I disabled a lot of the plugins and snippets I get the checkout page like this https://i.stack.imgur.com/F8ZNo.png
when I visit the checkout page while logged in i get this
https://i.stack.imgur.com/SELkE.png
when i allow billing email i get an other email field