Deleted fields still showing

MultivendorX

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #191609
      mohsina.mce13
      Participant

      Hello,
      I want to remove vendor details from the customer and vice versa. I have added multiple codes snippets to do this but to no avail. Kindly have a look at the codes that I have added:

      //MVX remove order/customer billing address from vendor
      add_filter(‘show_cust_billing_address_field’, ‘__return_false’);
      add_filter(‘show_cust_shipping_address_field’, ‘__return_false’);

      add_filter( ‘is_vendor_can_see_order_billing_address’, ‘__return_false’ );
      add_filter( ‘is_vendor_can_see_order_shipping_address’, ‘__return_false’ );

      //MVX remove vendor name from order
      add_action(‘init’, ‘wc_hide_vendor_details_order_page’);
      function wc_hide_vendor_details_order_page() {
      global $WCMp;
      remove_action(‘woocommerce_order_details_after_order_table’, array($WCMp->frontend, ‘display_vendor_msg_in_thank_you_page’), 100);
      }

      //MultivendorX Remove Vendor Name
      add_filter( ‘woocommerce_display_item_meta’,’wcmp_hide_sold_by_from_emails’,10,3);

    • #191643
      promita
      Keymaster

      Hi @mohsina.mce13, To remove vendor details add this below code in functions.php of your current active theme and you need to override vendor-new-order.php template file in your current active theme with this https://drive.google.com/file/d/1b6V5YH9mFmGyQBnCubAqu2jwUq3pjPnz/view?usp=share_link

      
      add_filter( 'can_vendor_add_message_on_email_and_thankyou_page', '__return_false' );
      add_filter( 'mvx_sold_by_text', '__return_false' );
      
      Copy
    • #194220

      Its been long and we have not heard back from you. Hope your issue is solved now. We are closing this thread as of now, If you face issue or need help in future please open a new thread.

Viewing 2 reply threads

The topic ‘Deleted fields still showing’ is closed to new replies.