• Resolved neal86

    (@neal86)


    Dear support,
    My site shows a suborder to shop manager role(https://prnt.sc/13gjfho), but it doesn’t show for admin, may I know how to let it doesn’t show on both admin and shop manager? Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter neal86

    (@neal86)

    2. How I can disable the vendor tab on the product page? (https://prnt.sc/13huf7n)

    Thread Starter neal86

    (@neal86)

    3. How I can disable the question & answer tab?(https://prnt.sc/13hwm1s))

    Plugin Contributor rajsekharchatterjee11

    (@rajsekharchatterjee11)

    Hi @neal86,
    use this below code in your currently active theme functions.php file( all 3 point are included )

    // remove suborder column
    add_filter('manage_shop_order_posts_columns', function($column) {
        unset( $column['wcmp_suborder'] );
        return $column;
    }, 999);
    // remove vendor and question/ans tab
    add_filter('woocommerce_product_tabs', function($tabs) {
        unset( $tabs['vendor'], $tabs['wcmp_customer_qna'] );
        return $tabs;
    }, 99);

    and enjoy 🙂
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.