Home Forums WC Vendors Pro Support Custom taxonomy in Product Edit Form

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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #53682
    Anonymous
    Inactive

    I have additional taxonomies for my Woocommerce + WC Vendors Pro marketplace. I need to add several taxonomies positions in product add/edit form after category select field.

    Maybe anyone solved this already, i need only example.

    #53764
    Anna
    Member

    Hello,
    This kb article and example may be of use to you if you would like to add new fields to the product add/edit template:

    https://www.wcvendors.com/kb/adding-a-custom-field-for-products/

    #53931
    Anonymous
    Inactive

    Hello!

    I’m trying to use example from KnowledgeBase. Add this code to my theme product-edit.php

    <?php
    WCVendors_Pro_Form_Helper::select2(
    array(
    ‘post_id’ => $object_id,
    ‘id’ => ‘wcv_custom_product_cut’,
    ‘taxonomy’ => ‘cut’,
    ‘label’ => __( ‘Cut’, ‘wcvendors-pro’ ),
    /*’placeholder’ => __( ‘Cut’, ‘wcvendors-pro’ ), */
    /*’desc_tip’ => ‘true’,
    ‘description’ => __( ‘Gem cut’, ‘wcvendors-pro’ ), */
    ‘taxonomy_args’ => array(
    ‘hide_empty’ => 0,
    ‘orderby’ => ‘order’,
    ),
    ) );
    ?>

    In vendor pro-dashboard trying to add/edit product, custom taxonomy field displayed but don’t save selected variable.

    #54170
    Anonymous
    Inactive

    I still need your assistance.

    #54205
    Anna
    Member

    @1Seovanz21
    Please read through this thread and the GIST in this thread which gives an example(attached below). This is likely more relevant to your situation than the previous form builder I suggested above:
    Thread: https://www.wcvendors.com/help/topic/how-add-a-custom-taxonomy-in-products/

    The Gist:
    https://gist.github.com/fervous/b727765beb55eeb1300c77171ff9728f

    #54243
    Anonymous
    Inactive

    I’m trying to use your Gist, but it don’t save field value, i can create demo site for collaboration and reproduce current issue?

    #56299
    Anonymous
    Inactive

    I still need your support.

    #56324
    Anna
    Member

    Andrey,
    I do not know why your custom code is not working to add an extra field.
    If you have added your own taxonomies– I have no idea how that was done, and how you have built those in or anything…
    I can only help to show you how to use the form builder for the Pro front end forms – beyond that, custom coding in specialized info for your site, taxonomies, etc. is up to you, or for you to hire a dev for assistance.

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