Home Forums WC Vendors Pro Support Removing "….store" from Vendor Shop 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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #47807
    flowe
    Participant

    Hy,
    Is there a way to remove the “store” extension-string from the Shop Name which is being generated?
    All my vendors are user names, so I get rid of this “…….Store” wording.
    Any idea?

    #47809
    flowe
    Participant
    
    ### WordPress Environment ###
    
    Home URL: https://www.pitchr.org/wp
    Site URL: https://www.pitchr.org/wp
    WC Version: 2.6.8
    Log Directory Writable: ✔
    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 160 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.27
    PHP Post Max Size: 200 MB
    PHP Time Limit: 38
    PHP Max Input Vars: 1000
    cURL Version: 7.50.3
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: ✔
    MySQL Version: ❌ 5.5.53 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 200 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.6.8
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Active Plugins (28) ###
    
    VaultPress: by Automattic – 1.8.5
    BuddyPress Follow: by Andy Peatling
    r-a-y – 1.2.2
    
    BuddyPress: by The BuddyPress Community – 2.7.2
    Cloudflare: by John Wineman
    Furkan Yilmaz
    Junade Ali (Cloudflare Team) – 3.0.6
    
    Content Egg: by keywordrush.com – 2.8.1
    Envato Market: by Derek Herman – 1.0.0-beta
    EWWW Image Optimizer: by Shane Bishop – 3.1.3
    Indeed Coming Soon: by indeed – 3.0
    WPBakery Visual Composer: by Michael M - WPBakery.com – 4.12.1
    Loco Translate: by Tim Whitlock – 2.0.9
    MailChimp for WordPress: by ibericode – 4.0.7
    MailChimp for WordPress - Premium: by ibericode – 3.3.1
    WordPress Meta Data & Taxonomies Filter (MDTF): by realmag777 – 2.2.1
    myCRED: by Gabriel S Merovingi – 1.7.4
    RH Frontend Publishing Pro: by Hassan Akhtar
    Wpsoul.com – 3.2.9.1
    
    Table Maker: by Wpsoul – 1.6
    WC Vendors Pro: by WC Vendors – 1.3.6
    WC Vendors: by WC Vendors – 1.9.6
    WooCommerce Customizer: by SkyVerge – 2.3.1
    WooCommerce Max Quantity: by Isabel Castillo – 1.3
    WooCommerce Product Add-ons: by Automattic – 2.7.25
    WooCommerce Sale Time Countdown: by AKbyte – 1.0
    WooCommerce: by WooThemes – 2.6.8
    WooSidebars: by WooThemes – 1.4.3
    WooCommerce Helper: by WooCommerce – 1.7.2
    WordPress Importer: by wordpressdotorg – 0.6.3
    Yoast SEO: by Team Yoast – 3.8
    YITH WooCommerce Wishlist: by YITHEMES – 2.0.16
    
    ### Settings ###
    
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    
    ### WC Pages ###
    
    Shop Base: #4 - /projects-2/
    Cart: #5 - /pendingsubmissions/
    Checkout: #6 - /checkout/
    My Account: #7 - /creatives_dashboard/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Rehub child theme - Revendor
    Version: 6.6
    Author URL: https://wpsoul.com/
    Child Theme: ✔
    Parent Theme Name: Rehub theme
    Parent Theme Version: 6.6.1
    Parent Theme Author URL: https://wpsoul.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: rehub/woocommerce/archive-product.php
    rehub-vendor/woocommerce/cart/cart.php
    rehub/woocommerce/cart/cross-sells.php
    rehub-vendor/woocommerce/checkout/review-order.php
    rehub/woocommerce/content-product.php
    rehub/woocommerce/content-product_cat.php
    rehub/woocommerce/global/wrapper-end.php
    rehub/woocommerce/global/wrapper-start.php
    rehub/woocommerce/loop/add-to-cart.php
    rehub/woocommerce/loop/loop-end.php
    rehub/woocommerce/loop/loop-start.php
    rehub/woocommerce/loop/sale-flash.php
    rehub/woocommerce/single-product/add-to-cart/external.php
    rehub/woocommerce/single-product/meta.php
    rehub/woocommerce/single-product/price.php
    rehub/woocommerce/single-product/product-image.php
    rehub/woocommerce/single-product/product-thumbnails.php
    rehub/woocommerce/single-product/related.php
    rehub/woocommerce/single-product/sale-flash.php
    rehub/woocommerce/single-product/short-description.php
    rehub/woocommerce/single-product/tabs/description.php
    rehub/woocommerce/single-product/up-sells.php
    rehub/woocommerce/single-product-reviews.php
    rehub/woocommerce/single-product.php
    
    ### WC Vendors Pro ###
    
    Theme Compatability: -
    Pro Dashboard Page: ✕ -WC Vendors Pro WILL NOT FUNCTION without this set. Click here to set the page.
    Feedback form page: - #32
    Vendor Shop Permalink: - project-creators/
    
    ### Templates ###
    
    Overrides: rehub-vendor/wc-vendors/dashboard/product-edit.php
    rehub/wc-vendors/dashboard/store-settings.php
    rehub/wc-vendors/front/ratings/feedback-form.php
    rehub/wc-vendors/front/ratings/ratings-display-panel.php
    rehub/wc-vendors/store/store-ratings.php
    
    
    #47821
    Anna
    Member

    This will make the store name the vendor’s username by default. They can still change it to whatever they wish. theme/child theme functions.php:

    /* Change the default vendor store name from "Username Store" to "Username" */
    add_filter('wcv_default_store_name', 'new_wcv_default_store_name');
    function new_wcv_default_store_name () {
      $current_user = wp_get_current_user();
      $new_store_default = $current_user->user_login;
      return $new_store_default;
    }
    #47896
    flowe
    Participant

    Hy Anna,
    Thanks for the code! Works great! 🙂

    #47916
    James
    Participant

    Anna – a related question (I think it’s on the WCV platform): is there a way to change the name ‘Vendor’ (specifically the “Apply to become a vendor” line on the ‘my-account’ page), to another term?

    Thanks in advance for your advice!

    James.

    #47917
    Anna
    Member

    James,
    This one? theme/child-theme functions.php:

    /*  Apply to become a vendor? on registration pages */
    add_filter( 'wcvendors_vendor_registration_checkbox', 'custom_wcvendors_vendor_registration_checkbox', 10, 1 );
    function custom_wcvendors_vendor_registration_checkbox( $message ) {
        $message = ' <i class="fa fa-hand-o-left fa-lg" ></i>   Would you like to OPEN YOUR SHOP today?';
        return $message;
    }

    Just change the words between the single quotes $message = ‘ whatever you wish… ‘

    #47920
    James
    Participant

    Thanks Anna!

    Best – J

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