Post by chenpiaw » Sun Jan 28, 2018 10:30 pm

if (isset($this->request->get['filter_instock'])) {
$filter_instock = $this->request->get['filter_instock'];
} else {
$filter_instock = '';
}
$this->data['filter_instock'] = $filter_instock;
if (isset($this->request->get['filter_instock'])) {
$url .= '&filter_instock=' . $this->request->get['filter_instock'];
}


am i correct to write this source code format at 2.3.0.2 ??

Newbie

Posts

Joined
Mon Nov 02, 2015 11:49 pm

Post by thekrotek » Mon Jan 29, 2018 12:05 am

It's $data, without $this.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 11 guests