• Resolved SandyRig

    (@sandyrig)


    I have woocommerce plugins ‘product vendors’ installed on my woocommerce. I am trying to add certain information if the product is from a certain vendor. Now the problem is that I can’t find any developer documentation or function reference to find out how to get/access vendor information using product id.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @sandyrig,

    Thank you for reaching out.

    I understand you’re having trouble accessing vendor information using a product ID with the ‘Product Vendors’ plugin.

    While this forum only focuses on issues related to WooCommerce core, I would recommend reaching out to us at Woo.com > My Account > Support. You may need to create an account before you can access that page.
    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Thread Starter SandyRig

    (@sandyrig)

    WooCommerce support is hopeless.

    This is how you get vendor information in case anyone else needs it.

    $post_terms = get_the_terms($product_id, 'wcpv_product_vendors');   
    $vendor = $post_terms[0]->name;
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.