</style> <script> function addSimpleOption(editRow) { var accessLevel = '<?php echo $_SESSION['admin']['access'][$lC_Template->getModule()]; ?> '; if (parseInt(accessLevel) < 3) { $.modal.alert('<?php echo $lC_Language->get('ms_error_no_access'); ?> '); return false; } var hasVariants = '<?php echo count(lC_Product_variants_Admin::getVariantGroups()) > 0 ? '1' : '0'; ?> '; if (hasVariants == 0) { $.modal.alert('<?php echo $lC_Language->get('ms_error_no_variant_groups'); ?> '); return false; } mask(); function getNewOptionsRow(id, groups, entries, selected) { var groupTitle = ''; var groupModule = ''; var groupLanguageID = '1'; $.each(groups, function(key, val) {
public static function getSimpleOptionData() { return lC_Product_variants_Admin::getVariantGroups(); }