Home Forums WoodMart support forum The email field remains required for visitors who are not registered on the site

The email field remains required for visitors who are not registered on the site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #594221

    huss09.rajab
    Participant

    I tried many times to solve the problem using WooCommerce Checkout Manager plugin
    I used PHP codes without solving the problem
    I will attach pictures and codes for you
    css :
    .woocommerce-billing-fields #billing_email_field {
    display: none;
    }
    php
    // Remove the Email Address field from WooCommerce checkout
    add_filter(‘woocommerce_checkout_fields’, ‘hide_email_address_field’);
    function hide_email_address_field($fields) {
    unset($fields[‘billing’][‘billing_email’]);
    return $fields;
    }
    I cleaned the cache
    I have not installed many plugins on my site to disable them.

    Attachments:
    You must be logged in to view attached files.
    #594223

    huss09.rajab
    Participant

    I disabled the WooCommerce Checkout Manager plugin
    the problem was solved, but is there another recommendation to modify and add fields?

    #594224

    huss09.rajab
    Participant

    I downloaded an add-on that you recommend on your site”Checkout Field Editor for WooCommerce”, but a new problem has appeared. It asks me to enter the address, and I have already entered it.

    #594492

    Hello,

    WoodMart currently supports Checkout Fields manager feature, which helping you enable / disable fields or remove Required fields.

    Please follow this guide:
    https://xtemos.com/docs-topic/fields-manager/

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)