Support » Plugin: WooCommerce » Hide billing address for unregistered users

  • Al

    (@alialavimajd)


    Hi
    I choose my product,edit that,and go to checkout page,everything is fine;
    but,I want to hide the billing and shipping address if the user is not registered.
    I mean,user must login to see that fields,otherwise,they are hidden in the checkout page.
    How?

    https://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Al

    (@alialavimajd)

    Al

    (@alialavimajd)

    I think it has to do something with is_user_logged_in().
    I need to hide fields if user is not logged in and only see the “Returning Customer?Login Here” section.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide billing address for unregistered users’ is closed to new replies.