Hi,
Please edit the file "components/com_hikamarket/views/discountmarket/tmpl/show.php" and replace
<dd class="hikamarket_discount_type"><input type="text" size="45" name="data[discount][discount_type]" value="<?php echo $this->escape(@$this->discount->discount_type); ?>" /></dd>
By:
<dd class="hikamarket_discount_type"><?php
$options = array(
JHTML::_('select.option', 'coupon', JText::_('COUPONS')),
JHTML::_('select.option', 'discount', JText::_('DISCOUNTS')),
);
echo JHTML::_('select.genericlist', $options, 'data[discount][discount_type]', '', 'value', 'text', @$this->discount->discount_type);
?></dd>
I clearly don't know why this dropdown was no present. But in my tests, a wrong value for the type generates the same kind of error than an already existing discount code.
So it should fix the problem.
Regards,