Search
 
SCRIPT & CODE EXAMPLE
 

PHP

opencart order change status

$status_order = $this->checkOrder($this->request->get['order_id']);
        $id = $this->request->get['id'];
        $this->load->model('checkout/order');
        if ($status_order) {
            $this->model_checkout_order->addOrderHistory($id, 5);
            $this->response->redirect($this->url->link('akbarali/intend/success', '', 'SSL'));
        } else {
            $this->model_checkout_order->addOrderHistory($id, 7);
            $this->response->redirect($this->url->link('akbarali/intend/error', '', 'SSL'));
        }
Comment

PREVIOUS NEXT
Code Example
Php :: get random posts wordpress 
Php :: PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: 
Php :: array to string separated by comma php 
Php :: php get type of object 
Php :: php version 
Php :: php header redirect 
Php :: php loop through every day of the year 
Php :: CLI to create a new laravel project 
Php :: hide wordpress error 
Php :: phpstorm php file header coment 
Php :: php base64 
Php :: check if valid url php 
Php :: php generate random alphanumeric string 
Php :: print all session variables php 
Php :: php code for getting the next day 
Php :: php split string along spaces 
Php :: wordpress disallow_file_edit 
Php :: ubuntu 20.04 how to install npm 
Php :: check null in laravel blade 
Php :: wordpress enqueue style child theme 
Php :: laravel validate telephone number 
Php :: laravel response redirect 
Php :: laravel request validate audio 
Php :: remove duplicate values in array php 
Php :: laravel validation time hours minutes format 
Php :: php find word in string 
Php :: ian holm 
Php :: create laravel project old version 
Php :: laravel time format 
Php :: create laravel project using laravel installer 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =