Example #1
0
    echo $form->label("pNoQty", t("Offer quantity selection"));
    ?>
                            <?php 
    echo $form->select("pNoQty", array('0' => t('Yes'), '1' => t('No, only allow one of this product in a cart')), !$p->allowQuantity());
    ?>
                        </div>
                    </div>

                </div>
                <div class="form-group">
                    <?php 
    echo $form->label("pDesc", t("Short Description"));
    ?>
<br>
                    <textarea class="redactor-content" name="pDesc" id="pDesc" style="display:none;"><?php 
    echo $p->getProductDesc();
    ?>
</textarea>
                    <script type="text/javascript">
                        $(function(){
                            $('#pDesc').redactor({
                                minHeight: '100',
                                'concrete5': {
                                    filemanager: <?php 
    echo $fp->canAccessFileManager();
    ?>
,
                                    sitemap: <?php 
    echo $tp->canAccessSitemap();
    ?>
,