• Resolved Beats247

    (@beats247)


    Hello there,
    how can the label “sold by” in commission e-mails for vendors be removed? I have tried to add the code add_filter ('wcmp_sold_by_text', __('Sold By', 'dc-woocommerce-multi-vendor', '__return_false'));
    in my functions.php but it still shows up: https://prnt.sc/serdyy

    Also, how can I remove the lines ‘Tax Subtotal’ and ‘Shipping subtotal’ as I am not needing them? Have tried to set them to ‘false’ in the vendor-new-order.php file but it doesn’t work either.

    Thanks in advance!

    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @beats247, the scrrenshot you have shared, contains the mail of the customer.

    Now, do you want to remove the details from customer email?

    Thread Starter Beats247

    (@beats247)

    Hi there,
    I don’t see any e-mail address in the screenshot? It’s just a test order anyways.

    Any answer to my questions? Thanks

    • This reply was modified 4 years, 10 months ago by Beats247.

    @beats247, in order to remove sold by name from mail, add this code in the function.php of the current active theme :

    add_filter( 'woocommerce_display_item_meta','wcmp_hide_sold_by_from_emails',10,3);
    function wcmp_hide_sold_by_from_emails( $html, $item, $args ){
        return $html = '';
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘E-Mail Customization’ is closed to new replies.