WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Hide billing address for unregistered users (3 posts)

  1. Al
    Member
    Posted 4 months ago #

    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/

  2. Al
    Member
    Posted 4 months ago #


  3. Al
    Member
    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic