$waitlist = $this->config->get('product_waitlist',0);
if(hikashop_level(1) && ($waitlist==2 || ($waitlist==1 && (!empty($this->element->main->product_waitlist) || !empty($this->element->product_waitlist))))){ ?>
</div><div id="hikashop_product_waitlist_main" class="hikashop_product_waitlist_main">
<?php
$empty='';
jimport('joomla.html.parameter');
$params = new JParameter($empty);
echo $this->cart->displayButton(JText::_('ADD_ME_WAITLIST'),'add_waitlist',$params,hikashop_completeLink('product&task=waitlist&cid='.$this->row->product_id),'window.location=\''.str_replace("'","\'",hikashop_completeLink('product&task=waitlist&cid='.$this->row->product_id)).'\';return false;');
}
if($this->params->get('add_to_wishlist') && $config->get('enable_wishlist', 1)){
echo '<div id="hikashop_add_wishlist">';
echo $this->cart->displayButton(JText::_('ADD_TO_WISHLIST'),'add',$this->params,$url,$wishlistAjax,'',$this->row->product_max_per_order,1,'',false);
echo '</div>';
}
}?>
</div>
<?php
This is the code I have, it looks to mirror the example.