<ul class="child-category">
    <?php
        $prefix .= '-';
    ?>
    <?php $__currentLoopData = $subcategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <li>
            <div class="text-nowrap">
                <?php if($prefix != '-'): ?>
                    <span class="prefix"><?php echo e($prefix); ?></span>
                <?php else: ?>
                    <?php if($subcategory->icon): ?>
                        <span class="icon">
                            <img src="<?php echo e($subcategory->categoryIcon()); ?>" alt="category-icon" class="icon-img">
                        </span>
                    <?php endif; ?>
                <?php endif; ?>

                <a href="<?php echo e($subcategory->shopLink()); ?>" <?php if(Str::length(__($subcategory->name)) > 25): ?> title="<?php echo e(__($subcategory->name)); ?>" <?php endif; ?> class="category-name"><?php echo e(strLImit(__($subcategory->name), 25)); ?></a>
            </div>
            <?php echo $__env->make($activeTemplate . 'partials.category_tree', ['subcategories' => $subcategory->allSubcategories, 'prefix' => $prefix], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </li>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php /**PATH /home/creativedesignbd/ecommerce8.creativedesign.com.bd/core/resources/views/templates/basic/partials/category_tree.blade.php ENDPATH**/ ?>