Home Forums WC Vendors Free Support Space before Vendor Naame when removing soldby label

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #70526
    Anne Marie
    Participant

    Hello

    I dont want a Sold by label (I do want the vendorname).
    So I id did this: wp admin > woocommerce > wc vendors > general: Sold By Enable sold by labels (leave this un-checked)

    That worked. However instead of a Solb By label a space is placed before the vendor name.

    #70555
    Anna
    Member

    @inspin
    Hello,
    Are you saying that you would like to only display the vendor’s name, but without the text:”sold by” before the vendor’s name?
    If so, you can achieve this by going to wp admin > woocommerce > wc vendors > general :Sold By Label and delete “sold by” and leave the field blank.
    You will want to have Sold By Enable sold by labels Checked.

    #70593
    Anne Marie
    Participant

    Hello Anna,

    Thank you for your reply
    That is exactly what I want. However when I do what you describe, I get a space (&nbsp) before the vendors name.
    And that messes up the alignment.

    I have sent you a screenshot

    Anne Marie

    #70636
    Anna
    Member

    Hello,
    Please see if this works to get rid of the space before the vendor name in the product loop (the pages you are showing in the screenshot)
    put this in your child theme functions.php:

    /* WC Vendors - Change Sold by in product loop */
    add_filter( 'wcvendors_sold_by_in_loop', 'custom_wcvendors_sold_by_in_loop', 10, 1 );
    function custom_wcvendors_sold_by_in_loop( $message ) {
        $message = "";
        return $message;
    }
    #70886
    Anne Marie
    Participant

    Hello Anna

    That didn’t work for me.
    I decided to go the easy way and have a soldby text.

    Thank you for your help.
    Anne Marie

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.