I changed this:
<fieldset class="s4">
<h2><?php _e('Price', 'beta'); ?></h2>
<div class="in">
<!-- PRICE -->
<?php if(osc_price_enabled_at_items()) { ?>
<div class="price-wrap">
<div class="inside">
<div class="enter<?php if($price_type == 'FREE' || $price_type == 'CHECK') { ?> disable<?php } ?>">
<div class="input-box">
<?php ItemForm::price_input_text(); ?>
<?php echo bet_simple_currency(); ?>
</div>
<div class="or"><?php _e('or', 'beta'); ?></div>
</div>
<div class="selection">
<a href="#" data-price="0" <?php if($price_type == 'FREE') { ?>class="active"<?php } ?> title="<?php osc_esc_html(__('Item is offered for free', 'beta')); ?>"><span class="isTablet isDesktop"><?php _e('Free', 'beta'); ?></span><span class="isMobile"><?php _e('Item for free', 'beta'); ?></span></a>
<a href="#" data-price="" <?php if($price_type == 'CHECK') { ?>class="active"<?php } ?> title="<?php osc_esc_html(__('Based on agreement with seller', 'beta')); ?>"><span class="isTablet isDesktop"><?php _e('Deal', 'beta'); ?></span><span class="isMobile"><?php _e('Check with seller', 'beta'); ?></span></a>
</div>
</div>
</div>
<?php } ?>
</fieldset>
to this:
<?php if(bet_check_category_price(osc_item_category_id())) { ?>
<fieldset class="s4">
<h2><?php _e('Price', 'beta'); ?></h2>
<div class="in">
<!-- PRICE -->
<?php if(osc_price_enabled_at_items()) { ?>
<div class="price-wrap">
<div class="inside">
<div class="enter<?php if($price_type == 'FREE' || $price_type == 'CHECK') { ?> disable<?php } ?>">
<div class="input-box">
<?php ItemForm::price_input_text(); ?>
<?php echo bet_simple_currency(); ?>
</div>
<div class="or"><?php _e('or', 'beta'); ?></div>
</div>
<div class="selection">
<a href="#" data-price="0" <?php if($price_type == 'FREE') { ?>class="active"<?php } ?> title="<?php osc_esc_html(__('Item is offered for free', 'beta')); ?>"><span class="isTablet isDesktop"><?php _e('Free', 'beta'); ?></span><span class="isMobile"><?php _e('Item for free', 'beta'); ?></span></a>
<a href="#" data-price="" <?php if($price_type == 'CHECK') { ?>class="active"<?php } ?> title="<?php osc_esc_html(__('Based on agreement with seller', 'beta')); ?>"><span class="isTablet isDesktop"><?php _e('Deal', 'beta'); ?></span><span class="isMobile"><?php _e('Check with seller', 'beta'); ?></span></a>
</div>
</div>
</div>
<?php } ?>
</fieldset>
<?php } ?>
in the item_post.php file
The price box doesn't show up when editing an existing post, but still shows up in a new post. Where is the mistake?