Home Forums WC Vendors Pro Support WC- Vendors Pro Custom Fields and Label "Sold by"

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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62659
    IGNACIO
    Participant

    Good afternoon, you have updated your plugin and made changes that are not maintained with the new update. I would like to include the new custom fields on the seller’s desktop. And the label “sold by” includes it under the title of the product. How can I manage it?

    #62677
    Anna
    Member

    Good afternoon, you have updated your plugin and made changes that are not maintained with the new update. I would like to include the new custom fields on the seller’s desktop. And the label “sold by” includes it under the title of the product. How can I manage it?

    Could you please explain this in another way- because even after reading it a few times I still do not understand what you are asking…

    #62692
    IGNACIO
    Participant

    Excuse me. I want to include the label “sold by” under the title of the simple product:

    I would like to add custom fields on the seller’s desktop. Include name and surname, tax data … I did this before by modifying code in functions.php and store-settings.php. The folder and file structure has changed with the new version of wc-vendors.

    #62720
    IGNACIO
    Participant

    The position of the “sold by” tag on the simple product page I have solved. The code theme needs to be addressed to include custom fields. I have WC Vendors Pro. I previously included this code in functions.php from my theme:
    /* WC Vendors Pro – Nombre del Banco */
    function store_bank_details( ){
    if ( class_exists( ‘WCVendors_Pro’ ) ){
    $key = ‘_wcv_custom_settings_bankname’;
    $value = get_user_meta( get_current_user_id(), $key, true );
    // Bank Name
    WCVendors_Pro_Form_Helper::input( array(
    ‘id’ => $key,
    ‘label’ => __( ‘Bank Name’, ‘wcvendors-pro’ ),
    ‘placeholder’ => __( ‘Bank Name’, ‘wcvendors-pro’ ),
    ‘desc_tip’ => ‘true’,
    ‘description’ => __( ‘Your local bank name’, ‘wcvendors-pro’ ),
    ‘type’ => ‘text’,
    ‘value’ => $value,
    )
    );
    }
    }

    add_action( ‘wcvendors_admin_after_commission_due’, ‘wcv_store_bank_details_admin’ );
    function wcv_store_bank_details_admin( $user ) {
    ?>
    <tr>
    <th><label for=”_wcv_custom_settings_bankname”><?php _e( ‘Bank Name’, ‘wcvendors-pro’ ); ?></label></th>
    <td><input type=”text” name=”_wcv_custom_settings_bankname” id=”_wcv_custom_settings_bankname” value=”<?php echo get_user_meta( $user->ID, ‘_wcv_custom_settings_bankname’, true ); ?>” class=”regular-text”></td>
    </tr>
    <?php
    }
    ——-

    If I include this code, in the same line of funtions.php my theme gives error. My web is not displayed. To keep the same code in which position would it go?
    ——
    Then include the following code in the theme file themes>porto>wc-vendors>dashboard>store-settings.php
    <div class=”tabs-content” id=”payment”>
    <!– Bank Account Number –>
    <?php bank_account_number (); ?>
    The path has disappeared in the new update and I can not find the file store-settings.php

    Could you tell me how to solve it to work again as before?

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