• Anonymous User 17335794

    (@anonymized-17335794)


    After update the plugin shipping phone number not showing.

Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Author FAKTOR VIER

    (@faktorvier)

    If its displayed 2 times now then you would actually not need the code from above, because it should be already displayed by default. Are you sure the phone number was missing? That actually can’t be. The second phone number comes from the new WooCommerce 5.6 version and the first one from our plugin. If you don’t use the code from above then the first one should be gone and only the second one should be displayed. If you remove the code add_filter('F4/WCSPE/append_phone_field_to_formatted_address', '__return_true'); again and BOTH phone numbers are missing, then you theme or template file seem to be configured wrong. In that case we can’t help you and you should contact the responsible developer for this website. This person can help you better.

    Thread Starter Anonymous User 17335794

    (@anonymized-17335794)

    I am already checked with this CSS but when I am applying this code also remove phone number from billing address.

    .woocommerce-customer-details–phone{ display:none}

    Plugin Author FAKTOR VIER

    (@faktorvier)

    You cant use .woocommerce-customer-details–phone{ display:none}. That will remove BOTH billing AND shipping phone. If you don’t use this CSS and remove add_filter('F4/WCSPE/append_phone_field_to_formatted_address', '__return_true'); again from your functions.php, then everything sould be fine. Because thats the normal behaviour after WooCommerce 5.6. It thats not the case, you REALLY should contact your developer to help you.

    Thread Starter Anonymous User 17335794

    (@anonymized-17335794)

    But when I am remove this code also mobile number remove from email.

    Plugin Author FAKTOR VIER

    (@faktorvier)

    And you have removed de CSS .woocommerce-customer-details–phone{ display:none} as well?

    Thread Starter Anonymous User 17335794

    (@anonymized-17335794)

    Yes, I have already removed.

    But when I am added this code mobile number showing 2 times in shipping address.

    add_filter(‘F4/WCSPE/append_phone_field_to_formatted_address’, ‘__return_true’);

    When I am removed this code mobile number showing in one time but order email shipping address not showing mobile number.

    Plugin Author FAKTOR VIER

    (@faktorvier)

    Looks like your template files have wrong code or you use other hooks that may cause problems with this new WooCommerce version 5.6. You have to contact your developer or hire/ask one that can help you better with this individual problem.

    Thread Starter Anonymous User 17335794

    (@anonymized-17335794)

    It’s already resolved.

    Plugin Author FAKTOR VIER

    (@faktorvier)

    Very good. If you have a solution you can post it here, it may help other users.

    Thread Starter Anonymous User 17335794

    (@anonymized-17335794)

    Sorry, I can’t post. Because I am learning and find the solution.

    If anyone want help they are learning and find the solution.

    That’s all.

    • This reply was modified 3 years, 3 months ago by Anonymous User 17335794.

    I have the same problem and, for anyone coming after, the solution by @faktorvier worked for me …

    add_filter(‘F4/WCSPE/append_phone_field_to_formatted_address’, ‘__return_true’);

    To avoid having to edit the functions.php file, I created a snippet (using https://www.ads-software.com/plugins/code-snippets) and it worked first time.

    If I can add …. @anish12345 … your message above “If anyone want help they are learning and find the solution.” isn’t helpful and is actually quite selfish. Do you ever seek help on any community support forum and find solutions which others have posted? That’s possible because others SHARE the solutions, not keep them to themselves. ??

    Sal.

    Plugin Author FAKTOR VIER

    (@faktorvier)

    Thanks @sallymoos for confirming that this snippet that this hook is actually working!

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Phone Number Not Showing’ is closed to new replies.