XylotrechusZ
XylotrechusZ Shell
: /home/mjbynoyq/sub.dubailivejob.site/wp-content/plugins/dokan-lite/templates/products/ [ drwxr-xr-x ]
<?php
$post_statuses = dokan_get_available_post_status( $post->ID );
?>
<div class="dokan-other-options dokan-edit-row dokan-clearfix <?php echo esc_attr( $class ); ?>">
<div class="dokan-section-heading" data-togglehandler="dokan_other_options">
<h2><i class="fas fa-cog" aria-hidden="true"></i> <?php esc_html_e( 'Other Options', 'dokan-lite' ); ?></h2>
<p><?php esc_html_e( 'Set your extra product options', 'dokan-lite' ); ?></p>
<a href="#" class="dokan-section-toggle">
<i class="fas fa-sort-down fa-flip-vertical" aria-hidden="true"></i>
</a>
<div class="dokan-clearfix"></div>
</div>
<div class="dokan-section-content">
<div class="dokan-form-group content-half-part">
<label for="post_status" class="form-label"><?php esc_html_e( 'Product Status', 'dokan-lite' ); ?></label>
<select id="post_status" class="dokan-form-control" name="post_status">
<?php foreach ( $post_statuses as $status => $label ) : // phpcs:ignore ?>
<option value="<?php echo esc_attr( $status ); ?>" <?php selected( $status, $post_status ); ?>>
<?php echo esc_html( $label ); ?>
</option>
<?php endforeach; ?>
</select>
</div>
<div class="dokan-form-group content-half-part">
<label for="_visibility" class="form-label"><?php esc_html_e( 'Visibility', 'dokan-lite' ); ?></label>
<select name="_visibility" id="_visibility" class="dokan-form-control">
<?php foreach ( $visibility_options as $name => $label ) : ?>
<option value="<?php echo esc_attr( $name ); ?>" <?php selected( $_visibility, $name ); ?>>
<?php echo esc_html( $label ); ?>
</option>
<?php endforeach; ?>
</select>
</div>
<div class="dokan-clearfix"></div>
<div class="dokan-form-group">
<label for="_purchase_note" class="form-label"><?php esc_html_e( 'Purchase Note', 'dokan-lite' ); ?></label>
<?php dokan_post_input_box( $post_id, '_purchase_note', array( 'placeholder' => __( 'Customer will get this info in their order email', 'dokan-lite' ) ), 'textarea' ); ?>
</div>
<div class="dokan-form-group">
<?php
dokan_post_input_box(
$post_id,
'_enable_reviews',
[
'value' => 'open' === $post->comment_status ? 'yes' : 'no',
'label' => __( 'Enable product reviews', 'dokan-lite' ),
],
'checkbox'
);
?>
</div>
</div>
</div><!-- .dokan-other-options -->