<?php if ( ! defined( 'ABSPATH' ) ) {
exit;} ?>
<div class="elex-multi-vendor-for-woocommerce-wrap elex-multi-vendor-for-woocommerce-wrap-admin overflow-hidden d-flex">



	<!-- ======================main content============ -->
	<div class="elex-multi-vendor-for-woocommerce-main ps-2 flex-1">
		<!-- ===========side panel open button========= -->
		<div class="d-flex gap-4 mb-3 align-items-center elex-multi-vendor-for-woocommerce-side-panel-open-div d-md-none">
			<!-- side panel open button -->
			<button class=" btn p-1 shadow-none fs-5   bg-white text-primary position-relative " id="elex-multi-vendor-for-woocommerce-side-panel-open-btn"><svg height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"/></svg></button>
			<h5 class="m-0 ">Products</h5>
		</div>
		<div>
			<div class=" p-3 ">
				<form method="POST" id="elex_mv_general_admin_settings_form">
					<?php wp_nonce_field( 'elex_mv_save_settings', 'elex_mv_settings_nonce' ); ?>
					<div class="row mb-3">
						<div class="col-xl-4 col-md-5">
							<h6>Vendor Onboarding Wizard</h6>
						</div>
						<div class="col-xl-2 col-md-3">
							<label class="elex-enable-disable-switch">
								<input type="checkbox" name="vendor_onboarding_wizard" <?php echo esc_attr( ( 'on' === $elex_mv_options->vendor_onboarding_wizard ) ? 'checked' : '' ); ?> />
								<div class="switch round"></div>
							</label>
						</div>
						<div class="col">
							<small class="text-secondary">Turn Onboarding Wizard On/Off For Newly Registered Vendors</small>
						</div>

					</div>

					<div class="row mb-3 align-items-center elex-multi-vendor-for-woocommerce-vendor-onboard-header-text">
						<div class="col-xl-4 col-md-5 ">
							<h6>Vendor Onboarding Header Text</h6>
							<input type="text" name="elex_mv_header_text" class="form-control w-75 border-2 border-secondary" value="<?php echo esc_attr( ( $elex_mv_options->elex_mv_header_text ) ? $elex_mv_options->elex_mv_header_text : 'Please Enter & Verify Your Details' ); ?>">
						</div>
						
						<div class="col">
							<small class="text-secondary"> Enter Header Text for Vendor Onboarding Wizard</small>
						</div>
					</div>

					<div class="row mb-3">
						<div class="col-xl-4 col-md-5">
							<h6>Approval Process for New Vendor Onboarding</h6>
						</div>
						<div class="col-xl-2 col-md-3">
							<label class="elex-enable-disable-switch">
								<input type="checkbox" name="approve_vendor_onboard" <?php echo esc_attr( ( 'on' === $elex_mv_options->approve_vendor_onboard ) ? 'checked' : '' ); ?> />
								<div class="switch round"></div>
							</label>
						</div>
						<div class="col-xl-5">
							<small class="text-secondary">Disable To Allow New Vendor Start Adding & Selling Products Instantly</small>
						</div>
					</div>

				

					<div class="row mb-3">
						<div class="col-xl-4 col-md-5">
							<h6>Allow Vendors to access wp-admin Dashboard</h6>
						</div>
						<div class="col-xl-2 col-md-3">
							<label class="elex-enable-disable-switch">
								<input type="checkbox" name="allow_admin_dashboard" <?php echo esc_attr( ( 'on' === $elex_mv_options->allow_admin_dashboard ) ? 'checked' : '' ); ?> />
								<div class="switch round"></div>
							</label>
						</div>
						<div class="col-xl-5">
							<small class="text-secondary">Vendors Will Only Be Able To Access His/Her Products/Orders/Coupons Etc.</small>
						</div>
					</div>


					<div class="row mb-3">
						<div class="col-xl-4 col-md-5">
							<h6>Show Vendor Detail On WooCommerce Store Page</h6>
						</div>
						<div class="col-xl-2 col-md-3">
							<label class="elex-enable-disable-switch">
								<input type="checkbox" name="show_vendor_details_store_page" <?php echo esc_attr( ( 'on' === $elex_mv_options->show_vendor_details_store_page ) ? 'checked' : '' ); ?> />
								<div class="switch round"></div>
							</label>
						</div>
						<div class="col-xl-5">
							<small class="text-secondary">Enable To Show Vendor Info On The Store Page</small>
						</div>
					</div>

					<div class="row mb-3">
						<div class="col-xl-4 col-md-5">
							<h6>Show Vendor Detail On WooCommerce Product Page</h6>
						</div>
						<div class="col-xl-2 col-md-3">
							<label class="elex-enable-disable-switch">
								<input type="checkbox" name="show_vendor_details_product_page" <?php echo esc_attr( ( 'on' === $elex_mv_options->show_vendor_details_product_page ) ? 'checked' : '' ); ?> />
								<div class="switch round"></div>
							</label>
						</div>
						<div class="col-xl-5">
							<small class="text-secondary">Enable To Show Vendor Info On The Product Page</small>
						</div>
					</div>

					<div class="row mb-3 align-items-center">
						<div class="col-xl-4 col-md-5 ">
							<h6>Store URL Slug</h6>
							<input type="text" name="elex_mv_store_slug" class="form-control w-75 border-2 border-secondary" value="<?php echo esc_attr( $elex_mv_options->elex_mv_store_slug ); ?>">
							<input hidden type="text" name="elex_mv_store_slug_pre" class="form-control w-75 border-2 border-secondary" value="<?php echo esc_attr( $elex_mv_options->elex_mv_store_slug ); ?>">

						</div>

						<div class="col">
							<small class="text-secondary">Vendor Store URL should go as (https://domain/[store-url-slug]/[vendor-profile])</small>
						</div>
					</div>
					<input hidden name="submit" class="form-control w-75 border-2 border-secondary" value="true">

					<div class="my-4">
						<button type="submit" name="submit" id="submit" class="btn btn-sm btn-primary elex-multi-vendor-for-woocommerce-submit-admin-settins-btn" value=""><?php echo esc_attr__( 'Save Changes', 'elex-multi-vendor-for-woocommerce' ); ?></button>
					</div>

				</form>

				</div>

			</div>

		</div>

		

		<!-----------------------------===============popup=========--------------------->


	</div>

