Home Forums WC Vendors Free Support Hide Shop Name and Shop Description

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
  • #3562
    chainznanz
    Participant

    Hi,

    Is there a way to hide Shop Name and Shop Description on Vendor’s Store page? Any snippet for this? 🙂

    THanks

    #3565
    WC Vendors Support
    Participant

    The easiest way would be to edit the vendor dashboard templates (See KB article) and remove the code that allows a vendor to set a shop name and shop description. Then, both will be empty by default.

    #3566
    chainznanz
    Participant

    Hi Ben,

    Thanks for the tip. I don’t however want them to be empty. I just want to specifically hide them from the Vendor’s Store page (I show both name and description somewhere else). Is there a snippet I could copy to functions.php? Sorry if this is a simple tweak, I’m still getting used to PHP.

    Thanks

    #3567
    WC Vendors Support
    Participant

    When you say “Vendor’s Store Page” — Do you mean you want to remove the shop description and title from yourdomain.com/vendors/vendor-name ? Or on individual products? Perhaps a screenshot of exactly what you want to remove would be of great help. 🙂

    #3569
    chainznanz
    Participant

    Yeah, the shop description and Shop Name from domain.com/vendors/vendor-name. I just want to simply hide them from that page only. Sorry about the confusion.

    #3570
    WC Vendors Support
    Participant

    No worries about confusion, I just didn’t want to provide you with the wrong instructions. 🙂

    It’s time to teach you PHP!

    First, go to WooCommerce->WC Vendors and CHECK the box that says “Enable vendor shop headers”. This will activate two templates, in which we’ll modify next.

    Second, from the plugin directory /wp-content/plugins/wc-vendors/WCVendors/views/front/vendor-main-header.php and vendor-mini-header.php — Copy those files into /wp-content/themes/YOURTHEME/wc-product-vendor/front/ — If those directories don’t exist yet (they probably dont) you should create them.

    Once the two files are copied, you can now template out your Vendor Shop header AND your Single Product headers.

    Start editing the template files and adjust as you see fit. Experiment around. Learn what each variable does and how easy they are to change. You’ll learn a lot and accomplish what you need to accomplish.

    Ben

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