Hi,
Right.
There was some untested feature in the discount edition of HikaMarket. We will proceed to some test during the week.
Sorry for the inconvenient.
You have to modify three files in order to fix it.
The first file is "components/com_hikamarket/controllers/discount.php" and replace
By
'delete' => array('delete')
After that, the file "components/com_hikamarket/views/discountmarket/tmpl/listing.php" and replace
<tr class="row<?php echo $k; ?>" id="<?php $rowId; ?>">
By
<tr class="row<?php echo $k; ?>" id="<?php echo $rowId; ?>">
And finally the file "administrator/components/com_hikamarket/classes/discount.php" and replace
if(!$app->isAdmin() && ((int)$value1 == 0 || hikamarket::acl('discount_delete') || !hikamarket::isVendorDiscount((int)$value1)))
By
if(!$app->isAdmin() && ((int)$value1 == 0 || !hikamarket::acl('discount_delete') || !hikamarket::isVendorDiscount((int)$value1)))
It should fix the different problem (the right to delete and the fix to remove the complete row line and not the case which contains the delete button.
Regards,