MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/www/lhh/themes/admin/views/fragments/variants-edit.php
<?php
foreach($productVariations as $v):?>
<section class="card" id="att-<?= $v->first_variation_item ?>">
    <div class="card-body">
        <div col-lg-12>
            <h5>Tamanho de Rolo: <b><?= str_replace("_", ",", str_replace("-", " ", $v->first_variation_item)); ?></b></h5>
        </div>
        <hr>
<div class="form-group row">
    <div class="col-sm-3">
        <label class="control-label">Altura*</label>
        <input type="text" class="form-control" name="height[]" value="<?= $v->height ?>">
        <span class="help-block">Em cm</span>
    </div>
    <div class="col-sm-3">
        <label class="control-label">Largura*</label>
        <input type="text" class="form-control" name="width[]" value="<?= $v->width ?>">
        <span class="help-block">Em cm</span>
    </div>
    <div class="col-sm-3">
        <label class="control-label">Profundidade*</label>
        <input type="text" class="form-control" name="depth[]" value="<?= $v->depth ?>">
        <span class="help-block">Em cm</span>
    </div>
    <div class="col-sm-3">
        <label class="control-label">Peso*</label>
        <input type="text" class="form-control" name="weight[]" value="<?= $v->weight ?>">
        <span class="help-block">Em Kg</span>
    </div>
</div>
<div class="form-group row">
    <div class="col-sm-4">
        <label class="control-label">Preço*</label>
        <input type="text" class="form-control mask-price" name="price[]" value="<?= $v->price ?>">
        <span class="help-block">ex: 10.00</span>
    </div>
    <div class="col-sm-4">
        <label class="control-label">Preço Promo*</label>
        <input type="text" class="form-control mask-price" name="promotional_price[]" value="<?= $v->promotional_price ?>">
        <span class="help-block">R$0.00 não habilitará promoção</span>
    </div>
    <div class="col-sm-4">
        <label class="control-label">Estoque*</label>
        <input type="text" class="form-control" name="stock[]" value="<?= $v->stock ?>">
        <span class="help-block"></span>
    </div>
</div>
        <input type="hidden" name="variationId[]" value="<?= $v->id ?>">
    </div>
</section>
<?php endforeach; ?>