<h3><?php esc_html_e( 'Others', 'wpcargo-shipment-rate' ); ?></h3>
<table class="form-table">
	<?php if ( class_exists( 'WooCommerce' ) ): ?>
	<tr>
		<th scope="row"><?php esc_html_e( 'Disable Woocommerce Integration?', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<input type="checkbox" name="wpcsr_woointeg_disabled" value="1" <?php checked( $woointeg_disabled, 1 ); ?>>
		</td>
	</tr>
	<tr>
		<th scope="row"><?php esc_html_e( 'Select product for shipping integration payment', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<select id="woointeg_product" name="woointeg_product" required>
				<option value=""><?php esc_html_e( '--Select Product--', 'wpcargo-shipment-rate' ); ?></option>
				<?php if( !empty( $products ) ): ?>
					<?php foreach( $products as $product ): ?>
						<option value="<?php echo $product->ID; ?>" <?php echo selected( $woointeg_product, $product->ID ); ?>><?php echo get_the_title($product->ID); ?></option>
					<?php endforeach; ?>
				<?php endif; ?>
			</select>
		</td>
	</tr>
	<?php endif; ?>
	<tr>
		<th scope="row"><?php esc_html_e( 'Select pickup reference address field', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<select id="wpcsr_pickup_reference" name="wpcsr_pickup_reference">
				<option value=""><?php esc_html_e( '--Select Reference--', 'wpcargo-shipment-rate' ); ?></option>
				<option value="pickup_city" <?php selected( $wpcsr_pickup_reference, 'pickup_city' ); ?>><?php esc_html_e( 'City', 'wpcargo-shipment-rate' ); ?></option>
				<option value="pickup_postcode" <?php selected( $wpcsr_pickup_reference, 'pickup_postcode' ); ?>><?php esc_html_e( 'Postcode / ZIP', 'wpcargo-shipment-rate' ); ?></option>
				<option value="pickup_state" <?php selected( $wpcsr_pickup_reference, 'pickup_state' ); ?>><?php esc_html_e( 'State / County', 'wpcargo-shipment-rate' ); ?></option>	
			</select>
			<p class="description"><?php esc_html_e( 'Note: Default reference field is Postcode / ZIP', 'wpcargo-shipment-rate' ); ?></p>
		</td>
	</tr>
	<tr>
		<th scope="row"><?php esc_html_e( 'Select Status after Order Completed', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<select id="woointeg_status" name="woointeg_status">
				<option value=""><?php esc_html_e( '--Select Status--', 'wpcargo-shipment-rate' ); ?></option>
				<?php if( !empty( $shipment_status ) ): ?>
					<?php foreach( $shipment_status as $status ): ?>
						<option value="<?php echo $status; ?>" <?php echo selected( $woointeg_status, $status ); ?>><?php echo $status; ?></option>
					<?php endforeach; ?>
				<?php endif; ?>
			</select>
		</td>
	</tr>
	<tr>
		<th scope="row"><?php esc_html_e( 'Categorize Rate by Delivery Type?', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<input type="checkbox" name="categorize_rate" value="1" <?php checked( $categorize_rate, 1 ); ?>>
			<p class="description"><?php esc_html_e( 'Rates will display according to display type.', 'wpcargo-shipment-rate' ); ?></p>
		</td>
	</tr>
	<tr>
		<th scope="row"><?php esc_html_e( 'Sort rate result by cheapest to dearest?', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<input type="checkbox" name="sort_rate_result" value="1" <?php checked( $sort_rate_result, 1 ); ?>>
			<p class="description"><?php esc_html_e( 'Rates will display according to price.', 'wpcargo-shipment-rate' ); ?></p>
		</td>
	</tr>
	<tr>
		<th scope="row"><?php esc_html_e( 'Weight/Qty. Limit ', 'wpcargo-shipment-rate' ); ?></th>
		<td>
			<input type="number" name="wpcsr_weight_limit" value="<?php echo $weight_limit; ?>" min="0">
			<p class="description"><?php esc_html_e( 'This will be the Weight Limit to be displayed in Quote rate results from the given searched weight.', 'wpcargo-shipment-rate' ); ?></p>
		</td>
	</tr>
	<tr>
		<th> <?php esc_html_e( 'Metric Shipping Factor', 'wpcargo-shipment-rate' ) ?> </th>
		<td>
			<input type="number" name="wpcsr_metric_factor" value="<?php echo $wpcsr_metric_factor; ?>">
			<p class="description"><?php esc_html_e( 'Use as divisor in volumetric weight, default is 5000 .', 'wpcargo-shipment-rate' ); ?></p>
		</td>		
	</tr>
	<tr>
		<th> <?php esc_html_e( 'Parcel protection covered information', 'wpcargo-shipment-rate' ) ?></th>
		<td>
			<textarea name="covered_information" cols="80" rows="8"><?php echo $covered_information; ?></textarea>
			<p class="description"><?php esc_html_e( 'Note: This information will display as the parcel protection covered information when submittng order. Use HTML tags for text display.', 'wpcargo-shipment-rate' ); ?></p>
		</td>		
	</tr>
</table>
<h3><?php esc_html_e( 'Prohibited & Restricted Items List', 'wpcargo-shipment-rate' ); ?></h3>
<table class="form-table">
	<tr>
		<th> <?php esc_html_e( 'Enable Prohibited & Restricted Items List confirmation?', 'wpcargo-shipment-rate' ) ?></th>
		<td>
			<input type="checkbox" name="prohibited_restricted" value="1" <?php checked( $prohibited_restricted, 1 ); ?>>
			<p class="description"><?php esc_html_e( 'Note: This will require confirmation of users to agree with the prohibited and restricted items list.', 'wpcargo-shipment-rate' ); ?></p>
		</td>		
	</tr>
	<tr>
		<th> <?php esc_html_e( 'Prohibited Items', 'wpcargo-shipment-rate' ) ?></th>
		<td>
			<textarea name="prohibited_items" cols="80" rows="8"><?php echo $prohibited_items; ?></textarea>
			<p class="description"><?php esc_html_e( 'Note: This information will display as prohibited items. Add values into a comma-separated format', 'wpcargo-shipment-rate' ); ?></p>
		</td>		
	</tr>
	<tr>
		<th> <?php esc_html_e( 'No Compensation Items', 'wpcargo-shipment-rate' ) ?></th>
		<td>
			<textarea name="no_compensation" cols="80" rows="8"><?php echo $no_compensation; ?></textarea>
			<p class="description"><?php esc_html_e( 'Note: This information will display as no compensation items. Add values into a comma-separated format', 'wpcargo-shipment-rate' ); ?></p>
		</td>		
	</tr>
</table>