PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
ecommerce
/
catalog
/
option_set
<div class="form-group"> <label><?php $this->t('LBL_OPTIONS_OPTION_NAME'); ?></label> <input type="text" ng-model="data.name" maxlength="255" required/> </div> <div class="form-group"> <label><?php $this->t('LBL_OPTIONS_OPTIONS_TYPE'); ?></label> <select class="field" ng-model="data.type"> <option value="dropdown"><?php $this->t('LBL_OPTIONS_TYPE_DROPDOWN'); ?></option> <option value="radio"><?php $this->t('LBL_OPTIONS_TYPE_RADIO'); ?></option> <option value="listbox"><?php $this->t('LBL_OPTIONS_TYPE_LISTBOX'); ?></option> <option value="checkbox"><?php $this->t('LBL_OPTIONS_TYPE_CHECKBOX'); ?></option> </select> </div> <div class="form-group"> <label><?php $this->t('LBL_OPTIONS_OPTION_REQUIRED'); ?></label> <input type="checkbox" ng-model="data.required"/> </div> <div class="form-group"> <div> <button class="btn font-plus" ng-click="addOption_item(data)"><?php $this->t('LBL_OPTIONSETS_ADD_OPTION_ITEM'); ?></button> </div> <div class="grid_wrapper"> <table class="grid"> <thead> <tr> <th> <?php $this->t('LBL_OPTION_NAME'); ?> </th> <th> <?php $this->t('LBL_OPTION_PRICE'); ?> </th> <th> <?php $this->t('LBL_OPTION_DEFAULT'); ?> </th> </tr> </thead> <tbody> <tr ng-repeat="item in data.option_items"> <td><input type="text" ng-model="item.name" required /></td> <td> <table> <tr> <td> <select ng-model="item.type" required> <option value="1">%</option> <option value="2">$</option> </select> </td> <td> <select ng-model="item.price_prefix" required> <option value="+">+</option> <option value="-">-</option> </select> <input type="text" ng-model="item.value" required /> </td> </tr> </table> </td> <td> <input type="radio" ng-model="item.default" name="item_default_{{data.$$index}}" /> </td> </tr> </tbody> </table> </div> </div> </div>
[+]
..
[-] edit.php
[edit]
[-] edit_options.php
[edit]
[-] optionset_tab_edit_options.php
[edit]