Home Forums WC Vendors Pro Support how do custom product attributes work on the product edit page?

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 2 posts - 1 through 2 (of 2 total)
  • Author
  • #15537

    I’d like to add a custom input field to the “product edit” form. I’d like the value entered into that field to be passed through as a “custom product attribute” for that product when the form is submitted.

    I see that there’s custom product attribute handling in place within the wc vendors pro plugin code, and it looks like the default template is meant to display it with:

    <?php WCVendors_Pro_Form_helper::attribute( $object_id ); ?>

    However, when I use the default template, I don’t see a field for it. Is the custom attribute input field function working at the moment? If so, how do I get it to display on the product edit page? And is it possible to use this input field to create a custom product attribute for a product?

    WC Vendors Support

    You could use Advanced Custom Fields and then the code from the KnowledgeBase for using it, that’s probably the easiest way.

    The Attributes form helper you see now wont do much till v1.2.0 when variations and attributes are actually supported. That’s kinda just placeholder code that doesnt do anything yet.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.