WordPress.org

Forums

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

  1. Al
    Member
    Posted 1 year 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 1 year ago #


  3. Al
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic