Exemplo n.º 1
0
    echo $form->label("pShippable", t("Product is Shippable"));
    ?>
                    <?php 
    echo $form->select("pShippable", array('1' => t('Yes'), '0' => t('No')), $p->isShippable());
    ?>
                </div>

                <div class="row">
                    <div class="col-xs-6">
                        <div class="form-group">
                            <?php 
    echo $form->label("pWeight", t("Weight"));
    ?>
                            <div class="input-group" >
                                <?php 
    $weight = $p->getProductWeight();
    ?>
                                <?php 
    echo $form->text('pWeight', $weight ? $weight : '0');
    ?>
                                <div class="input-group-addon"><?php 
    echo Config::get('vividstore.weightUnit');
    ?>
</div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <div class="form-group">
                                <?php