WCVendors_Pro_Form_Helper::select( array( ‘post_id’ => $post_id, ‘id’ => ‘_download_type’, ‘class’ => ‘select’, ‘label’ => __( ‘Download Type’, ‘wcvendors-pro’ ), ‘desc_tip’ => ‘true’, ‘description’ => sprintf( __( ‘Choose a download type – this controls the http://schema.org.’, ‘wcvendors-pro’ ), ‘http://schema.org/’ ), ‘options’ =>…Continue reading
WCVendors_Pro_Form_Helper::select2( array( ‘post_id’ => $post_id, ‘id’ => ‘product_cat[]’, ‘taxonomy’ => ‘product_cat’, ‘class’ => ‘category-select2’, ‘show_option_none’ => $show_option_none, ‘taxonomy_args’ => array( ‘hide_empty’ => 0, ‘orderby’ => ‘order’, ‘exclude’ => $exclude, ), ‘label’ => ( $multiple ) ? __( ‘Categories’, ‘wcvendors-pro’ )…Continue reading
‘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’ ), ) ); ?>Continue reading
get_title() : ”; $product_description = ( isset( $product ) && null !== $product ) ? $post->post_content : ”; $product_short_description = ( isset( $product ) && null !== $product ) ? $post->post_excerpt : ”; $post_status = ( isset( $product ) &&…Continue reading
// Output the custom ingredients as the last option on the general tab. add_action( ‘wcv_product_options_general_product_data’, ‘wcv_product_ingredients’ ); function wcv_product_ingredients( $object_id ){ WCVendors_Pro_Form_Helper::textarea( array( ‘post_id’ => $object_id, ‘id’ => ‘wcv_custom_product_ingredients’, ‘label’ => __( ‘Ingredients’, ‘wcvendors-pro’ ), ‘placeholder’ => __( ‘Ingredients’, ‘wcvendors-pro’…Continue reading
add_action(‘woocommerce_product_meta_start’, ‘wcv_ingredients’, 2); function wcv_ingredients() { $output = get_post_meta( get_the_ID(), ‘wcv_custom_product_ingredients’, true ); // Change wcv_custom_product_ingredients to your meta key echo ‘Ingredients: ‘ . $output . ”; }Continue reading
WCVendors_Pro_Form_Helper::input( array( ‘post_id’ => $post_id, ‘id’ => ‘post_title’, ‘label’ => __( ‘Product Name’, ‘wcvendors-pro’ ), ‘value’ => $product_title, ) );Continue reading
[wcv_membership_plans]Continue reading
ID, ‘_paystack_sub_account_code’, ‘ACCT_xxxxxxxxxxxxx’ ); ?>Continue reading
if ( wc_string_to_bool( get_option( ‘wcvendors_vendor_give_shipping’ ) ) ) { // Addd shipping fees to vendor total } else { // Add shipping total to marketplace split }Continue reading