As I am charging commission rate after each sale, I would like to add informative text below Price label about this so vendors can take it into account when adding price to their products and not surprised when not the full amount reaches their balance.
I tried to play with price label using loco translate but it shows also in the search fields for all users. Is there any easy way to do this?
Please try this PHP snippet
add_filter(
'hivepress/v1/forms/listing_update',
function($form){
if(isset($form['fields']['price'])){
$form['fields']['price']['description'] = 'custom text';
}
return $form;
},
1000
);
1 Like
Thanks Yevhen for the help! works perfectly!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.