WC Vendors is a great and a very easy to use plugin if you are planning to create your own marketplace like Ebay, Amazon etc. In this short tutorial, I will show you how to remove the vendor name and shop description being called on the product pages. All you have to to is open your template files on the folder: yourtheme/wc-vendors/front/. Open the vendor-mini-header.php.
<?php /** * Contributor Mini Header - Hooked into single-product page * * THIS FILE WILL LOAD ON VENDORS INDIVIDUAL PRODUCT URLs (such as yourdomain.com/shop/product-name/) * * @author WCVendors * @package WCVendors * @version 1.3.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /* * Template Variables available * $vendor : For pulling additional user details from vendor account. This is an array. * $vendor_id : current vendor user id number * $shop_name : Store/Shop Name (From Contributor Dashboard Shop Settings) * $shop_description : Shop Description (completely sanitized) (From Contributor Dashboard Shop Settings) * $seller_info : Seller Info(From Contributor Dashboard Shop Settings) * $vendor_email : Vendors email address * $vendor_login : Vendors user_login name */ ?> <h1><?php echo $shop_name; ?></h1> <div class="wcv_shop_description"> <?php echo $shop_description; ?> </div>
From this file, delete the line 26 – for the vendor name and lines 27 to 29 for the shop description.