@searchweb
I found this in item-post.php:
$().ready(function(){
$("#price").blur(function(event) {
var price = $("#price").prop("value");
<?php if(osc_locale_thousands_sep()!='') { ?>
while(price.indexOf('<?php echo osc_esc_js(osc_locale_thousands_sep()); ?>')!=-1) {
price = price.replace('<?php echo osc_esc_js(osc_locale_thousands_sep()); ?>', '');
}
<?php }; ?>
<?php if(osc_locale_dec_point()!='') { ?>
var tmp = price.split('<?php echo osc_esc_js(osc_locale_dec_point())?>');
if(tmp.length>2) {
price = tmp[0]+'<?php echo osc_esc_js(osc_locale_dec_point())?>'+tmp[1];
}
<?php }; ?>
$("#price").prop("value", price);
});
});
But this code has nothing with showing-hiding price filed
This is the right part of code:
<?php if( osc_price_enabled_at_items() ) { ?>
<div class="box price">
<label for="price"><?php _e('Price', 'modern'); ?></label>
<?php ItemForm::price_input_text(); ?>
<?php ItemForm::currency_select(); ?>
</div>
<?php } ?>
But as you can here, this does not support allow/deny price based on category, only global on all listings