Replies: 0
How can I add the wholesale price field on my front end for vendors to type in/manage?
Not sure how what the php is to make it display.
I have various fields on product-edit.php. See SKU field below.
<?php WCVendors_Pro_Product_Form::sku( $object_id ); ?>
I can make a custom field using this but not sure what ids are yours etc. Just need for vendors to input amount. Thanks in advance.
<?php
WCVendors_Pro_Form_Helper::input( array(
'type' => 'text',
'post_id' => $object_id,
'id' => 'wcv_custom_product_ingredients',
'label' => __( 'Ingredients', 'wcvendors-pro' ),
'placeholder' => __( 'Ingredients', 'wcvendors-pro' ),
'desc_tip' => 'true',
'description' => __( 'The product ingredients', 'wcvendors-pro' ),
) );
?>