<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 
?>

<div class="iwbvel-form-group" data-name="weight" data-type="woocommerce_field">
    <label for="iwbvel-variations-bulk-actions-weight"><?php esc_html_e('Weight', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
    <select name="" id="" data-field="operator">
        <?php
        if (!empty($iwbvel_edit_number_operator)) :
            foreach ($iwbvel_edit_number_operator as $iwbvel_key => $iwbvel_value) :
        ?>
                <option value="<?php echo esc_attr($iwbvel_key); ?>"><?php echo esc_html($iwbvel_value); ?></option>
        <?php
            endforeach;
        endif;
        ?>
    </select>
    <input type="number" id="iwbvel-variations-bulk-actions-weight" data-field="value" value="">
</div>

<div class="iwbvel-form-group" data-name="length" data-type="woocommerce_field">
    <label for="iwbvel-variations-bulk-actions-length"><?php esc_html_e('Length', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
    <select name="" id="" data-field="operator">
        <?php
        if (!empty($iwbvel_edit_number_operator)) :
            foreach ($iwbvel_edit_number_operator as $iwbvel_key => $iwbvel_value) :
        ?>
                <option value="<?php echo esc_attr($iwbvel_key); ?>"><?php echo esc_html($iwbvel_value); ?></option>
        <?php
            endforeach;
        endif;
        ?>
    </select>
    <input type="number" id="iwbvel-variations-bulk-actions-length" data-field="value" value="">
</div>

<div class="iwbvel-form-group" data-name="width" data-type="woocommerce_field">
    <label for="iwbvel-variations-bulk-actions-width"><?php esc_html_e('width', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
    <select name="" id="" data-field="operator">
        <?php
        if (!empty($iwbvel_edit_number_operator)) :
            foreach ($iwbvel_edit_number_operator as $iwbvel_key => $iwbvel_value) :
        ?>
                <option value="<?php echo esc_attr($iwbvel_key); ?>"><?php echo esc_html($iwbvel_value); ?></option>
        <?php
            endforeach;
        endif;
        ?>
    </select>
    <input type="number" id="iwbvel-variations-bulk-actions-width" data-field="value" value="">
</div>

<div class="iwbvel-form-group" data-name="height" data-type="woocommerce_field">
    <label for="iwbvel-variations-bulk-actions-height"><?php esc_html_e('Height', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
    <select name="" id="" data-field="operator">
        <?php
        if (!empty($iwbvel_edit_number_operator)) :
            foreach ($iwbvel_edit_number_operator as $iwbvel_key => $iwbvel_value) :
        ?>
                <option value="<?php echo esc_attr($iwbvel_key); ?>"><?php echo esc_html($iwbvel_value); ?></option>
        <?php
            endforeach;
        endif;
        ?>
    </select>
    <input type="number" id="iwbvel-variations-bulk-actions-height" data-field="value" value="">
</div>

<div class="iwbvel-form-group" data-name="shipping_class" data-type="woocommerce_field">
    <label for="iwbvel-variations-bulk-actions-shipping-class"><?php esc_html_e('Shipping class', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></label>
    <select id="iwbvel-variations-bulk-actions-shipping-class" style="width: auto; padding-top: 2px;" data-field="value">
        <option value=""><?php esc_html_e('Select', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></option>
        <option value="0"><?php esc_html_e('Same as parent', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></option>
        <?php
        if (!empty($shipping_classes)) :
            foreach ($shipping_classes as $iwbvel_shipping_class => $iwbvel_label) :
        ?>
                <option value="<?php echo esc_attr($iwbvel_shipping_class); ?>"><?php echo esc_html($iwbvel_label); ?></option>
        <?php
            endforeach;
        endif;
        ?>
    </select>
</div>