Viewing file: 9e0ef1f7f5ee245c1ba3f5b4bd073d0c852bc14e.php (1.59 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$product_col = $homeService->getColumnCount($component, $component->max);
$themeOption = \Modules\CMS\Http\Models\ThemeOption::getAll();
$layout = optional($component->page)->layout;
if (!$layout) {
$layout = \Modules\CMS\Entities\Page::firstWhere('default', '1')->layout;
}
$isEnableProduct = option($layout . '_template_product', '');
?>
<?php $__currentLoopData = $component->disp_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="c-tab <?php echo e($loop->iteration == 1 ? 'is-active' : ''); ?> mt-5">
<div class="c-tab__content">
<div class="grid grid-cols-2 md:grid-cols-<?php echo e($product_col); ?> gap-8">
<?php $__currentLoopData = $homeService->getProducts($type, $component->max); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php echo $__env->make('cms::partials.product', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<script>
iniTabs();
</script>
<?php /**PATH /home/picotech/domains/ecom1.picotech.app/public_html/Modules/CMS/Resources/views/templates/blocks/sub/product-tabs-grid-template-v1-data.blade.php ENDPATH**/ ?>
|