Hi, @egocefalo update to version 2.2.1 and then add the following to your theme’s functions.php or to a custom plugin.
/**
* This filter tells the plugin you want to replace PRODUCT_TYPE and SAMPLE_PRICE with something else.
*/
add_filter( 'wfps_custom_order_meta', __return_true() );
/**
* This action will actually output whatever you want in place of the
* existing PRODUCT_TYPE and SAMPLE_PRICE lines.
* In the example below, I've changed the following:
* PRODUCT_TYPE -> Product type
* SAMPLE_PRICE -> Sample price
* To add your own custom information enter the following:
* wc_add_order_item_meta( $itemID, 'Heading text', 'Value text shown after the colon' );
*/
add_action( 'wfps_custom_order_meta_action', 'fps_custom_meta_action', 10, 2 );
function fps_custom_meta_action( $itemID, $values ) {
$sample = __( 'Sample', 'woo-free-product-sample' );
wc_add_order_item_meta( $itemID, 'Product type', $sample );
wc_add_order_item_meta( $itemID, 'Sample price', (float)$values["sample_price"] );
}
Let me know if you need any further assistance with this.