Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelkaickaviella.meumercado.app
/
storage
/
framework
/
views
/
Editing: 78e7f906cbd78eb13667d6bdaec62bc12e510787.php
<?php if(count($combinations[0]) > 0): ?> <table class="table table-bordered"> <thead> <tr> <td class="text-center"> <label for="" class="control-label"><?php echo e(translate('Variant')); ?></label> </td> <td class="text-center"> <label for="" class="control-label"><?php echo e(translate('Variant Price')); ?></label> </td> <td class="text-center"> <label for="" class="control-label"><?php echo e(translate('Variant Stock')); ?></label> </td> </tr> </thead> <tbody> <?php $__currentLoopData = $combinations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $combination): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $str = ''; foreach ($combination as $key => $item){ if($key > 0 ){ $str .= '-'.str_replace(' ', '', $item); } else{ $str .= str_replace(' ', '', $item); } } ?> <?php if(strlen($str) > 0): ?> <tr> <td> <label for="" class="control-label"><?php echo e($str); ?></label> </td> <td> <input type="number" name="price_<?php echo e($str); ?>" value="<?php echo e($price); ?>" min="0" step="0.01" class="form-control" required> </td> <td> <input type="number" name="stock_<?php echo e($str); ?>" value="0" min="0" max="1000000" class="form-control" required> </td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php endif; ?> <?php /**PATH /home2/meumer25/api.meumercado.app/resources/views/admin-views/product/partials/_variant-combinations.blade.php ENDPATH**/ ?>
Save
Cancel