Home Forums WC Vendors Pro Support Remove the word commission from Vendor emails

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #60031
    Andrea
    Participant

    For Tax reasons, we’ve been asked by our accountant to remove the word commission from all contact with the Vendors.

    I have managed to do this on the vendor dashboard, but need to remove it from the notify vendors email, so it says “sales subtotal” rather than “commission subtotal”.

    How would I achieve this?

    Many Thanks

    Guy

    #60085
    Anna
    Member

    Guy,
    You can change that line by using a filter found in: wp-content/plugins/wc-vendors/classes/admin/emails/class-wc-notify-vendor/.php
    This should do it; this would go in your theme/child theme functions.php:
    https://gist.github.com/fervous/89cdaf27dea13b5a72cae04239f055fc

    #60097
    Inga
    Participant

    How do you set a filer exactly? I need to do this too and I’m using Atom to view the code. Can you tell me where to paste this code? Thanks so much!

    #60098
    Anna
    Member

    @boycott
    If you wish to make the same change that Guy did, then all you have to do is paste the following code in your theme/child theme functions.php:
    https://gist.github.com/fervous/89cdaf27dea13b5a72cae04239f055fc

    If you look at the WC Vendors and WC Vendors Pro php files, you will often see something like this:
    apply_filters( 'wcv_product_title'
    You can use that filter: 'wcv_product_title' to write a new function to modify the code.

    #60105
    Inga
    Participant

    Also, what if I don’t have a child theme?

    #60113
    Anna
    Member

    Inga,

    Also, what if I don’t have a child theme?

    I’d recommend using a child theme, but if you do not use one, then use the functions.php file in your theme.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.