Hide suborders in my-account

MultivendorX

Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #216226
      MaxenceTP
      Participant

      Hello,

      How can I hide the column “sub-orders” from the woocommerce my-account : https://prnt.sc/jvCUXFgVbOaM ?

      Thank you

    • #216273

      Hello @MaxenceTP, Kindly add the below code in the functions.php file of your current active theme –

      
      /* Remove Suborder from coustomer my-account page */
      add_filter( 'woocommerce_account_orders_columns' , function( $suborders ) {
          unset( $suborders['mvx_suborder'] );
          return $suborders;
        } , 999 );
      
      Copy

      Let us know if you need any further assistance.

    • #216384
      MaxenceTP
      Participant

      Thank you, it’s working 🙂

      Just to let you know (I don’t need the fix), we cannot see the suborders by clicking on it’s id, we got an error

    • #216389

      Hi @MaxenceTP, Glad to hear that your query is resolved now.
      Also we have added a fix for the issue with suborders in my account page in our latest MultiVendorX 4.1.1 update. You can update the plugin on your end to the latest version and check the same.

    • #216484
      MaxenceTP
      Participant

      I do have the new version and the problem is still there.
      You can test it on my site if you want 🙂

    • #216504

      @MaxenceTP, We have checked the same on your site with a test customer. There also the issue is fixed. Kindly check the video here https://www.awesomescreenshot.com/video/24174093?key=feb5d4f1a3f62ae767786b80a3195c36.
      Kindly check carefully on your end again by placing an order and also keep us posted regarding the same.

    • #218292

      It’s been long and we have not heard back from you. We presume your query is resolved now. We are closing this thread. If you need help or face issue in future please do create a new support ticket.

Viewing 6 reply threads

The topic ‘Hide suborders in my-account’ is closed to new replies.