disable messages on thank you page

Zafer
Zafer
Offline
0
Hello,

how can i disable the error and "invoice created" message!! The client does not need to know about this things!

regards
Responses (5)
  • Accepted Answer

    Thursday, March 05 2015, 12:10 PM - #Permalink
    0
    you can remove this on file: /components/com_invoices/helpers/helpers.php

    on line 207
    The reply is currently minimized Show
  • Accepted Answer

    Zafer
    Zafer
    Offline
    Sunday, March 08 2015, 09:16 PM - #Permalink
    0
    You mean this code?


    if ($model->store($data, $items, $payments)) {
    $msg = JText::_( '' );
    $type = "message" ;
    } else {
    $msg = JText::_( '' );
    $type = "error" ;
    }
    $mainframe->enqueueMessage($msg, $type);
    }



    I remove the jText, but nothing change. When I remove that whole code i get more error messages.

    What should i remove to stop the error messages??

    regards
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 09 2015, 10:33 AM - #Permalink
    0
    don't remove the whole code, just the line I told you.
    it's the line that says

    $msg = JText::_(.......
    The reply is currently minimized Show
  • Accepted Answer

    Zafer
    Zafer
    Offline
    Saturday, August 15 2015, 02:00 PM - #Permalink
    0
    Hello,

    no i get another how can i remove the warning message!! look at the screenshot!

    "Warning: Division by zero in /var/home/connections_at/www/mservice2015/plugins/hikashop/invoicemanager/invoicemanager.php on line 123"

    regards,
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 17 2015, 12:17 PM - #Permalink
    0
    please download version 1.1.2 of the hikashop plugin.
    The reply is currently minimized Show
Your Reply