<?php
    $value = null;
    for ($i=0; $i < $child_category->level; $i++){
        $value .= ' - ';
    }
?>
<option value="<?php echo e($child_category->id); ?>"  <?php echo e(in_array( $child_category->id ,$product_category ) ? 'selected' : ''); ?>><?php echo e($value." ".'► ' .$child_category->name); ?></option>
<?php if($child_category->categories): ?>
    <?php $__currentLoopData = $child_category->categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $childCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php echo $__env->make('product::edit_second_level_category', ['child_category' => $childCategory , 'product_category' => $product_category ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>

<?php /**PATH /home/iconshoppercom/iconshopper/Modules/Product/Resources/views/edit_child_category.blade.php ENDPATH**/ ?>