
<center><h2><strong>Ubuntu</strong></h2>
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php

// Meta Boxes fields

if (! defined('ABSPATH') ) {
	exit;
}

?>
<div class="advanced-qty">
	<table class="afadv-table-optoin">
		<tr class="afadv-option-field">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Quantity Type', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<select name="afadv_quantity_type" class="rule_input afadv_quantity_type">
					<option value="default" <?php echo selected( $afadv_quantity_type, 'default'); ?>><?php esc_html_e('Default Quantity', 'addify-product-qty'); ?></option>
					<option value="fixed" <?php echo selected( $afadv_quantity_type, 'fixed'); ?>><?php esc_html_e('Fixed Quantity', 'addify-product-qty'); ?></option>
					<option value="step" <?php echo selected( $afadv_quantity_type, 'step'); ?>><?php esc_html_e('Step Quantity', 'addify-product-qty'); ?></option>
					<option value="custom" <?php echo selected( $afadv_quantity_type, 'custom'); ?>><?php esc_html_e('Custom Quantities', 'addify-product-qty'); ?></option>
				</select>
				<p class="afadv_description"><span class=""><?php echo esc_html__('Select quantity type.', 'addify-product-qty'); ?></span></p>
			</td>
		</tr>

		<tr class="afadv-option-field minimum-quantity">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Minimum Quantity', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="number" name="afadv_bulk_min_qnt_fld" min="0.0" step="any" id="afadv_bulk_min_qnt_fld" class="fields-lenght" placeholder="<?php esc_html_e('Enter Minimum Quantity', 'addify-product-qty'); ?>" value="<?php echo esc_attr($afadv_bulk_min_qnt_fld); ?>" />
				<p class="afadv_description"><span class=""><?php echo esc_html__('Minimum Quantity is mandatory for Maximum. Default value is Zero.', 'addify-product-qty'); ?></span></p>
			</td>
		</tr>

		<tr class="afadv-option-field maximum-quantity">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Maximum Quantity', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="number" name="afadv_bulk_max_qnt_fld" min="0.0" step="any" id="afadv_bulk_max_qnt_fld" class="fields-lenght" placeholder="<?php esc_html_e('Enter Maximum Quantity', 'addify-product-qty'); ?>" value="<?php echo esc_attr($afadv_bulk_max_qnt_fld); ?>" />
				<p class="afadv_description"><span class=""><?php echo esc_html__('Maximum Quantity is mandatory for Minimum.', 'addify-product-qty'); ?></span></p>
			</td>
		</tr>

		<tr class="afadv-option-field step-quantity">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Step Number', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="number" name="afadv_bulk_steps_qnt_fld" id="afadv_bulk_steps_qnt_fld" value="<?php echo esc_attr($afadv_bulk_steps_qnt_fld); ?>" class="fields-lenght" placeholder="<?php esc_html_e('Enter Steps', 'addify-product-qty'); ?>" min="0.001" step="any">
				<p class="afadv_description"><span><?php echo esc_html__('Step number would work properly with min & max quantity numbers.', 'addify-product-qty'); ?></span></p>
			</td>
		</tr>

		<tr class="afadv-option-field custom-quantity">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Custom Quantities', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="text" name="afadv_bulk_custom_qnt_fld" id="afadv_bulk_custom_qnt_fld" value="<?php echo esc_attr($afadv_bulk_custom_qnt_fld); ?>" class="fields-lenght" placeholder="<?php esc_html_e('1,5,10,13...', 'addify-product-qty'); ?>" min="1">
				<p class="afadv_description"><span><?php echo esc_html__('Enter comma separated custom quantities for product(s) .', 'addify-product-qty'); ?></span></p>
			</td>
		</tr>

		<tr class="afadv-option-field fixed-quantity">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Fixed Number', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="number" name="afadv_bulk_fixed_qnt_fld" id="afadv_bulk_fixed_qnt_fld" value="<?php echo esc_attr($afadv_bulk_fixed_qnt_fld); ?>" step="any" class="fields-lenght" placeholder="<?php esc_html_e('Enter Fixed Quantity Number', 'addify-product-qty'); ?>" min="0">
			</td>
		</tr>

		<tr class="afadv-option-field display-as-dropdown">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Display as dropdown', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<input type="checkbox" name="afadv_display_dropdown" value="yes" id="afadv_display_dropdown" <?php echo checked( 'yes', $afadv_display_dropdown ); ?> class="fields-lenght" placeholder="<?php esc_html_e('Enter step for decimal quantity', 'addify-product-qty'); ?>" min="0">
				<p class="description"><?php esc_html_e('Display values in a select dropdown. If max is not set, 200 values in dropdown will be displayed.', 'addify-product-qty'); ?></p>
			</td>
		</tr>

	</table>
</div>
