Home Forums WC Vendors Pro Support Removing paypal email from shop settings

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 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #19190
    Scott
    Participant

    I found a thread where this same issue was being asked but didn’t see a response. How can I remove the field requiring a paypal address from the shop settings?

    I’m also using Color as a Product attribute. I’m currently only able to select one color per product. How can I modify this to allow multiple color selections per product?

    Thanks

    #19191
    WC Vendors Support
    Participant

    Hi Scott,

    You’d want to remove it from the templates.

    /templates/dashboard/store-settings.php and delete the line that looks line this:

    <?php WCVendors_Pro_Store_Form::paypal_address( ); ?>

    Then, PayPal is gone forever! 🙂

    Attributes arent fully supported yet, but will be in v1.3 of Pro towards the end of January with full attribute and variable product support. For now, what you see is all you can do with it.

    #19262
    Scott
    Participant

    Hey ben,

    I deleted that line from store-settings.php but

    PayPal Address
    Your PayPal address is used to send you your commission.

    [email protected]

    is still on the shop settings page. Any other options?
    Thanks

    #19266
    Arvid Viderberg
    Participant

    You can hide with filter if you want to. It will still show some whitespace on the page though.

    add_filter ('wcv_vendor_paypal_address', 'hide_paypal');
    function hide_paypal() {
    
    	$store_id = WCVendors_Pro_Vendor_Controller::get_vendor_store_id( get_current_user_id() ); 
    	$new_paypal = get_post_meta( $store_id, '_wcv_paypal_address', true ); 
    	$old_paypal = get_user_meta( get_current_user_id(), 'pv_paypal', true ); 
    	$value = ( '' != $new_paypal ) ? $new_paypal : $old_paypal;  
    
    	$bankArray = array(  
    			'id' 				=> '_wcv_paypal_address', 
    			//'label' 			=> __( 'PayPal Address', 'wcvendors-pro' ), 
    			//'placeholder' 		=> __( '[email protected]', 'wcvendors-pro' ), 
    			'desc_tip' 			=> 'true', 
    			//'description' 		=> __( 'Your PayPal address is used to send you your commission.', 'wcvendors-pro' ), 
    			'type' 				=> 'hidden', 
    			'value'				=> $value
    			);
    	return $bankArray;
    }
    #19286
    WC Vendors Support
    Participant

    If it still shows up, you edited the template wrong or dont have the new template in the correct folder. Read the KB article on modifying templates again, or do as Arvid suggested with the filters. 🙂

    #19659
    Scott
    Participant

    Cool, I’ll check that out. By the way, I’m receiving emails of every tech support request that’s being to sent to WC Vendors since my first contact with you. Could you stop it. Thanks for your help Ben

    #19660
    WC Vendors Support
    Participant

    You probably clicked “subscribe” on the one of the forums. You can unsubscribe by going to the forum (for Pro, it is https://www.wcvendors.com/help/forum/wc-vendors-pro-support/ ) and then click the Unsubscribe button.

    Additionally, you can manage more email settings here: https://www.wcvendors.com/members/sbeaver/settings/notifications/

    #59802
    Oluwatosin
    Participant

    Hi,

    Regarding the removal of paypal address from wc vendor pro…

    I got the right template and tried this:
    —————————————————-
    /templates/dashboard/store-settings.php and delete the line that looks line this:

    <?php WCVendors_Pro_Store_Form::paypal_address( ); ?>
    ——————————————————
    But it did not work. Will not want the filter solution.

    Pls can you help?

    #59807
    Anna
    Member

    @bargainwebb
    If you are using WC Vendors Pro, go to:
    wp admin > woocommerce > wc vendors > Settings From and check : PayPal email.
    Do the same on the Signup Form.

    #59814
    Oluwatosin
    Participant

    Done, simply and effective. Thank you Anna.

    is there a solution to hide wc vendor (free dashboard from the menu)

    Regards.

    #59816
    Anna
    Member

    @bargainwebb
    Yeah- go to wp admin > appearance > menus and remove it from the menu. 🙂

    #59817
    Oluwatosin
    Participant

    Cheers.

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