Viewing file: 45f62d94a2765a5c9c57ef34db8f1b5faa633f4b.php (10.68 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$switch_id = uniqid('sw_');
$component = isset($component) ? $component : null;
?>
<div class="card dd-content <?php echo e($editorClosed ?? 'card-hide'); ?>">
<div class="card-body">
<form class="form-parent component_form silent-form" action="<?php echo e(route('builder.update', ['id' => '__id'])); ?>"
novalidate data-type="component" method="post">
<?php echo csrf_field(); ?>
<?php echo $__env->make('cms::hidden_fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="form-group row">
<label class="col-sm-3 control-label">
<dt><?php echo e(__('Title')); ?></dt>
</label>
<div class="col-sm-8">
<input type="text" class="form-control section_name inputFieldDesign"
value="<?php echo e($component ? $component->title : ''); ?>" name="title">
</div>
</div>
<hr>
<div class="form-group row">
<label class="col-md-3 control-label">
<dt><?php echo e(__('Options')); ?></dt>
</label>
<div class="col-md-8">
<div class="row parent-class m-0 p-0">
<div class="col-md-3">
<input type="hidden" name="see_more" value="0">
<div class="form-group">
<div class="switch d-inline m-r-10">
<label class="control-label"><?php echo e(__('See More')); ?></label>
<input class="seeMore" type="checkbox" value="1" id="<?php echo e($switch_id); ?>"
name="see_more"
<?php echo e($component && $component->see_more == 1 ? 'checked' : ''); ?>>
<label for="<?php echo e($switch_id); ?>" class="cr"></label>
</div>
</div>
</div>
<div class="col-md-3 moreLink <?php echo e($component && $component->see_more ? '' : 'd-none'); ?>">
<div class="form-group row ">
<label class="col-sm-12 control-label"><?php echo e(__('More Link')); ?></label>
<div class="col-sm-12">
<input type="text" class="form-control more-link inputFieldDesign"
value="<?php echo e($component ? $component->more_link : ''); ?>" name="more_link">
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-group row">
<label class="col-md-12 control-label"><?php echo e(__('Sidebar')); ?></label>
<div class="col-sm-12">
<select name="sidebar" class="form-control sidebar_options select3">
<option value="0"><?php echo e(__('No Sidebar')); ?></option>
<option
<?php echo e($component && $component->sidebar == 'slider' ? 'selected' : ''); ?>
value="slider"><?php echo e(__('Slider')); ?></option>
<option
<?php echo e($component && $component->sidebar == 'slide' ? 'selected' : ''); ?>
value="slide"><?php echo e(__('Slide')); ?></option>
<option
<?php echo e($component && $component->sidebar == 'flash_sale' ? 'selected' : ''); ?>
value="flash_sale"><?php echo e(__('Flash Sale Product')); ?></option>
</select>
</div>
</div>
</div>
<div
class="col-md-3 sidebarOption <?php echo e($component && $component->sidebar ? '' : 'd-none'); ?>">
<div class="form-group row">
<label class="col-md-12 control-label"><?php echo e(__('Position')); ?></label>
<div class="col-sm-12">
<select name="sidebar_position" class="form-control select3 sidebar-position">
<option
<?php echo e($component && $component->sidebar_position == 'left' ? 'selected' : ''); ?>
value="left"><?php echo e(__('Left')); ?></option>
<option
<?php echo e($component && $component->sidebar_position == 'right' ? 'selected' : ''); ?>
value="right"><?php echo e(__('Right')); ?></option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form-group row">
<dt class="col-sm-3 control-label"><?php echo e(__('Showcase Data')); ?></dt>
<div class="col-md-8">
<div class="row">
<div class="col-md-8">
<div class="form-group row">
<label class="col-sm-12 control-label"><?php echo e(__('Product Type')); ?></label>
<div class="col-sm-12">
<select name="showcase_type" class="form-control product-type select3">
<?php $__currentLoopData = \Modules\CMS\Service\Homepage::productTypes(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<Option
<?php echo e($component && $component->showcase_type == $key ? 'selected' : ''); ?>
value="<?php echo e($key); ?>"><?php echo e($value); ?></Option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
</div>
<div class="col-md-4">
<div class="form-group row">
<label
class="col-sm-12 control-label text-left"><?php echo e(__('Product Grid (Row X Col)')); ?></small>
</label>
<div class="col-sm-12">
<div class="form-group row product-count">
<div class="col-sm-6 pr-1">
<input type="number" class="form-control product-row inputFieldDesign"
placeholder="<?php echo e(__('Rows')); ?>"
value="<?php echo e($component ? $component->row : ''); ?>" min="1"
max="12" name="row">
</div>
<div class="col-sm-6 pl-1">
<input type="number" class="form-control product-col inputFieldDesign"
placeholder="<?php echo e(__('Columns')); ?>"
value="<?php echo e($component ? $component->column : ''); ?>" min="1"
max="12" name="column">
</div>
<input type="hidden" name="total_products"
value="<?php echo e($component ? $component->total_products : ''); ?>"
class="product-quantity">
</div>
<div class="mt-2">
<span class="badge badge-info mt-1"><?php echo e(__('Example')); ?></span>
<small
class="mt-1 <?php echo e(languageDirection() == 'ltr' ? 'ms-1' : 'me-1'); ?>"><?php echo e(__('Total products will be rows x columns')); ?></small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php echo $__env->make('cms::edit.sub.appearance', ['fields' => ['margin', 'card_height']], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Banner edit section -->
<?php echo $__env->make('cms::edit.sub.slide', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Slider edit section -->
<?php echo $__env->make('cms::edit.sub.slider', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Flash banner edit section -->
<?php echo $__env->make('cms::edit.sub.flashbanner', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Query builder -->
<?php echo $__env->make('cms::edit.sub.query', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Submit button -->
<?php echo $__env->make('cms::pieces.submit-btn', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</form>
</div>
</div>
<?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/Modules/CMS/Resources/views/edit/product-grid-with-sidebar-template-v1.blade.php ENDPATH**/ ?>
|