Skip to content

Commit

Permalink
fix(stock-status): hide inventory product stock status if the product…
Browse files Browse the repository at this point in the history
… type is variable (#274)
  • Loading branch information
saimonh3 authored and sabbir1991 committed Jun 1, 2018
1 parent fc6654f commit 042cc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/products/new-product-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
<?php dokan_post_input_box( $post_id, '_sku' ); ?>
</div>

<div class="content-half-part hide_if_variation">
<div class="content-half-part hide_if_variable">
<label for="_stock_status" class="form-label"><?php _e( 'Stock Status', 'dokan-lite' ); ?></label>

<?php dokan_post_input_box( $post_id, '_stock_status', array( 'options' => array(
Expand Down

0 comments on commit 042cc43

Please sign in to comment.