Ejemplo n.º 1
0
    echo JHtml::_('select.genericlist', $addpre_select, "att_detail[attri_opt][{$k}][prefix]", 'class="span1" size="1"  ', "value", "text", $addpre_val);
    ?>
			</td>
			<td>
	<?php 
    $currencies = $params->get('addcurrency');
    $curr = explode(',', $currencies);
    ?>
	<div class='qtc_currencey_textbox input-append control-group'  >
<?php 
    $quick2cartModelAttributes = new quick2cartModelAttributes();
    foreach ($curr as $value) {
        $currvalue = array();
        $storevalue = "";
        if (isset($this->attribute_opt[$k])) {
            $currvalue = $quick2cartModelAttributes->getOption_currencyValue($this->attribute_opt[$k]->itemattributeoption_id, $value);
            $storevalue = isset($currvalue[0]['price']) ? $currvalue[0]['price'] : '';
        }
        ?>
		<div class="input-append curr_margin " >
			<input type='text' name="att_detail[attri_opt][<?php 
        echo $k;
        ?>
][currency][<?php 
        echo $value;
        ?>
]" size='1' id='' value="<?php 
        echo isset($currvalue[0]['price']) ? $currvalue[0]['price'] : '';
        ?>
" class="span1 currtext controls" Onkeyup="checkforalpha(this,46,<?php 
        echo $entered_numerics;