Home Forums WoodMart support forum Address option hidden in account drop-down and within my account options

Address option hidden in account drop-down and within my account options

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #516979

    fusion01wp
    Participant

    Hi, why is the ‘address label’ within the ‘my account’ option not displaying?
    https://qotho.co.za/dev/
    Top right – the others do.

    https://qotho.co.za/dev/my-account/
    Hidden in left nav and label hidden in the right options too.

    #516980

    fusion01wp
    Participant

    I hacked it with this so it’s working now, just wondering why?

    /**
    * name for edit address
    */
    add_filter ( ‘woocommerce_account_menu_items’, ‘rename_editaddress’ );
    function rename_editaddress( $menu_links ){

    $menu_links[‘edit-address’] = ‘Edit Address’;
    return $menu_links;
    }

    #517209

    Hello,

    Sorry to say but this issue recently comes from WooCommerce end and is specifically arising for Edit Address end-point. This is not a Theme end concern, just to clear the fact.

    So, hopefully in the upcoming updates WooCommerce could resolve this concern on priority basis till then you can try the following Snippet provided in this regard.

    add_filter( 'woocommerce_account_menu_items', 'custom_edit_address' );
    function custom_edit_address( $items ) {
      $items['edit-address'] = 'Address';
      return $items;
    }

    This snippet needs to be pasted under the functions.php file of the Child Theme.

    Note: Please take complete Backup of your Site first before trying out this Code Snippet. Secondly, if one tries to use the above Snippet on their Site then remember to try use the above Snippet under the Child Theme on your Site because if you try it under the Parent Theme then it will get wipe out once you update the Theme in future (if the update gets released).

    Best Regards

    #517295

    fusion01wp
    Participant

    Thank you very much for the great support. You may close the ticket šŸ™‚

    #517324

    Most Welcome!!!.

    Iā€™m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Address option hidden in account drop-down and within my account options’ is closed to new replies.