Component menu disappears on commissions page


  • Default avatar
    andre8    
     12 years ago
    0

    They are 3 menu items on the front end:
    Summary | Commissions | Payment History

    http://www.mydomain.com/affiliates <-- Summary
    http://www.mydomain.com/affiliates/commissions <-- Commissions ( Affiliate component appears blank )
    http://www.mydomain.com/affiliates/payments <-- 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?

    Regards.
  • Your avatar
    seyi    
     12 years ago
    0

    Ah yes,

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