Home Forums WC Vendors Pro Support Vendor App – Defualt Store Name

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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62806
    patrick
    Participant

    On the vendor app it takes the username and “store” and puts it in the placeholder.

    Am I going to mess anything up by modifying pro-store-form.php

    And adding:
    remove_filter( ‘wcv_default_store_name’, ‘my_filter_function’, 10, 2 );

    To:
    `public static function store_name( $store_name ) {

    if ( ” == $store_name ) {
    $user_data = get_userdata( get_current_user_id() );
    $store_name = apply_filters( ‘wcv_default_store_name’ , ucfirst( $user_data->display_name ) . __( ‘ Store’, ‘wcvendors-pro’ ), $user_data );
    }

    #62850
    Anna
    Member

    Patrick,
    I think that might work..
    Here’s what I use to just have the default Store name as the vendor’s username (place in theme/child theme functions.php):
    https://gist.github.com/fervous/62972f9111468da21d13d869d01c6922

    #62907
    patrick
    Participant

    Thank you for your great service

Viewing 3 posts - 1 through 3 (of 3 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.