Home Forums WC Vendors Pro Support About integrating plugin

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.


Thank you to all of our customers!


Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #77116
    Lingzhou Ao

    I want to integrate a brand plugin with wc vendors pro, and I successfully add a brand field with all the brand data which makes vendors can select one of brands. But I am confused about how to make this selection show up in the product page. Could you offer some help?


    You’d have to display the data collected from the fields, using get_post_meta
    Like this (second part of the code uses a hook for the product page):

    Lingzhou Ao

    Thanks for your reply! I did use the get_post_meta but only get a number, and I think the reason is I use the taxonomy. But I don’t know how to fix it. The following are my code and screenshot.
    Thanks again!

    product edit.php
    <?php WCVendors_Pro_Form_Helper::select2( array(
    //’type’ => ‘checkbox’,
    ‘post_id’ => $object_id,
    ‘id’ => ‘wcv_custom_product_brand’,
    ‘taxonomy’ => ‘product_brand’,
    ‘class’ => ‘select2’,
    ‘label’ => __( ‘Designers’, ‘wcvendors-pro’ ),
    ‘taxonomy_args’ => array(
    ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’,
    ‘hide_empty => $hide_empty
    ‘desc_tip’ => ‘true’,

    ) );

    add_action(‘woocommerce_product_meta_start’, ‘wcv_brand_test’, 3);
    function wcv_brand_test() {
    $new_output = get_post_meta( get_the_ID(), ‘wcv_custom_product_brand’, true ); // Change wcv_custom_product_conditions to your meta key
    echo ‘Designers: ‘. $new_output . ‘<br>’;


    I think this has been corrected for the current version of Pro (v1.4.4), but here is some discussion on this issue, and a gist for custom taxonomies:

    Lingzhou Ao

    Thanks! But where should I place that code? or should I replace something with it?

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