示例#1
0
]" value="<?php 
    echo $item->productattributeoption_code;
    ?>
" class="input-mini" />
                </td>
                <td>
					<?php 
    if ($item->parent_productattributeoption_id) {
        Citruscart::load('CitruscartTableProductAttributeOptions', 'tables.productattributeoptions');
        $opt = JTable::getInstance('ProductAttributeOptions', 'CitruscartTable');
        $opt->load($item->parent_productattributeoption_id);
        $attribute_id = $opt->productattribute_id;
    } else {
        $attribute_id = 0;
    }
    echo CitruscartSelect::productattributes($attribute_id, $row->product_id, $item->productattributeoption_id, array('class' => 'input-mini'), null, $allowAny = true, $title = 'COM_CITRUSCART_NO_PARENT');
    ?>
					<div id="parent_option_select_<?php 
    echo $item->productattributeoption_id;
    ?>
">
					<?php 
    if ($item->parent_productattributeoption_id) {
        echo CitruscartSelect::productattributeoptions($attribute_id, $item->parent_productattributeoption_id, 'parent[' . $item->productattributeoption_id . ']', array('class' => 'input-mini'));
    }
    ?>
					</div>
				</td>
        <td>
	      	<?php 
    echo CitruscartSelect::booleans($item->is_blank, 'blank[' . $item->productattributeoption_id . ']', array('class' => 'input-mini'), null, false, 'Select State', 'Yes', 'No');