Home Forums WC Vendors Pro Support Adding a Custom Field for Products – Fields in backend product (post) editor?

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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37499
    Daniel
    Participant

    Hello,

    WE’re working with a number of product custom fields that we’ve created using the guide in “Adding a Custom Field for Products” from the knowledgebase. The fields are working and saving correctly to the database. However, since we want to enable admins to review products upon upload/edit, we want also to be able to have these fields appear and be editable from the back end product editor. It appears there’s no documentation on how to do this, unless we’re missing something?

    Any help would be greatly appreciated.

    #37502
    WC Vendors Support
    Participant

    Hi Daniel,

    It’s actually much simpler. If the custom meta key starts with an _ (underscore) then the meta key / value are hidden on WooCommerce add/edit product page in wp-admin. If it doesnt start with an underscore, it’ll be visible in the Custom Fields meta box in wp-admin. So:

    _wcv_custom_whatever = hidden
    wcv_custom_whatever = visible

    Once they are all visible, you can edit them and see them directly in wp-admin when editing a product.

    Have fun

    #37507
    Daniel
    Participant

    Ok…. mark this one as resolved, simple/stupid answer. We din’t have Screen Options > Custom Fields enabled in the back end product editor. The fields are all there. Hope this helps other people getting lost in the same confusion.

    Thanks.

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