Coupons Script - Plans to update and correction of errors.

Discussion in 'Coupons & Deals Script' started by olairmarcos, Jun 27, 2016.

  1. olairmarcos

    olairmarcos Member

    Hello Team Subrion
    Have any plans to update and correction of errors for the package coupons. I need to finish a job for a client.
    I appreciate the attention.
  2. Dayir_A.

    Dayir_A. Staff Member

    Hello @olairmarcos,

    Bug 2425 has been fixed.
    To fix this bug on your website, please edit the file
    /packages/coupons/index.php
    add following lines of code before
    PHP:
    $iaView->display($template);
    line at the end of the file.
    Here's the code:
    PHP:
        $iaPage = $iaCore->factory('page', iaCore::FRONT);
        if ($iaAcl->isAccessible('coupon_add', iaCore::ACTION_ADD))
        {
            $pageActions[] = array(
                'icon' => 'plus-square',
                'title' => iaLanguage::get('page_title_coupon_add'),
                'url' => $iaPage->getUrlByName('coupon_add'),
                'classes' => 'btn-success'
            );
            $iaView->set('actions', $pageActions);
        }
    Other issues will be resolved soon.

    Thanks.
    Greg likes this.
  3. olairmarcos

    olairmarcos Member

    Thank you very much. I'll be waiting for the necessary corrections in the Coupons package.

Share This Page