Indeed, that is definitely the problem.
Here is a fix:
in www/administrator/com_awocoupon/views/giftcertproduct/view.html.php, around line 34 is this
<?php
$document->addStyleSheet(com_awocoupon_ASSETS.'/css/style.css');
?>
Add this after it
<?php
$document->addStyleSheet(com_awocoupon_ASSETS.'/css/jquery-ui-1.8.10.autocomplete.css');
$document->addScript(com_awocoupon_ASSETS.'/js/jquery-1.6.4.min.js');
$document->addScript(com_awocoupon_ASSETS.'/js/jquery-ui-1.8.10.autocomplete.min.js');
$document->addScript(com_awocoupon_ASSETS.'/js/jquery.ui.autocomplete.ext.js');
$document->addScript(com_awocoupon_ASSETS.'/js/coupon.js');
$document->addScript(com_awocoupon_ASSETS.'/js/coupon_cumulative_value.js');
?>
in www/administrator/com_awocoupon/views/giftcertproduct/tmpl/default.php, around line 11 is this
<script language="javascript" type="text/javascript">
add this after it
var $j = jQuery.noConflict(); // added so jquery does not conflict with mootools
$j(document).ready(function() {
$j( "#product_id_search" )
.autocomplete({
source: function( request, response ) {
$j.getJSON(
"<?php echo JURI::base(true); ?>/index.php",
{option:"com_awocoupon", task:'ajax_elements', type:'product', tmpl:'component', no_html:1,term: request.term},
response
);
},
minLength: 2,
selectFirst: true,
delay:0,
select: function( event, ui ) { if(ui.item) document.adminForm.product_id.value = ui.item.id; }
})
.attr("parameter_id", document.adminForm.product_id.value)
.bind("empty_value", function(event){ document.adminForm.product_id.value = ''; })
.bind("check_user", function(event){ return; })
;
if( typeof Joomla != 'undefined' ){
Joomla.submitbutton = submitbutton;
}
});
Then around line 85 is this
<td><?php if(!empty($this->row->id)) echo $this->row->product_name.' ('.$this->row->product_sku.') <input type="hidden" name="product_id" value="'.$this->row->product_id.'" />';
else echo $this->lists['productlist']; ?></td>
replace with this
<td><?php if(!empty($this->row->id)) echo $this->row->product_name.' ('.$this->row->product_sku.') <input type="hidden" name="product_id" value="'.$this->row->product_id.'" />';
else echo '<input type="text" size="30" value="" id="product_id_search" class="inputbox ac_input"/>'; ?>
<input type="hidden" name="product_id" value="<?php echo $this->row->product_id; ?>" /></td>
You can then type in the product and get a dropdown, instead of trying to load everything at once.