Component menu disappears on commissions page

  • Default avatar
     10 years ago

    They are 3 menu items on the front end:
    Summary | Commissions | Payment History <-- Summary <-- Commissions ( Affiliate component appears blank ) <-- Payment History

    When I click on the commissions page the component menu disappears but it is visible for the summary and payment history.

    This seems to only happens when the affiliate has no sales from their coupon as yet. Once they have a coupon it seems to work ok.

    Is there a fix for this?

  • Your avatar
     10 years ago

    Ah yes,

    in www/components/com_awocoupon_affiliate/views/commissions/tmpl/default.php, around line 11, please remove this line
    if(empty($this->rows->rows)) return;