Post by ahmedatwa » Sun May 29, 2016 7:52 pm

Hi Guys,

how to use

Code: Select all

$this->model_sale_order->getOrderProducts($this->request->get['order_id']);

Code: Select all

$this->load->model('sale/order');
was added to the top of the file
when i use it i get this

Code: Select all

Notice: Undefined index: order_id in admin\controller\localisation\vendor_orders.php on line 180
i need to fetch the order product table... any help

New member

Posts

Joined
Sat Mar 05, 2016 5:22 pm

Post by tabook » Sun May 29, 2016 9:16 pm

What is the file 'vendor_orders.php' ?
You try to fetch order data by order_id but there is no 'order_id' parameter in _GET
At least this variable should be passed via URL store/index.php?.......&order_id=2

Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions


New member

Posts

Joined
Sun Mar 01, 2015 6:27 pm
Who is online

Users browsing this forum: No registered users and 47 guests