'_track_variation[' . $variation->ID . '][_track_id]',
'label' => __( 'Media ID', 'wap' ),
'placeholder' => __( 'Media ID', 'wap' ),
'class' => 'wap_track_id',
'value' => esc_attr( get_post_meta( $variation->ID, '_track_id', true ) )
)
);
?>
'_track_variation[' . $variation->ID . '][_title]',
'label' => __( 'Track name', 'wap' ),
'placeholder' => __( 'Track name', 'wap' ),
'class' => 'track_variation_title',
'value' => esc_attr( get_post_meta( $variation->ID, '_track_name', true ) )
)
);
woocommerce_wp_text_input(
array(
'id' => '_track_variation[' . $variation->ID . '][_author]',
'label' => __( 'Track Author', 'wap' ),
'placeholder' => __( 'Track Author', 'wap' ),
'class' => 'track_variation_author',
'value' => esc_attr( get_post_meta( $variation->ID, '_track_author_name', true ) )
)
);
?>
'_track_variation[' . $variation->ID . '][_price]',
'label' => sprintf( __( 'Track price (%s)', 'wap' ), get_woocommerce_currency_symbol() ),
'placeholder' => sprintf( __( 'Track price (%s)', 'wap' ), get_woocommerce_currency_symbol() ),
'class' => 'track_variation_price wc_input_price',
'value' => esc_attr( get_post_meta( $variation->ID, '_regular_price', true ) )
)
);
woocommerce_wp_text_input(
array(
'id' => '_track_variation[' . $variation->ID . '][_sale_price]',
'label' => sprintf( __( 'Track sale price (%s)', 'wap' ), get_woocommerce_currency_symbol() ),
'placeholder' => sprintf( __( 'Track sale price (%s)', 'wap' ), get_woocommerce_currency_symbol() ),
'class' => 'track_variation_sale_price wc_input_price',
'value' => esc_attr( get_post_meta( $variation->ID, '_sale_price', true ) )
)
);
?>
'_track_variation[' . $variation->ID . '][_sku]',
'label' => __( 'Track SKU', 'wap' ),
'placeholder' => __( 'Track SKU', 'wap' ),
'class' => 'track_variation_sale_price wc_input_price',
'value' => esc_attr( get_post_meta( $variation->ID, '_sku', true ) )
)
);
?>
ID ); ?>